You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
zeus b2922ee5bc add setup.sh 3 years ago
..
img readme 3 years ago
views readme 3 years ago
LICENSE readme 3 years ago
README.md readme 3 years ago
dlib-master.zip readme 3 years ago
install-npm-opencv.sh add setup.sh 3 years ago
opencv-4.x.zip readme 3 years ago
opencv_contrib.zip readme 3 years ago
package.json readme 3 years ago
server.js readme 3 years ago

README.md

Using opencv4nodejs to stream your webcam with Express, ejs and Socket IO

Follow the steps to stream your webcam with Express and socket io

Link for Socket IO Content Delivery Network which is hosted by cloudflare Link

Step 1:

Open your terminal and git clone with the following command

git clone https://github.com/narenltk/webcam_.git

Step 2:

Since I have given all the dependencies in the package.json all you need to do is give the following command

npm install

This command actually installs all the dependencies given in the package.json file.

Step 3:

Once your done with all the steps given above all you to do is just fire up the server, with the following command and check your localhost

npm start

or

node server.js

or 

nodemon server.js

checkout "http://localhost:3030"

I have used the port 3030 and you can change the port to any number you like.

Note

You can also host the application by creating your own SSL certificate and the link for code for that is here Link

Or in any case your lazy like me you can also host the application using ngrok to host in a public server and with the following command

Linux users command:

./ngrok http 3030

windows users command:

ngrok http 3030