{"id":21120753,"url":"https://github.com/ppogg/ncnn-android-v5lite","last_synced_at":"2025-06-20T23:09:02.396Z","repository":{"id":44440853,"uuid":"453710254","full_name":"ppogg/ncnn-android-v5lite","owner":"ppogg","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-31T15:14:05.000Z","size":31673,"stargazers_count":17,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T23:08:19.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/ppogg.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}},"created_at":"2022-01-30T14:57:04.000Z","updated_at":"2024-11-11T03:21:57.000Z","dependencies_parsed_at":"2022-07-14T20:17:17.765Z","dependency_job_id":null,"html_url":"https://github.com/ppogg/ncnn-android-v5lite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ppogg/ncnn-android-v5lite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppogg%2Fncnn-android-v5lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppogg%2Fncnn-android-v5lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppogg%2Fncnn-android-v5lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppogg%2Fncnn-android-v5lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppogg","download_url":"https://codeload.github.com/ppogg/ncnn-android-v5lite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppogg%2Fncnn-android-v5lite/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261032115,"owners_count":23100051,"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":[],"created_at":"2024-11-20T03:18:18.767Z","updated_at":"2025-06-20T23:08:57.383Z","avatar_url":"https://github.com/ppogg.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"The yolov5-lite object detection\n\nThis is a sample ncnn android project, it depends on ncnn library and opencv\n\nhttps://github.com/Tencent/ncnn\n\nhttps://github.com/nihui/opencv-mobile\n\n## model_zoo\n\nhttps://github.com/ppogg/ncnn-android-v5lite/tree/master/app/src/main/assets\n\n\n## how to build and run\n### step1\nhttps://github.com/Tencent/ncnn/releases\n\n* Download ncnn-YYYYMMDD-android-vulkan.zip or build ncnn for android yourself\n* Extract ncnn-YYYYMMDD-android-vulkan.zip into **app/src/main/jni** and change the **ncnn_DIR** path to yours in **app/src/main/jni/CMakeLists.txt**\n\n### step2\nhttps://github.com/nihui/opencv-mobile\n\n* Download opencv-mobile-XYZ-android.zip\n* Extract opencv-mobile-XYZ-android.zip into **app/src/main/jni** and change the **OpenCV_DIR** path to yours in **app/src/main/jni/CMakeLists.txt**\n\n### step3\n```\ncd ncnn_Android/ncnn-android-yolov5/app/src/main/assets\nwget all the *.param and *.bin\n```\n\n### step4\n* Open this project with Android Studio, build it and enjoy!\n\n## some notes\n* Android ndk camera is used for best efficiency\n* Crash may happen on very old devices for lacking HAL3 camera interface\n* All models are manually modified to accept dynamic input shape\n* Most small models run slower on GPU than on CPU, this is common\n* FPS may be lower in dark environment because of longer camera exposure time\n\n## screenshot\n\u003cimg src=\"https://user-images.githubusercontent.com/82716366/151705519-de3ad1f1-e297-4125-989a-04e49dcf2876.jpg\" width=\"600\"/\u003e\u003cbr/\u003e\n\n\u003cimg src=\"https://pic1.zhimg.com/80/v2-c013df3638fd41d10103ea259b18e588_720w.jpg\" width=\"300\"/\u003e\u003cbr/\u003e\n\n## reference  \nhttps://github.com/nihui/ncnn-android-yolov5\n\nhttps://github.com/FeiGeChuanShu/ncnn-android-yolox  \n\nhttps://github.com/ppogg/YOLOv5-Lite\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppogg%2Fncnn-android-v5lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppogg%2Fncnn-android-v5lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppogg%2Fncnn-android-v5lite/lists"}