Access and stream web camera in nodejs using opencv and websockets.
Access and stream web cam in nodejs using opencv and web sockets.
include_dirsfor headers path and
library_dirsfor library path in
binding.gypaccording to your opencv installation.
npm install
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) |