This is a web-based application for segmenting mosquito larvae using the Otsu thresholding method. The application allows users to upload an image containing mosquito larvae, and it performs image processing to detect and count the larvae. The processed image is displayed along with the count of larvae found.
To run the application locally, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/nbilasals/segmentasi_jentik_nyamuk.git
-
Navigate to the project directory:
cd segmentasi_jentik_nyamuk
-
Install the require dPython packages using pip
pip install -r requirements.txt
-
Run the Flask application
python app.py
- Access the application in your web browser.
- Click the "Upload an Image" button to select an image containing mosquito larvae.
- Click the "Upload and Process" button to initiate the segmentation and counting process.
- The processed image and the count of mosquito larvae found will be displayed.