mozmorris / react-webcam

Webcam component
https://codepen.io/mozmorris/pen/JLZdoP
MIT License
1.65k stars 281 forks source link

onFrame event #335

Open delmohf opened 2 years ago

delmohf commented 2 years ago

Hi guys:

Would it be possible to implement onFrame event? Just like @mediapipe/camera_utils does?

MediaPipe Camera object is quite restrictive about constraints to be passed to navigator.mediaDevices.getUserMedia so I want to used this react-webcam component but onFrame event is necessary to integrate with MediaPipe solutions (Holistic, Hands, Pose, etc.).

Thanks