node-webcam
node-webcam copied to clipboard
Webcam stream
Is there a way to show webcam stream from node?
Nah not with video, but there is a capturing example below with websockets. It's just taking pictures though. https://github.com/chuckfairy/node-webcam/tree/master/examples/websocket
Ideally we are going to have a C++ add-on, one thing I am discovering though is that older encoding packages are now broken in newer versions of node. I'm currently at the end of porting a jpg library. Linux will be the first for video too as I just found more examples.
What I accomplished so far is taking screenshots but the webcam seems tobe tunrinig on and off between them so it's too slow. I wonder if there's a way to leave the cammera turned on ? or am I missing something ?
hey @cancerberoSgx ,
I am facing the same issue... only turn on/off
I started to work with my own implementation that's based on puppeteer (chrome headless browser) and so is portable and works acceptably fine (40fps in my machine for video size 480x320) : https://www.npmjs.com/package/camera-capture