File size: 7,926 Bytes
d583434
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d1f64f8
d583434
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Acne Detection Model

![Acne Detection](data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHCBUWFRUVFhUWGRgYGBUYGBUYGBIaGBgVGBUaGhgYGBgcIS4lHB4rHxgYJjgmKy8xNjU1GiQ7QDs0Py40NTEBDAwMEA8QHhISHzEkJCM0NDQ0NDE0NDQxNDQ0NDQ0NDQ0NTQ0NDQ0NDQ0PTE0NDQ0NDE0NDQ0ND00NDE0MTE0Mf/AABEIAOEA4QMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAAABAIDBQYBB//EADYQAAIBAgUCAwYEBgMBAAAAAAABAgMRBBIhMUEFUSJhcQYygZGhsRNC0fAUUpKyweFicvEj/8QAGQEAAwEBAQAAAAAAAAAAAAAAAAIDBAEF/8QAJxEAAgICAgEEAgIDAAAAAAAAAAECEQMhEjFBBDJRYRMiceEFgaH/2gAMAwEAAhEDEQA/AOiAAJlgAAAAAAADxmH1PqbbyQenMv0POqdQzPJB6cvv/opweDvq/kSnMvDH8i+Hwbl8XuaOHwMVvqNwikrA5rZavsv3ZGaU2+jXHGl2eqCWx7YFSm+FH5N/oi2OCjpmvLvdu3yFUZMokkKyqR/mj80efiLz/pl+howoxjtGPyRan5DrH8s4ZOeK7/0y/QPxI/zI1ZEHBcpMPxr5O0IKz8/TX7Hrgn/se/hYP8i+32K/4JK9pSXle6+pzg0GmZ1bBxfBnYjAyjrHXyN6dCa4zLy0fyZVdPTns1Z/IE5R7EljT6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oySvte2z8haq3NTioTzTjkyShJKLas25NZbLffjQ2IhOWg8ciitq6doHGzyKskuUlqVVZ7JbshUra2W5KhG2vPczylydjLSG8BCyk3vda/AbF8Js/X/CGDXj9qPNzO5sAAChIAAAAAAAAAAAAAAAAAAAAAAAAoxfuS/fIo/wDAAZs3Zu9N7WK1CmHvgBBGkdjsEdwApHoGQkVoAKIR9liLGAHGBIjV2+QAIxkJ0d5eo5TACQzHMJs/X/CGAA24/ajy8vvYAAFCYAAAAAAAAAAAB//Z)

## Overview

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.

## Model Details

- **Model Type:** YOLOv8
- **Architecture:** YOLOv8
- **Version:** 1.0

## Usage

### Installation

```bash
pip install -r requirements.txt
```

### Model Loading

```python
from ultralytics import YOLO

# Load the model
model = YOLO("acne.pt")

# Perform inference
result = model.detect_acne(image_path="path/to/test_image.jpg")
print(result)

```

Replace `"acne.pt"` with the correct model weights file.

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

- Data labeling by [Amina Shiga](https://www.linkedin.com/in/amina-shiga-07000522a)
- Model Training  by [Nathaniel Handan](https://www.linkedin.com/in/nathanielhandan/)

## Contributing

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.

## Contact

For inquiries, please contact [Nathanil Handan](mailto:[email protected]).

## References

- Ultralytics YOLOv8: https://github.com/ultralytics/ultralytics
- VGG Image Annotator (VIA): https://www.robots.ox.ac.uk/~vgg/software/via/