Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simran1002/strip-analyzer
The Strip Color Identification is used to analyze images of urine strips uploaded by users. Using computer vision techniques, particularly leveraging OpenCV, the interface identifies and extracts the colors present on the strip.
https://github.com/simran1002/strip-analyzer
flask multer nodejs numpy opencv python reactjs
Last synced: 14 days ago
JSON representation
The Strip Color Identification is used to analyze images of urine strips uploaded by users. Using computer vision techniques, particularly leveraging OpenCV, the interface identifies and extracts the colors present on the strip.
- Host: GitHub
- URL: https://github.com/simran1002/strip-analyzer
- Owner: simran1002
- Created: 2024-05-30T19:08:21.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-02T11:48:02.000Z (8 months ago)
- Last Synced: 2024-11-20T19:18:47.732Z (3 months ago)
- Topics: flask, multer, nodejs, numpy, opencv, python, reactjs
- Language: JavaScript
- Homepage:
- Size: 417 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Strip Analyzer
Strip Analyzer is a Flask application that analyzes vertical strips in an image and returns average color values for each strip.
## Prerequisites
- Python 3.7+
- pip (Python package installer)
- Postman (for testing the API)## Installation
1. Clone the repository:
git clone https://github.com/simran1002/Strip-Analyzer.git
cd stripAnalyzer## Set up a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`## Install dependencies:
pip install -r requirements.txt
## Usage
Start the Flask server:
python analyzeImage.py
## Send a POST request to analyze an image:
URL: http://localhost:5001/analyze
Body: JSON with the image file path:
json{
"file_path": "/path/to/your/image.jpg"
}Example
To analyze an image named image.jpg located in the strip_images directory:curl -X POST -H "Content-Type: application/json" -d '{"file_path": "strip_images/image.jpg"}' http://localhost:5001/analyze