| tags: | |
| - image-classification | |
| - yolov8 | |
| - hand-detection | |
| - computer-vision | |
| library_name: ultralytics | |
| license: mit | |
| # Hand Detection YOLOv8 | |
| Binary classifier to detect if hands are visible in an image. | |
| ## Quick Usage | |
| ```python | |
| from ultralytics import YOLO | |
| # Load model | |
| model = YOLO('https://huggingface.co/Denhac/etanheys-100/resolve/main/hand-detection-v2.pt') | |
| # Predict | |
| results = model.predict('image.jpg') | |
| if results[0].probs.top1 == 0: # hand class | |
| print(f"Hand detected: {results[0].probs.top1conf:.1%}") | |
| ``` | |
| ## Model Details | |
| - **Architecture**: YOLOv8n-cls | |
| - **Accuracy**: 100% on validation | |
| - **Size**: 2.8 MB | |
| - **Classes**: hand, not_hand |