• Stars
    star
    144
  • Rank 254,622 (Top 6 %)
  • Language
    C++
  • License
    MIT License
  • Created almost 10 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Access and stream web camera in nodejs using opencv and websockets.

Node Camera

Access and stream web cam in nodejs using opencv and web sockets.

Building

  • It required opencv headers and library to build and run.
  • Modify include_dirs for headers path and library_dirs for library path in binding.gyp according to your opencv installation.
  • Then npm install

Running

npm start -- [-open] [-wsport websocketPort] [-webport webserverport] [-res widthxheight]
Option Description
-open Open streaming url on startup
-wsport Web socket port for streaming media
-webport Web server port
-res Resolution for preview image
-input Input source. ( eg. ip camera url)