Commit
·
d583434
1
Parent(s):
d802c6e
Add acne detection model and related files
Browse files- README.md +59 -3
- assets/README.md +0 -0
- config.json +13 -0
- requirements.txt +5 -0
README.md
CHANGED
@@ -1,3 +1,59 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Acne Detection Model
|
2 |
+
|
3 |
+

|
4 |
+
|
5 |
+
## Overview
|
6 |
+
|
7 |
+
This repository contains a YOLOv8-based model trained for detecting acne on African and dark skin tones. The model is designed to be inclusive, focusing on diverse datasets to improve dermatological applications' accuracy across various skin types.
|
8 |
+
|
9 |
+
## Model Details
|
10 |
+
|
11 |
+
- **Model Type:** YOLOv8
|
12 |
+
- **Architecture:** YOLOv8
|
13 |
+
- **Version:** 1.0
|
14 |
+
|
15 |
+
## Usage
|
16 |
+
|
17 |
+
### Installation
|
18 |
+
|
19 |
+
```bash
|
20 |
+
pip install -r requirements.txt
|
21 |
+
```
|
22 |
+
|
23 |
+
### Model Loading
|
24 |
+
|
25 |
+
```python
|
26 |
+
from ultralytics import YOLO
|
27 |
+
|
28 |
+
# Load the model
|
29 |
+
model = YOLO("acne.pt")
|
30 |
+
|
31 |
+
# Perform inference
|
32 |
+
result = model.detect_acne(image_path="path/to/test_image.jpg")
|
33 |
+
print(result)
|
34 |
+
|
35 |
+
```
|
36 |
+
|
37 |
+
Replace `"acne.pt"` with the correct model weights file.
|
38 |
+
|
39 |
+
## License
|
40 |
+
|
41 |
+
This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.
|
42 |
+
|
43 |
+
## Acknowledgments
|
44 |
+
|
45 |
+
- Data labeling by [Amina Shiga](https://www.linkedin.com/in/amina-shiga-07000522a)
|
46 |
+
- Model Training by [Nathaniel Handan](https://www.linkedin.com/in/nathanielhandan/)
|
47 |
+
|
48 |
+
## Contributing
|
49 |
+
|
50 |
+
We welcome contributions from the community. If you find any issues or have suggestions, please open an [issue](https://github.com/Tinny-Robot/acne-detection/issues) or submit a pull request.
|
51 |
+
|
52 |
+
## Contact
|
53 |
+
|
54 |
+
For inquiries, please contact [Your Name](mailto:[email protected]).
|
55 |
+
|
56 |
+
## References
|
57 |
+
|
58 |
+
- Ultralytics YOLOv8: https://github.com/ultralytics/ultralytics
|
59 |
+
- VGG Image Annotator (VIA): https://www.robots.ox.ac.uk/~vgg/software/via/
|
assets/README.md
ADDED
File without changes
|
config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_type": "yolov8",
|
3 |
+
"model_name": "acne",
|
4 |
+
"architecture": "yolov8",
|
5 |
+
"version": "1.0",
|
6 |
+
"description": "Acne Detection Model",
|
7 |
+
"author": "Tinny-Robot",
|
8 |
+
"license": "apache-2.0",
|
9 |
+
"task": "Object Detection",
|
10 |
+
"framework": "Ultralytics YOLOv8",
|
11 |
+
"tags": ["acne", "skin", "object detection", "yolov8"]
|
12 |
+
}
|
13 |
+
|
requirements.txt
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
torch==1.8.1
|
2 |
+
torchvision==0.9.1
|
3 |
+
numpy==1.19.5
|
4 |
+
opencv-python==4.5.1.48
|
5 |
+
ultralytics
|