Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abtaaahi/snapdetect
Image Recognition by Tensorflow Lite & Knowledge Graph Search API for Details
https://github.com/abtaaahi/snapdetect
api glide knowledge-graph kotlin
Last synced: about 12 hours ago
JSON representation
Image Recognition by Tensorflow Lite & Knowledge Graph Search API for Details
- Host: GitHub
- URL: https://github.com/abtaaahi/snapdetect
- Owner: abtaaahi
- Created: 2024-06-20T17:24:59.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-10-23T14:33:48.000Z (23 days ago)
- Last Synced: 2024-10-23T17:28:15.733Z (23 days ago)
- Topics: api, glide, knowledge-graph, kotlin
- Language: Kotlin
- Homepage:
- Size: 13.9 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SnapDetect - an object recognition app through image.
Developed an object recognition application for Android using TensorFlow Lite and MobileNet V3 model to
identify objects through images used Retrofit for fetch data.A real-time object recognition feature, enhancing user interaction and engagement.
## Demo Video
[![SnapDetect Demo Video](https://img.youtube.com/vi/v7t7c2WBi1M/hqdefault.jpg)](https://youtube.com/shorts/v7t7c2WBi1M?si=sbQ9ZKE5gLNt20Wt)
## API Reference
References:Model: MobileNet V3 ( https://shorturl.at/VEnYT )
API: Knowledge Graph Search ( https://shorturl.at/Jlbb1 )
#### Dependencies```
implementation("com.github.bumptech.glide:glide:4.12.0")implementation("com.squareup.retrofit2:retrofit:2.9.0")
implementation("com.squareup.retrofit2:converter-gson:2.9.0")implementation("org.tensorflow:tensorflow-lite:2.7.0")
implementation("org.tensorflow:tensorflow-lite-support:0.2.0")
implementation("org.tensorflow:tensorflow-lite-gpu:2.7.0")
```#### Get item
```
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Queryinterface KnowledgeGraphApiService {
@GET("v1/entities:search")
fun getEntityDetails(
@Query("query") query: String,
@Query("key") apiKey: String
): Call
}
```
#### Convert to GSON```
val retrofit = Retrofit.Builder()
.baseUrl("https://kgsearch.googleapis.com/")
.addConverterFactory(GsonConverterFactory.create())
.build()```
## Features
📸 Capture images via camera
🖼️ Select images from the gallery
🌐 Use images from URLs
📤 Share images and details seamlessly
## Tech Stack
**Development Environment:** Android Studio
**Programming Language:** Kotlin
**Framework:** TensorFlow Lite
**API Integration:** Knowledge Graph Search
**Model:** MobileNet V3
**User Interface Design:** Material Design Principles
**Testing:** Unit Testing, Integration Testing, User Testing