{"id":13905760,"url":"https://github.com/ramonus/flask-video-stream","last_synced_at":"2025-07-18T03:31:28.286Z","repository":{"id":54497525,"uuid":"185840367","full_name":"ramonus/flask-video-stream","owner":"ramonus","description":"Simple webcam video streaming python3 script using Flask.","archived":false,"fork":false,"pushed_at":"2021-02-15T13:33:28.000Z","size":60,"stargazers_count":73,"open_issues_count":0,"forks_count":30,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-25T13:38:59.472Z","etag":null,"topics":["camera","easy","flask","iot","opencv","python","python3","simple","streaming","video","videostream","videostreaming","webcam","webserver"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ramonus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-09T17:04:52.000Z","updated_at":"2024-11-11T01:15:28.000Z","dependencies_parsed_at":"2022-08-13T17:50:31.778Z","dependency_job_id":null,"html_url":"https://github.com/ramonus/flask-video-stream","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ramonus/flask-video-stream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonus%2Fflask-video-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonus%2Fflask-video-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonus%2Fflask-video-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonus%2Fflask-video-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ramonus","download_url":"https://codeload.github.com/ramonus/flask-video-stream/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramonus%2Fflask-video-stream/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265696510,"owners_count":23812780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["camera","easy","flask","iot","opencv","python","python3","simple","streaming","video","videostream","videostreaming","webcam","webserver"],"created_at":"2024-08-06T23:01:23.150Z","updated_at":"2025-07-18T03:31:28.018Z","avatar_url":"https://github.com/ramonus.png","language":"Python","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# Flask-opencv webcam streaming server #\nThis is a simple python3 script that serves a tiny Flask video webserver that allows to take photos or see real time video streaming of a connected camera/webcam controlled with opencv.\n\n## Requirements ##\nIn order to execute the script you need to install opencv3 -\u003e `import cv2` and some python modules.\n\nMove to the project folder and try:\n\n### Try #1: ###\n```\npip install -r requirements.txt\n```\n\n### Try #2: ###\n```\npip install flask opencv-python\n```\nIf it gets any error, probably with `opencv-python` try to install them manually.\n\n## Running ##\nTo start the service `cd` to project folder and type `python server.py` or `python3 server.py`\n\n*It only runs on python3*\n\nOnce done navigate to the ip of the server and access the port `5000`.\n\nhttp://localhost:5000\n\n## Configuration ##\n### Change running port ###\nThe project is default configured to run at port 5000. To change the running port you must specify the argument `-p, --port [PORT]`.\n\n*Example:*\n\n```python3 server.py -p 3000 ``` Runs on port 3000\n\n### Change camera source ###\nTo change the camera source of opencv you can go to the beginning of file `server.py` and add a `video_source=1` it can be 0,1,2... as many video inputs the device has in the declaration of object `Camera`. Or you can change the default video source on `camera.py` `Camera` class `__init__` method.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonus%2Fflask-video-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framonus%2Fflask-video-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonus%2Fflask-video-stream/lists"}