Reference implementation in C/C++. Tests that a compatible camera is connected, streams 10 seconds of video (image frames), and displays them in a window on the screen.
This is the libuvc
documentation example, with the on-screen display enabled. It uses the locally built dependencies used by this package, but builds them in this directory.
- Libraries:
opencv
for displaying the stream of images.
Using the package dependency cmake-js
instead of cmake
to share build default values with the package build.
npx cmake-js compile
See the terminal for some debugging output, and the newly opened window for 10 seconds of streaming video from the camera.
./build/stream-display
node-libuvc
Copyright © 2020, 2021 Joel Purra. Released under GNU Lesser General Public License version 3.0 (LGPL-3.0). Your donations are appreciated!