Upload 4 files
Browse filesFiles changed (4)
- README.md+41-20
- best_model.h5Added+3
- local_finetuned_model.h5Added+3
- malaria_model.tfliteAdded+3
1234567891011121314151617181920---license: mitlanguage:- enmetrics:- accuracy- precision- recall- f1base_model:- google/mobilenet_v2_1.0_224pipeline_tag: image-classificationtags:- Malaria- Deep-learning- Healthcare- Medical-imaging- Cell-classification- Ghana---1234567891011121314151617181920212223242526272829303132333435363738394041# AI Malaria Detection System - Ghana Model## OverviewThis system uses deep learning (MobileNetV2) to detect malaria parasites in blood smear images. The model has been fine-tuned specifically on Ghanaian blood smear samples to ensure accuracy with local staining and imaging conditions.## Performance Metrics- **Overall Accuracy**: 97.2%- **Parasitized Detection**: 97.8%- **Uninfected Rejection**: 92.3%- **Model Size**: 2.54 MB (mobile-optimized)## Folder Structure```/malaria_detector/βββ models/β βββ local_finetuned_model.h5β βββ malaria_model.tfliteβββ scripts/β βββ predict_patches.pyβ βββ requirements.txtβββ evaluation/β βββ final_report.pdfβ βββ confusion_matrix.pngβββ README.md```## Deployment & Usage1. **Clone the Repository**: Download the entire `malaria_detector` folder.2. **Install Dependencies**: Navigate to the `scripts/` folder and install required libraries:```bashpip install -r requirements.txt```3. **Model Location**: Ensure `local_finetuned_model.h5` and `malaria_model.tflite` are in the `models/` folder.4. **Run Prediction**: Use the `predict_patches.py` script to analyze whole slide images:```bashpython scripts/predict_patches.py /path/to/your/image.jpg [confidence_threshold]```* `[confidence_threshold]` is optional; defaults to `0.5` (50%). Recommended: `0.5`.## ContactFor questions or further assistance, please contact the development team.
123version https://git-lfs.github.com/spec/v1oid sha256:78a322f1814d483654abca7fe053aef096e8d41a0c614fbc266fb9532c7cb9f2size 11540648123version https://git-lfs.github.com/spec/v1oid sha256:177f02f505c4384b1dd11a44ac66c1682357e4aa3e448e0555ba6afcc6dd974dsize 17305376123version https://git-lfs.github.com/spec/v1oid sha256:fe24b179408842b3647ad02dfecdc491db070e1d2fc5cb77ddad5342b3b46c1esize 2667336README.md+41-20
best_model.h5Added+3
local_finetuned_model.h5Added+3
malaria_model.tfliteAdded+3