{"id":22273835,"url":"https://github.com/geeksloth/install_opencv_gpu_batch_scripts","last_synced_at":"2025-03-25T16:42:53.737Z","repository":{"id":183446263,"uuid":"670160064","full_name":"geeksloth/install_opencv_gpu_batch_scripts","owner":"geeksloth","description":"An easier way to install OpenCV-GPU on Windows by using the Batch scripts and some tools","archived":false,"fork":false,"pushed_at":"2023-07-24T13:21:28.000Z","size":269,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T14:48:43.277Z","etag":null,"topics":["batch-script","opencv","opencv-gpu"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","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/geeksloth.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}},"created_at":"2023-07-24T12:27:59.000Z","updated_at":"2024-11-11T14:11:55.000Z","dependencies_parsed_at":"2023-07-24T15:02:52.377Z","dependency_job_id":null,"html_url":"https://github.com/geeksloth/install_opencv_gpu_batch_scripts","commit_stats":null,"previous_names":["geeksloth/install_opencv_gpu_batch_scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2Finstall_opencv_gpu_batch_scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2Finstall_opencv_gpu_batch_scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2Finstall_opencv_gpu_batch_scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2Finstall_opencv_gpu_batch_scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geeksloth","download_url":"https://codeload.github.com/geeksloth/install_opencv_gpu_batch_scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245502368,"owners_count":20625959,"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":["batch-script","opencv","opencv-gpu"],"created_at":"2024-12-03T13:16:31.084Z","updated_at":"2025-03-25T16:42:53.710Z","avatar_url":"https://github.com/geeksloth.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# install_opencv_gpu_batch_scripts\nAn easier way to install OpenCV-GPU on Windows by using the Batch scripts and some tools\n\nThis repo's readme is not complete yet. BTW, the more explained methods are described by Jordan Benge's post:\nhttps://jordanbenge.medium.com/anaconda3-opencv-with-cuda-gpu-support-for-windows-10-e038569e228\n\nThis is another more explanation related to this guideline:\nhttps://medium.com/analytics-vidhya/build-opencv-from-source-with-cuda-for-gpu-access-on-windows-5cd0ce2b9b37\n\n## Usage and Testing\n```code\nset PATH=\"C:\\\\OpenCV\\\\opencv-4.6.0\\\\build\\\\install\\\\x64\\\\vc17\\\\bin\";%PATH%\nset PATH=\"C:\\\\Program Files\\\\NVIDIA GPU Computing Toolkit\\\\CUDA\\\\v11.8\\\\bin\";%PATH%\n\nimport os\nos.add_dll_directory(r'C:\\\\OpenCV\\\\opencv-4.6.0\\\\build\\\\install\\\\x64\\\\vc17\\\\bin')\nos.add_dll_directory(r'C:\\\\Program Files\\\\NVIDIA GPU Computing Toolkit\\\\CUDA\\\\v11.8\\\\bin')\n\nimport cv2\nprint(cv2.cuda.getCudaEnabledDeviceCount())\n\nimport torch\nprint(torch.cuda.is_available())\nprint(torch.cuda.get_device_name())\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeeksloth%2Finstall_opencv_gpu_batch_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeeksloth%2Finstall_opencv_gpu_batch_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeeksloth%2Finstall_opencv_gpu_batch_scripts/lists"}