{"id":20748297,"url":"https://github.com/mtrajk/real-time-coin-detection","last_synced_at":"2026-04-13T18:02:19.150Z","repository":{"id":80896175,"uuid":"47408797","full_name":"MTrajK/real-time-coin-detection","owner":"MTrajK","description":"Image Processing Project","archived":false,"fork":false,"pushed_at":"2019-09-27T14:11:15.000Z","size":6537,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T19:42:11.167Z","etag":null,"topics":["android","image-processing","opencv"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MTrajK.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":"2015-12-04T14:30:37.000Z","updated_at":"2023-01-21T19:51:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"81fa9183-46e6-42c9-80d9-c482e9bb672a","html_url":"https://github.com/MTrajK/real-time-coin-detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MTrajK/real-time-coin-detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTrajK%2Freal-time-coin-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTrajK%2Freal-time-coin-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTrajK%2Freal-time-coin-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTrajK%2Freal-time-coin-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MTrajK","download_url":"https://codeload.github.com/MTrajK/real-time-coin-detection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTrajK%2Freal-time-coin-detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31764317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["android","image-processing","opencv"],"created_at":"2024-11-17T08:16:20.140Z","updated_at":"2026-04-13T18:02:19.137Z","avatar_url":"https://github.com/MTrajK.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Real Time Coin Detection\n\nAn Android application which detects coins (circular objects) in real time, using the phone's camera.\n\nUsing [OpenCV 2.4](https://opencv.org/) library for image processing.\n\n\n\n## Installing\n\n1. Install and configure [Android SDK + Android IDE](http://www.androiddocs.com/sdk/index.html), after that install [OpenCV](https://opencv.org/android/) for Android SDK\n\n2. [Build](https://docs.opencv.org/2.4/doc/tutorials/introduction/android_binary_package/android_dev_intro.html) the Android project located in [Coin Detection](https://github.com/MTrajK/real-time-coin-detection/tree/master/Coin%20Detection) directory (using [Android Studio](https://developer.android.com/studio), [IntelliJ IDEA](https://www.jetbrains.com/idea/), [Eclipse](https://www.eclipse.org/), etc).\n\n3. Install [OpenCV Manager](https://docs.opencv.org/2.4/platforms/android/service/doc/index.html) on your phone ([Google Play link](https://play.google.com/store/apps/details?id=org.opencv.engine)). \n\n4. Install the APK (from the second step) on your phone.\n\n## Description\n\nThe coin detection algorithm is composed of 5 steps:\n\n\n### Step 1\n\nGet the original frame from the camera.\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/step1_original-frame.png \"Original frame\")\n\n### Step 2\n\nConvert frame to grayscale image (less colors == better object detection).\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/step2_gray-frame.png \"Grayscale image\")\n\n### Step 3\n\nApply a gaussian blur on the grayscale image (to reduce the noise).\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/step3_gaussian-blur.png \"Gaussian blur\")\n\n### Step 4\n\nThe main step, edge detection.\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/step4_edge-detection.png \"Edge detection\")\n\n### Step 5\n\nFinal step, mark coins.\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/step5_coins-marking.png \"Final result\")\n\n\n\n## Results\n\nA few results with different number of coins, different background and different lighting.\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/example1.png \"Example 1\")\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/example2.png \"Example 2\")\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/example3.png \"Example 3\")\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/example4.png \"Example 4\")\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/example5.png \"Example 5\")\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/example6.png \"Example 6\")\n\n![alt txt](https://raw.githubusercontent.com/MTrajK/real-time-coin-detection/master/images/example7.png \"Example 7\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtrajk%2Freal-time-coin-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtrajk%2Freal-time-coin-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtrajk%2Freal-time-coin-detection/lists"}