An Android app that lets you snap a photo of any product and instantly search for it online — no typing required. Powered by Firebase ML Kit Text Recognition.
- Capture — Take a photo of a product label or text using your device camera
- Detect — Firebase ML Kit's on-device OCR extracts text from the image
- Search — Tap the search button to find the product on Flipkart instantly
| Component | Technology |
|---|---|
| Language | Kotlin |
| Min SDK | 16 (Android 4.1) |
| Target SDK | 28 (Android 9.0) |
| OCR Engine | Firebase ML Vision 17.0.0 |
| UI | Android Support Library, ConstraintLayout |
| Utilities | Anko Commons |
- Android Studio 3.2+
- A Firebase project with ML Kit enabled
- Go to the Firebase Console and create a new project (or use an existing one)
- Add an Android app with the package name
com.tobibur.camshop - Download the
google-services.jsonfile - Place it in the
app/directory
# Clone the repository
git clone https://github.com/Tobibur/CamShop-ocr.git
cd CamShop-ocr
# Build the debug APK
./gradlew assembleDebug
# Install on a connected device
./gradlew installDebugNote: A physical device with a camera is recommended. The emulator camera may not produce good OCR results.
app/src/main/java/com/tobibur/camshop/
├── MainActivity.kt # Entry point, hosts MainFragment
├── ResultActivity.kt # Displays detected text + Flipkart search
└── ui/main/
└── MainFragment.kt # Camera capture + Firebase ML Kit OCR
- Camera capture
- Text detection via Firebase ML Kit
- Product search on Flipkart
- Improved UI/UX
- Support for multiple shopping websites
This project is licensed under the MIT License — see the LICENSE file for details.
Copyright (c) 2018 Tobibur Rahman




