Skip to content

Conversation

@djipco
Copy link

@djipco djipco commented Sep 23, 2017

There is currently no way to control the webcam media constraints. This PR changes that by allowing you to pass a mediaConstraints property in the options parameter of tracking.track().

This would be very useful if you want, for example, to use a low-res feed for faster color tracking or if you need to pick a specific webcam out of many.

The suggested implementation is backwards-compatible.

There is currently no way to control the webcam media constraints. This PR changes that by allowing you to pass a `mediaConstraints` property in the `options` parameter of `tracking.track()`.

This would be very useful if you want, for example, to use a low-res feed for faster color tracking or if you need to pick a specific webcam out of many.

The suggested implementation is backwards-compatible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants