Lab #32 Webcam Fun
Lab #32 is titled, "Webcam Fun". Within this lab, I utilized the webcam on a webpage that you can use to take pictures using it. If you have allowed access to your webcam, you will be able to see yourself and take pictures by clicking the "Take Photo" button.
As you can see in the screenshot above, I took many pictures of nothing because my webcam wasn't enabled on my laptop. The functioning of this webpage lies within the JavaScript. First off, my HTML consists of a div layout for where the photos will be displayed as well as the controls to take the picture. In the JavaScript, it will obtain the video feed broadcasting in your webcam and then create a canvas of that moment, resulting in a picture of you the moment you click the "take photo" button.
Web designers would find this skill useful in case they are making a web app that would allow users an alternative to their default camera app. This can also be used to make modifications that default cameras can't do, like change in hue, etc.
As you can see in the screenshot above, I took many pictures of nothing because my webcam wasn't enabled on my laptop. The functioning of this webpage lies within the JavaScript. First off, my HTML consists of a div layout for where the photos will be displayed as well as the controls to take the picture. In the JavaScript, it will obtain the video feed broadcasting in your webcam and then create a canvas of that moment, resulting in a picture of you the moment you click the "take photo" button.
Web designers would find this skill useful in case they are making a web app that would allow users an alternative to their default camera app. This can also be used to make modifications that default cameras can't do, like change in hue, etc.

Comments
Post a Comment