Open saket13 opened 4 years ago
Hi @saket13 - sorry for the slow reply. Did you get to the bottom of this?
If not, happy to help, but it would be useful if you could share your code/file structure/etc to help me debug.
Project Structure:
images folder python file web (Folder for frontend)
HTML code including Webcam JS module -- https://gist.github.com/saket13/e346b222766102d70f7f23f2ed6aabf2
Describe the problem I have used webcam.js in the html's JS section of the 'web' directory which takes photos from webcam and save it in the assets folder..This is working perfectly fine in the localhost mode as expected (in browser) but when used in the app mode (using --app in cmd line) , webcam.js is unable to work i.e it never starts on clicking the button....Why the JS module 'webcam.js(https://github.com/jhuckaby/webcamjs)' is not working in APP mode ??
Desktop (please complete the following information):