Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slevin48/cam-app
Access camera in a Web App
https://github.com/slevin48/cam-app
flask javascript python streamlit
Last synced: about 1 month ago
JSON representation
Access camera in a Web App
- Host: GitHub
- URL: https://github.com/slevin48/cam-app
- Owner: slevin48
- Created: 2021-01-10T19:47:04.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-11T00:29:28.000Z (about 2 years ago)
- Last Synced: 2024-11-10T04:37:17.588Z (3 months ago)
- Topics: flask, javascript, python, streamlit
- Language: HTML
- Homepage:
- Size: 1.69 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cam App
Flask version https://cam48.herokuapp.com/
Run Offling Flask version 2:
```
export FLASK_APP=app.py
export FLASK_ENV=development
flask run
```Run Offline Streamlit version 1:
```
cd streamlit-app
streamlit run webcam.py
```![streamlit](streamlit-app/streamlit-cam-phone.png)
## Inspiration:
### Streamlit:
- https://github.com/lukexyz/iris
- https://discuss.streamlit.io/t/webcam-html-component/6366
- https://github.com/lukexyz/iris/blob/main/webcam.py
- https://discuss.streamlit.io/t/possible-to-access-webcam-realtime-in-a-streamlit-app/947/5### Flask:
- https://dev.to/carlosemv/dockerizing-a-flask-based-web-camera-application-469m
- https://github.com/carlosemv/camera-app
- https://www.flaskpwa.com/#_hardwareCamera### JavaScript:
- https://blog.prototypr.io/make-a-camera-web-app-tutorial-part-1-ec284af8dddf
- https://github.com/abenjamin765/camera-app/tree/master/part-2### getUserMedia()/imageCapture():
- https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Taking_still_photos
- https://github.com/mdn/samples-server/blob/master/s/webrtc-capturestill/capture.js
- https://simpl.info/getusermedia/sources/
- https://github.com/samdutton/simpl/tree/gh-pages/getusermedia/sources
- https://simpl.info/imagecapture/
- https://github.com/samdutton/simpl/tree/gh-pages/imagecapture
- https://stackoverflow.com/questions/46882550/how-to-save-a-jpg-image-video-captured-with-webcam-in-the-local-hard-drive-with
- http://danml.com/download.html### Webcam-easy:
- https://nodei.co/npm/webcam-easy/
- https://bensonruan.com/how-to-access-webcam-and-take-photo-with-javascript/
- https://medium.com/swlh/how-to-access-webcam-and-take-picture-with-javascript-b9116a983d78## Deployment on Heroku:
- https://realpython.com/flask-by-example-part-1-project-setup/