-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transferable? #211
Comments
ImageCapture gives you an encoded image (probably a JPEG). It's optimized for still image capture. |
@alvestrand,
I've had a use-case for many years of doing various detections from webcam video data (barcode detection, a lightweight neural network, etc). They require getting an Looking at your link, the closest would probably be:
However that may not be entirely true - I don't want true raw media, as then I'd have to deal with the various formats a webcam stream can be. At the end of the day I want an |
@dsanders11 : I have used OpenCV.JS to accomplish similar use cases, like card scanning. Please have a look at our WebCamera project. @alvestrand : The webrtc-nv-use-cases look good and I am interested mainly in the requirement -
and what developers can do with that. |
Does this sound similar to how audio processing is done in WebAudio ? Should we be then thinking about Worklets then ? I think there was something similar happening at https://w3c.github.io/mediacapture-worker/ but was discontinued. |
Would be useful if the
ImageCapture
interface was[Transferable]
, as this would allow offloading grabbing frames from the main thread. Trying to grab frames on the main thread is always going to compete with UI events and rendering code, which can interfere with the tight timings needed to try to maintain 30 FPS frame grabbing.The text was updated successfully, but these errors were encountered: