This project is a web interface that allows users to upload an image of their urine strip and identify the colors on the strip. The application analyzes the uploaded image using OpenCV and returns the results as a JSON object containing RGB values for each of the 10 colors on the strip.
- Image Upload: Users can upload an image of their urine strip through the web interface.
- Color Identification: The application analyzes the uploaded image to identify the colors on the urine strip.
- JSON Output: Results are returned as a JSON object containing RGB values for each of the 10 colors.
- Backend Framework: Django
- Image Processing Library: OpenCV
- Clone the repository from GitHub:
git clone https://github.com/dhruvkej9/projectInternship
- Locate to the project directory
cd projectInternship
- Install Python dependencies:
pip install -r requirements.txt
- Start the Django development server:
python manage.py runserver
- Access the web interface in your browser at
http://127.0.0.1:8000
.
- Navigate to the web interface.
- Upload an image of the urine strip.
- After uploading the image, click the "Submit" button to submit it.
- The application will process the image and return the color identification results as a JSON object.