{"id":21458091,"url":"https://github.com/shubham0204/Hand-Detection-Android","last_synced_at":"2025-10-05T07:31:21.671Z","repository":{"id":49783595,"uuid":"405833797","full_name":"shubham0204/Hand_Detection_TFLite_Android","owner":"shubham0204","description":"Hand Detection using TFLite in Android. Uses Victor Dibia's model checkpoints.","archived":false,"fork":false,"pushed_at":"2024-02-25T02:13:10.000Z","size":17293,"stargazers_count":20,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-17T14:38:53.504Z","etag":null,"topics":["android","android-application","computer-vision","handtracking","kotlin","kotlin-android","machine-learning","object-detection","tensorflow-lite","tensorflow-object-detection-api","tensorflow2"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shubham0204.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":["https://www.paypal.me/ShubhamPanchal0204"]}},"created_at":"2021-09-13T04:36:46.000Z","updated_at":"2024-11-05T00:30:00.000Z","dependencies_parsed_at":"2023-01-19T00:46:00.853Z","dependency_job_id":null,"html_url":"https://github.com/shubham0204/Hand_Detection_TFLite_Android","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/shubham0204%2FHand_Detection_TFLite_Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubham0204%2FHand_Detection_TFLite_Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubham0204%2FHand_Detection_TFLite_Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubham0204%2FHand_Detection_TFLite_Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shubham0204","download_url":"https://codeload.github.com/shubham0204/Hand_Detection_TFLite_Android/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235374613,"owners_count":18979734,"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","android-application","computer-vision","handtracking","kotlin","kotlin-android","machine-learning","object-detection","tensorflow-lite","tensorflow-object-detection-api","tensorflow2"],"created_at":"2024-11-23T06:17:40.765Z","updated_at":"2025-10-05T07:31:20.342Z","avatar_url":"https://github.com/shubham0204.png","language":"Kotlin","funding_links":["https://www.paypal.me/ShubhamPanchal0204"],"categories":[],"sub_categories":[],"readme":"\u003ccenter\u003e\u003ch1\u003eHand Detection using TFLite in Android\u003c/h1\u003e\u003c/center\u003e\r\n\r\n\u003e **An Android app which uses models from [Victor Dibia](https://github.com/victordibia)'s \r\n\u003e popular [handtracking](https://github.com/victordibia/handtracking) repo.**\r\n\r\n![sample_image_1](images/sample_1.png)\r\n![sample_image_2](images/sample_2.png)\r\n\r\n## TFLite Conversion Script\r\n\r\nA complete step-by-step guide on how to convert the model checkpoints from the \r\n[handtracking](https://github.com/victordibia/handtracking) repo could be \r\nfound here --\u003e [Google_Colab_Notebooks/Hand_Tracking_Model_TFLite_Conversion.ipynb](https://github.com/shubham0204/Google_Colab_Notebooks/blob/main/Hand_Tracking_Model_TFLite_Conversion.ipynb)\r\n\r\n[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/shubham0204/Google_Colab_Notebooks/blob/main/Hand_Tracking_Model_TFLite_Conversion.ipynb)\r\n\r\n## Project Information\r\n\r\nThe following features are included in the project,\r\n\r\n1. Well documented code with links to SO answers wherever required.\r\n2. Uses latest APIs like [CameraX](https://developer.android.com/training/camerax) and [Kotlin Coroutines](https://developer.android.com/kotlin/coroutines).\r\n3. No use of heavy packages like OpenCV to process and display the depth map. The application is coded in a\r\n   *Android* friendly manner.\r\n4. Works for both front and rear camera and also in portrait and landscape orientations.\r\n\r\nAs a default, the app works in the landscape mode, as seen in the `AndroidManifest.xml`,\r\n\r\n```\r\n\u003cmanifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    package=\"com.shubham0204.ml.handdetection\"\u003e\r\n\r\n    ...\r\n\r\n    \u003capplication\r\n        ...\r\n        \u003e\r\n\r\n        \u003cactivity\r\n            android:name=\".MainActivity\"\r\n            android:screenOrientation=\"landscape\"\r\n            \u003e\r\n            ...\r\n        \u003c/activity\u003e\r\n\r\n    \u003c/application\u003e\r\n\r\n\u003c/manifest\u003e\r\n```\r\n\r\nYou may set `screenOrientation=\"portrait\"` to use the app in portrait orientation.\r\n\r\nHere are the details of the Android project,\r\n\r\n```\r\ncompileSdk 30\r\napplicationId \"com.shubham0204.ml.handdetection\"\r\nminSdk 23\r\ntargetSdk 30\r\nandroidGradlePluginVersion 7.0.0\r\ngradlePluginVersion 7.0.2\r\n```\r\n\r\n## Citation\r\n\r\nVictor Dibia, HandTrack: A Library For Prototyping Real-time Hand TrackingInterfaces using Convolutional Neural Networks, https://github.com/victordibia/handtracking\r\n\r\n```\r\n@article{Dibia2017,\r\n  author = {Victor, Dibia},\r\n  title = {HandTrack: A Library For Prototyping Real-time Hand TrackingInterfaces using Convolutional Neural Networks},\r\n  year = {2017},\r\n  publisher = {GitHub},\r\n  journal = {GitHub repository},\r\n  url = {https://github.com/victordibia/handtracking/tree/master/docs/handtrack.pdf}, \r\n}\r\n```\r\n\r\n\r\n## License\r\n\r\n```\r\nMIT License\r\n\r\nCopyright (c) 2021 Shubham Panchal\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to deal\r\nin the Software without restriction, including without limitation the rights\r\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the Software is\r\nfurnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\nSOFTWARE.\r\n```\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubham0204%2FHand-Detection-Android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubham0204%2FHand-Detection-Android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubham0204%2FHand-Detection-Android/lists"}