{"id":21802442,"url":"https://github.com/qengineering/install-opencv-jetson-nano","last_synced_at":"2025-04-04T08:08:34.859Z","repository":{"id":43912757,"uuid":"375658556","full_name":"Qengineering/Install-OpenCV-Jetson-Nano","owner":"Qengineering","description":"OpenCV installation script with CUDA and cuDNN support","archived":false,"fork":false,"pushed_at":"2025-01-12T09:32:47.000Z","size":82,"stargazers_count":164,"open_issues_count":14,"forks_count":58,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-28T07:09:35.717Z","etag":null,"topics":["cuda","cudnn","jetson-nano","jetson-xavier","opencv","opencv4"],"latest_commit_sha":null,"homepage":"https://qengineering.eu/install-opencv-on-jetson-nano.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}},"created_at":"2021-06-10T10:27:24.000Z","updated_at":"2025-03-24T22:27:13.000Z","dependencies_parsed_at":"2023-11-06T09:36:52.079Z","dependency_job_id":"48189882-0178-45e0-b474-6d755a433129","html_url":"https://github.com/Qengineering/Install-OpenCV-Jetson-Nano","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/Qengineering%2FInstall-OpenCV-Jetson-Nano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FInstall-OpenCV-Jetson-Nano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FInstall-OpenCV-Jetson-Nano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FInstall-OpenCV-Jetson-Nano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qengineering","download_url":"https://codeload.github.com/Qengineering/Install-OpenCV-Jetson-Nano/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142066,"owners_count":20890652,"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","cudnn","jetson-nano","jetson-xavier","opencv","opencv4"],"created_at":"2024-11-27T11:28:40.460Z","updated_at":"2025-04-04T08:08:34.840Z","avatar_url":"https://github.com/Qengineering.png","language":"Shell","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=CPZTM5BB3FCYL"],"categories":[],"sub_categories":[],"readme":"# Install-OpenCV-Jetson-Nano\n![output image]( https://qengineering.eu/images/LogoOpenJetsonGitHub.webp )\n\n## OpenCV installation script for a Jetson (Orin) Nano\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 with CUDA and cuDNN support for the Jetson Nano.\u003cbr/\u003e\nThe script will detect if you are working on a regular Nano, or with the new Orin Nano.\u003cbr\u003e\nFor more information see [Q-engineering - Install OpenCV Jetson Nano](https://qengineering.eu/install-opencv-4.5-on-jetson-nano.html)\n\n------------\n\n## Installing OpenCV.\nYour Nano's default memory (4 GB RAM + 2 GB swap) is not enough for a quick build.\u003cbr/\u003e\nIn this case, the compilation will be done by 1 core, which will take a long time.\u003cbr/\u003e\nIt would be best if you had more memory allocated to your Nano for the fast 4-core build.\u003cbr/\u003e\n```\n# check your total memory (RAM + swap) for a fast build. You need at least a total of:\n# OpenCV 4.10.0 -\u003e 8.5 GB!\n# OpenCV 4.9.0 -\u003e 8.5 GB!\n# OpenCV 4.8.0 -\u003e 8.5 GB!\n# OpenCV 4.7.0 -\u003e 8.5 GB!\n# OpenCV 4.6.0 -\u003e 8.5 GB!\n# OpenCV 4.5.5 -\u003e 8.5 GB!\n# OpenCV 4.5.4 -\u003e 8.5 GB!\n# OpenCV 4.5.3 -\u003e 8.5 GB!\n# OpenCV 4.5.2 -\u003e 8.5 GB!\n# OpenCV 4.5.1 -\u003e 6.5 GB\n# OpenCV 4.5.0 -\u003e 6.5 GB\n# If not, enlarge your swap space as explained in the guide, \n# or only 1 core is used for the compilation.\n$ free -m\n\n$ wget https://github.com/Qengineering/Install-OpenCV-Jetson-Nano/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- $ sudo apt-get install qt5-default\n- Set the -D WITH_QT=**ON** \\ (± line 62) in the script\u003cbr/\u003e\n \nbefore running the script on your Nano\n\n------------\n\nOpenCV will be installed in the `/usr` directory, all files will be copied to the following locations:\u003cbr/\u003e\n\n- `/usr/bin` - executable files\u003cbr/\u003e\n- `/usr/lib/aarch64-linux-gnu` - libraries (.so)\u003cbr/\u003e\n- `/usr/lib/aarch64-linux-gnu/cmake/opencv4` - cmake package\u003cbr/\u003e\n- `/usr/include/opencv4` - headers\u003cbr/\u003e\n- `/usr/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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Finstall-opencv-jetson-nano","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqengineering%2Finstall-opencv-jetson-nano","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Finstall-opencv-jetson-nano/lists"}