{"id":21017986,"url":"https://github.com/sthysel/opencv-lab","last_synced_at":"2026-05-21T05:03:34.484Z","repository":{"id":138851013,"uuid":"169247008","full_name":"sthysel/opencv-lab","owner":"sthysel","description":"Playing with OpenCV 4","archived":false,"fork":false,"pushed_at":"2019-02-05T14:30:53.000Z","size":1793,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T04:59:45.929Z","etag":null,"topics":["graphics","lab","opencv","play"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sthysel.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-05T13:39:04.000Z","updated_at":"2019-02-05T22:27:30.000Z","dependencies_parsed_at":"2024-03-28T02:45:20.543Z","dependency_job_id":null,"html_url":"https://github.com/sthysel/opencv-lab","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/sthysel%2Fopencv-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sthysel%2Fopencv-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sthysel%2Fopencv-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sthysel%2Fopencv-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sthysel","download_url":"https://codeload.github.com/sthysel/opencv-lab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243447641,"owners_count":20292452,"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":["graphics","lab","opencv","play"],"created_at":"2024-11-19T10:22:59.763Z","updated_at":"2026-05-21T05:03:29.447Z","avatar_url":"https://github.com/sthysel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playing with OpenCV\n\n![Peacocks](./pics/grab.jpg)\n\n# Install OpenCV 4.0.1\n\n\nBuild from source to switch things on.\n\nGet sources and prep build folders\n\n```\n$ mkdir ~/opencv\n$ git clone -b 4.0.1 https://github.com/opencv/opencv.git opencv\n$ cd opencv\n$ git clone https://github.com/opencv/opencv_contrib.git opencv_contrib\n$ mkdir release\n$ cd release\n```\n\nmake a virtualenv and drop lib in there\n\n```\n$ mkvirtualenv opencv-play\n$ export VENV=~/.virtualenvs/opencv-play\n$ export ARCH_BIN=\n$ cmake -DCMAKE_INSTALL_PREFIX=${VENV} \\\n      -DCPYTHON_EXECUTABLE=${VENV}/bin/python \\\n      -DCPYTHON_PACKAGES_PATH=${VENV}/lib/python3.7/site-packages \\\n      -DCMAKE_BUILD_TYPE=RELEASE \\\n      -DINSTALL_PYTHON_EXAMPLES=ON \\\n      -DINSTALL_C_EXAMPLES=OFF \\\n      -DOPENCV_EXTRA_MODULES_PATH=~/opencv/opencv_contrib/modules \\\n      -DBUILD_PYTHON_SUPPORT=ON \\\n      -DWITH_XINE=ON -D WITH_OPENGL=ON \\\n      -DWITH_TBB=ON \\\n      -DWITH_EIGEN=ON \\\n      -DBUILD_EXAMPLES=ON \\\n      -DBUILD_NEW_PYTHON_SUPPORT=ON \\\n      -DWITH_V4L=ON \\\n      -DBUILD_EXAMPLES=ON \\\n      -DWITH_CUDA=ON \\\n      -DCUDA_ARCH_BIN=${ARCH_BIN} \\\n      -DCUDA_ARCH_PTX=\"\" \\\n      -DCUDA_FAST_MATH=ON \\\n      -DWITH_CUBLAS=ON \\ \n      ../\n```\n\nBuild quicker\n\n```\n$ make -j4\n$ make install\n```\n\n# Resources\n\n - https://docs.opencv.org/4.0.1/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsthysel%2Fopencv-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsthysel%2Fopencv-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsthysel%2Fopencv-lab/lists"}