In this post i am going to explain how to capture image from webcam and upload it to node server i am using express framework for this example if you want to learn about express follow this post. I already early post same thing but in that time i am using php to handle that captured image. Now to build this thing we are using  HTML5 getUserMedia() to access our webcam from browser and capture image, Example in this post are very easy to understand.

Step 1. Setup your node express framework  {hope you know how to do that}.

Step 2. Open your routes (index.js) file and add new routes in it one for view (where user click image and upload button etc..), And second is where we handle upload image.

Step 3. Create new view for your route as given bellow captureImage.jade. In this view we are using javascript and angular together :).

Step 4. Run your app and capture image 🙂

🙂