{"id":15172775,"url":"https://github.com/qengineering/install-opencv-raspberry-pi-64-bits","last_synced_at":"2025-10-13T08:40:49.977Z","repository":{"id":112946402,"uuid":"375978376","full_name":"Qengineering/Install-OpenCV-Raspberry-Pi-64-bits","owner":"Qengineering","description":"OpenCV 4.11 installation scripts for Raspberry Pi with 64-bit OS","archived":false,"fork":false,"pushed_at":"2025-07-24T09:02:13.000Z","size":72,"stargazers_count":65,"open_issues_count":1,"forks_count":21,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-29T05:50:10.751Z","etag":null,"topics":["opencv","opencv-45","raspberry-pi","raspberry-pi-4","raspberry-pi-64-os"],"latest_commit_sha":null,"homepage":"https://qengineering.eu/install-opencv-4.5-on-raspberry-64-os.html","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Qengineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2021-06-11T09:50:05.000Z","updated_at":"2025-07-24T09:02:17.000Z","dependencies_parsed_at":"2024-01-28T12:52:37.661Z","dependency_job_id":"4b2d638f-069e-48ac-b285-823e0dac4f28","html_url":"https://github.com/Qengineering/Install-OpenCV-Raspberry-Pi-64-bits","commit_stats":{"total_commits":91,"total_committers":2,"mean_commits":45.5,"dds":0.01098901098901095,"last_synced_commit":"e7923de74433e5ab80e6e7bc3798c2496b2ef8f9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Qengineering/Install-OpenCV-Raspberry-Pi-64-bits","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FInstall-OpenCV-Raspberry-Pi-64-bits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FInstall-OpenCV-Raspberry-Pi-64-bits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FInstall-OpenCV-Raspberry-Pi-64-bits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FInstall-OpenCV-Raspberry-Pi-64-bits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qengineering","download_url":"https://codeload.github.com/Qengineering/Install-OpenCV-Raspberry-Pi-64-bits/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FInstall-OpenCV-Raspberry-Pi-64-bits/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014324,"owners_count":26085492,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["opencv","opencv-45","raspberry-pi","raspberry-pi-4","raspberry-pi-64-os"],"created_at":"2024-09-27T10:04:19.919Z","updated_at":"2025-10-13T08:40:49.947Z","avatar_url":"https://github.com/Qengineering.png","language":"Shell","readme":"# Install-OpenCV-Raspberry-Pi-64-bits\n![output image]( https://qengineering.eu/images/LogoOpenRaspberryGitHub.webp )\n\n## OpenCV installation script for a Raspberry Pi with 64-bits OS (Buster, Bullseye, Bookworm)\n\n[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\u003cbr/\u003e\n\nThis is the full setup of OpenCV for the Raspberry Pi 64-bits.\u003cbr/\u003e\nFor more information see [Q-engineering - Install OpenCV Raspberry Pi](https://qengineering.eu/install-opencv-4.5-on-raspberry-64-os.html)\n\n------------\n\n## Installing OpenCV.\nYou must have allocated enough memory, otherwise the compilation, unfortunately, crashes after 2 hours at 100%\n```\n# check your total memory (RAM + swap) first. You need at least a total of:\n# OpenCV 4.13.0 -\u003e 6.5 GB!\n# OpenCV 4.12.0 -\u003e 6.5 GB!\n# OpenCV 4.11.0 -\u003e 6.5 GB!\n# OpenCV 4.10.0 -\u003e 6.5 GB!\n# OpenCV 4.9.0 -\u003e 6.5 GB!\n# OpenCV 4.8.0 -\u003e 6.5 GB!\n# OpenCV 4.7.0 -\u003e 6.5 GB!\n# OpenCV 4.6.0 -\u003e 6.5 GB!\n# OpenCV 4.5.5 -\u003e 6.5 GB!\n# OpenCV 4.5.0 -\u003e 5.5 GB\n# if not, enlarge your swap space as explained in the guide\n$ free -m\n\n$ wget https://github.com/Qengineering/Install-OpenCV-Raspberry-Pi-64-bits/raw/main/OpenCV-4-10-0.sh\n$ sudo chmod 755 ./OpenCV-4-10-0.sh\n$ ./OpenCV-4-10-0.sh\n```\n:point_right: Don't forget to reset your swap memory afterwards.\n\n------------\n\nIf you want to beautify OpenCV with the Qt5 GUI you need to\n```\n# Bookworm\n- $ sudo apt-get install qtbase5-dev\n# Other OS\n- $ sudo apt-get install qt5-default\n\n# in the cmake list\n- Set the -D WITH_QT=**ON** \\ (± line 54) in the script\n```\nbefore running the script on your RPi\n\n------------\n\nOpenCV will be installed to the `/usr/local` directory, all files will be copied to following locations:\u003cbr/\u003e\n\n- `/usr/local/bin` - executable files\u003cbr/\u003e\n- `/usr/local/lib` - libraries (.so)\u003cbr/\u003e\n- `/usr/local/lib/cmake/opencv4` - cmake package\u003cbr/\u003e\n- `/usr/local/include/opencv4` - headers\u003cbr/\u003e\n- `/usr/local/share/opencv4` - other files (e.g. trained cascades in XML format)\u003cbr/\u003e\n\n------------\n\n[![paypal](https://qengineering.eu/images/TipJarSmall4.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=CPZTM5BB3FCYL) \n\n","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=CPZTM5BB3FCYL"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Finstall-opencv-raspberry-pi-64-bits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqengineering%2Finstall-opencv-raspberry-pi-64-bits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Finstall-opencv-raspberry-pi-64-bits/lists"}