Instructions to use Denhac/etans-hand-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use Denhac/etans-hand-detector with ultralytics:
from ultralytics import YOLOvv8 model = YOLOvv8.from_pretrained("Denhac/etans-hand-detector") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Hand Detection YOLOv8
Binary classifier to detect if hands are visible in an image.
Quick Usage
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
- Downloads last month
- 9