Back to Opencv

Video Capture Example

doc/js_tutorials/js_assets/js_video_display.html

4.13.0400 B
Original Source

Video Capture Example

Click Start/Stop button to start or stop the camera capture.
The videoInput is a <video> element used as OpenCV.js input. The canvasOutput is a <canvas> element used as OpenCv.js output.
The code of <textarea> will be executed when video is started. You can modify the code to investigate more.

Start

| | | | | | videoInput | canvasOutput | | |