{"id":14977716,"url":"https://github.com/quickbirdeng/opencv-android","last_synced_at":"2025-04-04T20:15:46.201Z","repository":{"id":39458848,"uuid":"133543779","full_name":"QuickBirdEng/opencv-android","owner":"QuickBirdEng","description":"Easy way to integrate OpenCv into your Android project via Gradle","archived":false,"fork":false,"pushed_at":"2022-05-10T12:10:49.000Z","size":46,"stargazers_count":694,"open_issues_count":12,"forks_count":126,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-04T20:15:28.522Z","etag":null,"topics":["android","java","opencv"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QuickBirdEng.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}},"created_at":"2018-05-15T16:27:40.000Z","updated_at":"2025-04-03T05:58:57.000Z","dependencies_parsed_at":"2022-07-04T08:34:46.045Z","dependency_job_id":null,"html_url":"https://github.com/QuickBirdEng/opencv-android","commit_stats":null,"previous_names":["quickbirdstudios/opencv-android"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickBirdEng%2Fopencv-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickBirdEng%2Fopencv-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickBirdEng%2Fopencv-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickBirdEng%2Fopencv-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuickBirdEng","download_url":"https://codeload.github.com/QuickBirdEng/opencv-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242681,"owners_count":20907134,"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":["android","java","opencv"],"created_at":"2024-09-24T13:56:11.565Z","updated_at":"2025-04-04T20:15:46.183Z","avatar_url":"https://github.com/QuickBirdEng.png","language":"Kotlin","readme":"# OpenCV Android\n\nEasy way to integrate OpenCV into your Android project via Gradle.  \n**No NDK dependency needed** - just include this library and you are good to go.  \n\n## 🚨 Breaking Changes\n* OpenCV Contribution's package naming has been changed to make it as per the naming guideline.\n  * **Old**: ```opencv:VERSION-contrib```\n  * **New**: ```opencv-contrib:VERSION```\n\n### 🚀 Releases\n  Each versions is available in only OpenCV as well as OpenCV with contributions.\n\n  ##### 4.x versions\n  * **4.5.3.0** ‼️\n  * 4.5.2\n  * 4.5.1\n  * 4.5.0\n  * 4.4.0\n\n  ‼️ Please use `4.5.3.0` instead of `4.5.3`. They are both the same versions, however, `4.5.3` has some runtime issues on some of the Android versions while `4.5.3.0` works fine.\n\n  ##### 3.4.x versions\n  * **3.4.15**\n  * 3.4.14\n  * 3.4.13\n  * 3.4.12\n  * 3.4.5\n  * 3.4.1\n\n## 👩‍💻 How to Integrate 🧑‍💻\n* Add `mavenCentral` to your project's `build.gradle` file's **repositories** section if not already present.\n```groovy\nrepositories {\n  mavenCentral()\n}\n```\n\n* Add either the normal or contributions version in the **dependencies** of your module.\n\n``` groovy {\n  // opencv\n  implementation `com.quickbirdstudios:opencv:VERSION`\n\n  // opencv with contributions\n  implementation `com.quickbirdstudios:opencv-contrib:VERSION`\n}\n```\n* Initialize OpenCV before using it.\n\n```kotlin\nif (!OpenCVLoader.initDebug())\n   Log.e(\"OpenCV\", \"Unable to load OpenCV!\");\nelse\n   Log.d(\"OpenCV\", \"OpenCV loaded Successfully!\");\n```\n\n## ‼️ Want to use OpenCV as source Dependency?\n* Checkout the Repository. There will be an empty project with placeholder for the opencv source.\n* Download the source from your desired release.\n* Unzip the folder. The name of the folder will be `opencv_VERSION` or `opencv-contrib_VERSION`. Copy this folder to the project and keep it at the same level as the `app` folder.\n* Open `settings.gradle` and replace the VERSION with the OpenCV version you have downloaded.\n```groovy\n// Remove/comment out the one you aren't going to need\ninclude \":opencv_VERSION\"\ninclude \":opencv-contrib_VERSION\"\n```\n* Open app/build.gradle and replace the VERSION with the OpenCV version you have downloaded\n\n```groovy\n// Remove/comment out the one you aren't going to need\nimplementation(project(\":opencv_VERSION\"))\nimplementation(project(\":opencv-contrib_VERSION\"))\n```\n* Sync and run the project. You should see the screen with the text `OpenCV Loaded Successfully`.\n\n## 🛠 None of the released versions meet your requirements?\nIn progress 👷‍\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquickbirdeng%2Fopencv-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquickbirdeng%2Fopencv-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquickbirdeng%2Fopencv-android/lists"}