EtanHey commited on
Commit
5351c08
·
verified ·
1 Parent(s): c76fc20

Upload README_HF.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README_HF.md +33 -0
README_HF.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - yolov8
5
+ - hand-detection
6
+ - computer-vision
7
+ library_name: ultralytics
8
+ license: mit
9
+ ---
10
+
11
+ # Hand Detection YOLOv8
12
+
13
+ Binary classifier to detect if hands are visible in an image.
14
+
15
+ ## Quick Usage
16
+
17
+ ```python
18
+ from ultralytics import YOLO
19
+
20
+ # Load model
21
+ model = YOLO('https://huggingface.co/Denhac/etanheys-100/resolve/main/hand-detection-v2.pt')
22
+
23
+ # Predict
24
+ results = model.predict('image.jpg')
25
+ if results[0].probs.top1 == 0: # hand class
26
+ print(f"Hand detected: {results[0].probs.top1conf:.1%}")
27
+ ```
28
+
29
+ ## Model Details
30
+ - **Architecture**: YOLOv8n-cls
31
+ - **Accuracy**: 100% on validation
32
+ - **Size**: 2.8 MB
33
+ - **Classes**: hand, not_hand