I am a newbie to Raspberry pi
Digital Camera - view webcam (not pi camera) and capture image on button click inside a browser - in php
I am trying to write a browser based image capture software with php which uses a webcam to stream video inside a browser and on click of a button (say CLICK) it should capture an image on to the disk.
Tried using motion start and stop and then fswebcam to capture and resume motion.
However, motion does not work inside a browser
sudo motion sudo service motion start
when the same is tried inside a python script, it works. However, calling the python inside a php code and running inside browser does not work.
Interstingly, when php is typed from terminal, it works.
THanks in advance for the help.