Downloads · 30 days
0
Shishir0315/Anemia-Detection
Anemia-Detection is a machine learning model from Shishir0315. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
An end-to-end AI system designed to detect Anemia based on pixel characteristics (% Red, Green, Blue) extracted from nail/conjunctiva images. This project implements and compares two different approaches: 1. Deep Lear…
Downloads · 30 days
0
Access
Public
Updated Feb 13, 2026
Repo size
213 KB
Likes
0
Public
Click a slice to open those files.
.h5213 KB · 66%
From the Hugging Face model README
An end-to-end AI system designed to detect Anemia based on pixel characteristics (% Red, Green, Blue) extracted from nail/conjunctiva images. This project implements and compares two different approaches:
The system is fully deployed as a local web application using Flask, featuring a modern, user-friendly interface for real-time predictions.
Dual Model Architecture: Compare CNN vs. Random Forest performance.
Interactive Web App: Modern UI built with HTML/CSS/JS and Flask backend.
Data Processing: Automated feature scaling and encoding pipeline.
Deployment Ready: includes scripts for training, testing, and launching the app.
src/
data_loader.py: Handles loading and preprocessing of Anemia_Dataset.csv.model.py: Defines the 1D CNN architecture.train.py: Main script to train and evaluate the model.requirements.txt: List of Python dependencies.
Important: Please check the Python environment. If you encounter errors, create a fresh environment:
# Open Anaconda Prompt or Terminal
conda create -n anemia_env python=3.8
conda activate anemia_env
pip install -r requirements.txt
Do not type python src/train.py (it will fail because python is not in your PATH).
Instead, double-click the run_ml.bat file in this folder, or run this command in your terminal:
.\run_ml.bat
The script will:
anemia_model.h5.training_history.png.