node-webcam icon indicating copy to clipboard operation
node-webcam copied to clipboard

Webcam stream

Open valereds opened this issue 6 years ago • 4 comments

Is there a way to show webcam stream from node?

valereds avatar Sep 19 '18 07:09 valereds

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.

chuckfairy avatar Oct 05 '18 02:10 chuckfairy

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 ?

cancerberoSgx avatar Sep 23 '19 00:09 cancerberoSgx

hey @cancerberoSgx ,

I am facing the same issue... only turn on/off

igorms-pro avatar Sep 26 '19 09:09 igorms-pro

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

cancerberoSgx avatar Sep 26 '19 23:09 cancerberoSgx