Skip to content

polito-hci-2020/camera-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

camera-sample

A sample project to explore the camera feature.

API(s)

  • MediaStream

Instructions

  • If it is your first time running this example, you are asked to grant/deny the camera permission to the browser. Screenshot 1
  • If you click Allow, the image recorded by the webcam/front camera will appear in the screen.
  • If you click Block, an error alert will pop up.
  • You can still make the camera permission popup appear by clicking on the Info button near the page URL and setting that permission properly. To apply the update, reload the page. Screenshot 2
  • Click the camera button to take a picture or choose one from the file explorer/camera roll, and it will be displayed.

Notes

  • The project has been tested on
    • Google Chrome 87 (both Desktop and mobile)
    • Mozilla Firefox 83 (both Desktop and mobile)

Documentation and useful resources

About

A sample project to explore the camera feature.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published