https://github.com/ayusrjn/tonguecare
Analyzes high resolution tongue images through your smartphone. Empower your health journey with our groundbreaking app leveraging TensorFlow for instant tongue disease diagnostics. Snap a photo with your smartphone, and our advanced model analyzes it, offering rapid insights into potential health conditions.
https://github.com/ayusrjn/tonguecare
firebase firebase-hosting health-check healthcare-application tensorflowjs
Last synced: 4 months ago
JSON representation
Analyzes high resolution tongue images through your smartphone. Empower your health journey with our groundbreaking app leveraging TensorFlow for instant tongue disease diagnostics. Snap a photo with your smartphone, and our advanced model analyzes it, offering rapid insights into potential health conditions.
- Host: GitHub
- URL: https://github.com/ayusrjn/tonguecare
- Owner: ayusrjn
- Created: 2024-02-21T17:42:09.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-23T06:50:21.000Z (over 2 years ago)
- Last Synced: 2025-01-29T13:36:55.760Z (over 1 year ago)
- Topics: firebase, firebase-hosting, health-check, healthcare-application, tensorflowjs
- Language: HTML
- Homepage: https://tonguecare-a0c2b.web.app/
- Size: 5.37 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **TongueCare**
Our innovative **TensorFlow**- powered project **diagnoses tongue diseases** through a single smartphone picture, providing quick and accessible healthcare insights. Using machine learning, our model ensures early detection, contributing to proactive health management. Seeking investment to optimize the model, expand the dataset, and deploy a user-friendly solution. With market potential driven by smartphone ubiquity, we aim to revolutionize healthcare diagnostics. Join us in making early healthcare intervention a reality.


## **Overview**
This project utilizes machine learning to predict tongue health based on images captured from your phone's camera. Using **TensorFlow.js**, the model is trained to classify tongues into categories such as healthy, thrashes, ulcer, visit (suggesting a visit to a healthcare professional), and could not predict. The application is deployed on **Firebase**, making it easily accessible for users.
## **Features**
- **Tongue Health Prediction**: Upload a picture of your tongue, and the model will provide a prediction regarding its health status.
- **Multiple Classes**: The model can classify tongues into different classes such as healthy, thrashes, ulcer, visit, or indicate if it could not make a prediction.
- **Firebase Deployment**: The application is hosted on Firebase, ensuring easy access for users through a web-based interface.
- **TensorFlow.js Integration**: The project leverages the TensorFlow.js library, allowing for machine learning model inference directly in the browser.
## **Getting Started**
### **Prerequisites**
- Ensure you have a modern web browser that supports the necessary web technologies for TensorFlow.js.
### **Usage**
1. Visit the deployed application on Firebase: [TongueCare](https://tonguecare-a0c2b.web.app/)
2. Allow camera access when prompted.
3. Capture an image of your tongue.
4. Wait for the model to process the image and display the predicted health status.
### **Local Development**
.
|-- public/
| |-- index.html # Main HTML file
| |-- assets/
| |-- images/ # Image assets
| |-- styles/ # CSS stylesheets
|-- tensorflow_model/ # TensorFlow model files
|-- README.md # Project README
If you wish to run the project locally:
1. Clone this GitHub repository:
bash
git clone
Navigate to the project directory:
bash
cd tonguecare
- Open the index.html file in your web browser.
- Allow camera access when prompted.
- Capture an image of your tongue.
- The model will process the image locally and display the predicted health status.
## Test Dataset
Model has been tested on this dataset producing 82% accurate result

Sensitive Image Alert: The upcoming content contains images of the tongue that may be distressing for some individuals.
- [Healthy Test Samples](https://drive.google.com/drive/folders/122FqAQG8BNkEcaCB-IdZxFiTAroG5JoV?usp=drive_link)
- [Unhealthy Test Image Samples](https://drive.google.com/drive/folders/17JsPipGk8XeRR-2_ZiUFj3i2Zpt8cf74?usp=sharing)
## **Authors**
- [Prakriti](https://github.com/Nature110625)
- [Anshu Malini](https://github.com/anshumalinii)
- [Sivam Kumar](https://github.com/codysivam)
- [Ayush Ranjan](https://github.com/ayushraanjan)
## **License**
This project is licensed under the MIT License - see the LICENSE file for details.
## **Acknowledgments**
- Thanks to the TensorFlow.js team for providing a powerful library for machine learning in the browser.
- Special thanks to the contributors and users who provide valuable feedback to improve the project.