An open API service indexing awesome lists of open source software.

https://github.com/myself-aas/orange_classification_android_app

Android app that uses a TensorFlow Lite model for image classification of different type of oranges, trained through Google's Teachable Machine.
https://github.com/myself-aas/orange_classification_android_app

android android-app android-application android-development android-studio android-ui image-classification machine-learning object-detection teachable-machine tensorflow-lite

Last synced: 3 months ago
JSON representation

Android app that uses a TensorFlow Lite model for image classification of different type of oranges, trained through Google's Teachable Machine.

Awesome Lists containing this project

README

          

# Orange Classification Android App: Real-Time Fruit Classification

This Android app uses TensorFlow Lite to classify oranges directly on-device. Developed with Android Studio and written in Java, it enables real-time, low-latency classification via a user-friendly interface, ideal for agriculture and food applications. Features include real-time classification, and a seamless UI. Built for Android 5.0 (Lollipop) or higher, this project is open-source and designed for easy deployment and collaboration.

## Acknowledgements

- [TensorFlow Lite Community](https://www.tensorflow.org/community) - for providing robust tools and documentation, enabling seamless integration of machine learning on mobile platforms.
- [Android Open Source Community](https://source.android.com/) - for sharing invaluable resources and frameworks.
- [Bangladesh Agricultural University](https://bau.edu.bd/) - for supporting the project's research foundation.

## Documentation

The Orange Classification Android App is designed to classify oranges based on various parameters using machine learning techniques. This section provides an overview of the app's components and functionalities:

- **MainActivity.java**: The entry point of the application, managing the user interface and interactions.
- **CameraFragment**: Handles camera operations and image capture for classification.
- **ViewModel**: Manages UI-related data in a lifecycle-conscious way, ensuring data survives configuration changes.
- **ML Model**: Utilizes a pre-trained model for orange classification, providing accurate results based on the input images.

For detailed technical documentation, refer to the `inline comments` in the code files.

## Screenshots

![App Screenshot](https://github.com/myself-aas/Orange_Classification_Android_App/blob/main/Screenshot-1.png)
![App Screenshot](https://github.com/myself-aas/Orange_Classification_Android_App/blob/main/Screenshot-2.png)

## Features

- **Image Classification:** Accurately classify different types of oranges using machine learning algorithms.
- **User-Friendly Interface:** Intuitive design for easy navigation and interaction.
- **Real-Time Processing:** Quickly analyze images captured by the device's camera for immediate results.
- **Offline Functionality:** Perform classification without the need for an internet connection.
- **Support for Multiple Devices:** Compatible with a wide range of Android devices running version 5.0 (Lollipop) and above.
- **Lightweight and Efficient:** Optimized for performance and low resource consumption.
## Deployment

To deploy the Orange Classification Android App, follow these steps:
1. **Clone the Repository**:
```bash
git clone https://github.com/myself-aas/Orange_Classification_Android_App.git
```
2. **Open the Project**:
Open Android Studio and select `Open an existing Android Studio project.`
Navigate to the cloned repository and select it.

3. **Build the Project**:
Ensure all dependencies are synced by clicking on `Sync Project with Gradle Files.`

4. **Run the App**:
Connect your Android device or start an emulator.
Click on the `Run` button in Android Studio to deploy the app.

5. **Permissions**:
Ensure your app has the necessary permissions for camera and storage access in the AndroidManifest.xml file.

6. **Testing**:
Test the app on various devices to ensure compatibility and functionality.

`This section provides clear, step-by-step instructions for deploying your app, making it easier for users to get started.`

# Hi, I'm Ashif A.! 👋

## 🚀 About Me
I am Ashif Ahmed Shuvo, a passionate Android developer with a keen interest in artificial intelligence and machine learning. My goal is to leverage technology to create innovative solutions that enhance everyday experiences. With a strong foundation in programming and a commitment to continuous learning, I strive to contribute to impactful projects.

## 🔗 Links
[![portfolio](https://img.shields.io/badge/my_portfolio-000?style=for-the-badge&logo=ko-fi&logoColor=white)](https://myself-aas.github.io/portfolio/)
[![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/me-aas/)
[![twitter](https://img.shields.io/badge/twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://x.com/myself_aas)

## FAQ

**Q1: What is the purpose of the Orange Classification app?**
A1: The Orange Classification app is designed to classify oranges using machine learning techniques based on images captured through the device's camera.

**Q2: How do I install the app?**
A2: Clone the repository and import it into Android Studio. Ensure you have the necessary dependencies and SDK installed, then build and run the app.

**Q3: What are the system requirements?**
A3: The app requires an Android device running Android 5.0 (Lollipop) or higher with camera functionality.

**Q4: How can I contribute to this project?**
A4: Contributions are welcome! Please fork the repository, make your changes, and submit a pull request for review.

**Q5: Where can I find more information about the machine learning model?**
A5: Detailed information about the machine learning model can be found in the `inline comments` within the code.

## Authors

- [Ashif Ahmed Shuvo](https://github.com/myself-aas)

## Badges

![Android](https://img.shields.io/badge/Platform-Android-green.svg)
![Kotlin](https://img.shields.io/badge/Language-Kotlin-blue.svg)
![License](https://img.shields.io/badge/License-MIT-yellow.svg)
[![GitHub stars](https://img.shields.io/github/stars/myself-aas/Orange_Classification_Android_App.svg?style=social&label=Star)](https://github.com/myself-aas/Orange_Classification_Android_App/stargazers)
[![GitHub issues](https://img.shields.io/github/issues/myself-aas/Orange_Classification_Android_App.svg)](https://github.com/myself-aas/Orange_Classification_Android_App/issues)
[![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-blue.svg)](https://linkedin.com/in/me-aas/)
[![GitHub](https://img.shields.io/badge/GitHub-Visit_repo-lightgrey.svg)](https://github.com/myself-aas)

## Support

For support, email shuvoasifahmed@gmail.com.

## License

[MIT](https://choosealicense.com/licenses/mit/)