{"id":13618161,"url":"https://github.com/Valian/docker-python-opencv-ffmpeg","last_synced_at":"2025-04-14T10:31:08.676Z","repository":{"id":50355066,"uuid":"93267340","full_name":"Valian/docker-python-opencv-ffmpeg","owner":"Valian","description":"Repository for clean Dockerfile containing ffmpeg, opencv3 and python2/3, based on Ubuntu","archived":false,"fork":false,"pushed_at":"2021-04-17T23:13:57.000Z","size":11,"stargazers_count":71,"open_issues_count":0,"forks_count":57,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-08T03:36:36.816Z","etag":null,"topics":["cuda-support","docker","docker-images","ffmpeg","opencv","python"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/valian/docker-python-opencv-ffmpeg/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Valian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-03T18:38:57.000Z","updated_at":"2024-07-14T03:39:07.000Z","dependencies_parsed_at":"2022-08-31T12:41:38.769Z","dependency_job_id":null,"html_url":"https://github.com/Valian/docker-python-opencv-ffmpeg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valian%2Fdocker-python-opencv-ffmpeg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valian%2Fdocker-python-opencv-ffmpeg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valian%2Fdocker-python-opencv-ffmpeg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valian%2Fdocker-python-opencv-ffmpeg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Valian","download_url":"https://codeload.github.com/Valian/docker-python-opencv-ffmpeg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248862597,"owners_count":21173837,"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":["cuda-support","docker","docker-images","ffmpeg","opencv","python"],"created_at":"2024-08-01T20:01:55.492Z","updated_at":"2025-04-14T10:31:08.199Z","avatar_url":"https://github.com/Valian.png","language":null,"funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# Docker: python-opencv-ffmpeg(-cuda)\n\nRepository for clean Dockerfile containing ffmpeg, opencv3 and python2/3, based on Ubuntu 16.04 LTS.\n\n## Tags\n\n* `:py2` Python 2.7, OpenCV 3.4.2, ffmpeg  \n* `:py3` Python 3.5, OpenCV 3.4.2, ffmpeg  \n* `:py2-cuda` Python 2.7, OpenCV 3.4.2, ffmpeg with CUDA 8.0 support  \n* `:py3-cuda` Python 3.5, OpenCV 3.4.2, ffmpeg with CUDA 8.0 support  \n\n\n## Build\n\nFirst you need to install docker on your local computer, see following [tutorial](https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository). Note, for running the docker properly you have be logged as superuser otherwise you will face many partial issues which sometimes does not make much sense.\n\nYou can build it on your own, note it takes lots of time, be prepared.\n``` bash\ngit clone \u003cgit-repository\u003e\ncd docker_python-opencv-ffmpeg\ndocker image build -t valian/docker-python-opencv-ffmpeg -f Dockerfile-py2 .\n```\nTo build other versions, select different Dockerfile.\n\nOther option is using already build image from DockerHub which is significantly faster. it basically download the already build image.\n``` bash\ndocker pull valian/docker-python-opencv-ffmpeg\n```\n\n## Usage\n\nImage has OpenCV3, python2.7/3.5 and ffmpeg ready to use. Example:\n\n``` bash\ndocker run --rm -it -v $PWD:/srv valian/docker-python-opencv-ffmpeg\n\u003e\u003e\u003e import cv2; cv2.VideoCapture(0).read()\n# truncated for transparency\n(True, array([[[ 0, 43, 37], ...]], dtype=uint8))\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FValian%2Fdocker-python-opencv-ffmpeg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FValian%2Fdocker-python-opencv-ffmpeg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FValian%2Fdocker-python-opencv-ffmpeg/lists"}