{"id":22273845,"url":"https://github.com/geeksloth/install-opencv-jetson-nano","last_synced_at":"2026-04-12T22:37:59.640Z","repository":{"id":180127823,"uuid":"562715452","full_name":"geeksloth/Install-OpenCV-Jetson-Nano","owner":"geeksloth","description":"A simple script to install OpenCV-GPU on Jetson Nano.","archived":false,"fork":false,"pushed_at":"2022-11-07T06:23:16.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T16:52:22.544Z","etag":null,"topics":["jetson-nano","nvidia-jetson","opencv"],"latest_commit_sha":null,"homepage":"","language":"Shell","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-07T05:11:19.000Z","updated_at":"2024-11-11T14:17:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"7570cbfe-b29b-4f6e-8e9e-c00c4578a808","html_url":"https://github.com/geeksloth/Install-OpenCV-Jetson-Nano","commit_stats":null,"previous_names":["geeksloth/install-opencv-jetson-nano"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/geeksloth/Install-OpenCV-Jetson-Nano","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2FInstall-OpenCV-Jetson-Nano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2FInstall-OpenCV-Jetson-Nano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2FInstall-OpenCV-Jetson-Nano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2FInstall-OpenCV-Jetson-Nano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geeksloth","download_url":"https://codeload.github.com/geeksloth/Install-OpenCV-Jetson-Nano/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksloth%2FInstall-OpenCV-Jetson-Nano/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273782459,"owners_count":25167134,"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-09-05T02:00:09.113Z","response_time":402,"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":["jetson-nano","nvidia-jetson","opencv"],"created_at":"2024-12-03T13:16:35.652Z","updated_at":"2026-04-12T22:37:59.592Z","avatar_url":"https://github.com/geeksloth.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install-OpenCV-Jetson-Nano\nThis script helps you to install the OpenCV-GPU 4.6.0 (and other specific version) on your Jetson Nano with a few steps. Just clone, run, and take your time!\n\n## Prerequisite\nOpenCV 4.5.2 and above needs more memory to build the sources. You are better to enlarge the swap memory by following steps\n1. ```sudo apt-get install nano dphys-swapfile \u0026\u0026 sudo reboot```  \n2. modify the ```sudo nano /sbin/dphys-swapfile``` at the line ```CONF_MAXSWAP``` to 4096\n3. do the previous bullet to the```sudo nano /etc/dphys-swapfile```\n4. check the swap allocation by ```free -m```. OpenCV 4.5.1 and below needs 4026, 4.5.2 and above needs 6074 kb\n5. if you not sure about this step, I recommend to see the ***Enlarte memory swap*** topic at https://qengineering.eu/install-opencv-4.5-on-jetson-nano.html for more clearier explanation with figures, and then comeback to do the next following steps.\n\n## Installation\nClone this repository\n```bash\ngit clone https://github.com/geeksloth/install-opencv-jetson-nano.git \u0026\u0026 cd install-opencv-jetson-nano\n```\n[optional] If you want other version rather than ```4.6.0```, change the ```OPENCV_VERSION = \"4.6.0\"``` in the script before doing the next step.\n\nAdd an execution permission, run the script, and go to bed for 3 hours\n```bash\nsudo chmod 755 OpenCV.sh \u0026\u0026 ./OpenCV.sh\n```\n\n## Optional finalization\n- reset your swap memory that you have done in the prerequisite step\n- test the installation by \n```bash\npython3 -c \"import cv2; print(cv2.getBuildInformation()\")\n```\n- cleaning steps:\n```bash\nsudo /etc/init.d/dphys-swapfile stop \u0026\u0026 sudo apt-get remove --purge dphys-swapfile \u0026\u0026 sudo rm /var/swap\n```\n```bash\nsudo rm -rf ~/opencv \u0026\u0026 sudo rm -rf ~/opencv_contrib\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeeksloth%2Finstall-opencv-jetson-nano","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeeksloth%2Finstall-opencv-jetson-nano","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeeksloth%2Finstall-opencv-jetson-nano/lists"}