MedouneSGB commited on
Commit
d371d15
·
verified ·
1 Parent(s): 915a27b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +36 -55
README.md CHANGED
@@ -1,68 +1,49 @@
1
- ---
2
- language: en
3
- tags:
4
- - computer-vision
5
- - object-detection
6
- - yolo
7
- - chess
8
- - ultralytics
9
- license: mit
10
- ---
11
 
12
- # Senchess AI - Chess Piece Detection Models
13
 
14
- Modèles YOLO pour la détection de pièces d'échecs.
15
 
16
- ## Modèles disponibles
 
 
 
 
 
 
17
 
18
- ### 🎯 Gear v1.1 (`gear_v1.1.pt`)
19
- - **Usage**: Détection générale de toutes les pièces
20
- - **Classes**: Toutes les pièces d'échecs (pions, tours, cavaliers, fous, dames, rois)
21
- - **Recommandé pour**: Détection complète d'un échiquier
 
 
22
 
23
- ### 🔍 Haki v1.0 (`haki_v1.0.pt`)
24
- - **Usage**: Détection optimisée des pièces stratégiques
25
- - **Classes**: Roi, Dame, Tour, Fou (meilleure précision)
26
- - **Recommandé pour**: Identification précise des pièces importantes
 
 
27
 
 
28
 
29
- ### 🌊 Yonko v1.0 (`yonko_v1.0.pt`)
30
- - **Usage**: Modèle entraîné sur un large dataset (10000 images) avec augmentation de données
31
- - **Classes**: Toutes les pièces d'échecs
32
- - **Dataset**: 10000+ images avec augmentation
33
- - **Recommandé pour**: Détection robuste avec grande variété de conditions
34
 
35
- ## Utilisation
36
 
37
- ```python
38
- from huggingface_hub import hf_hub_download
39
- from ultralytics import YOLO
40
 
41
- # Télécharger et charger le modèle Gear
42
- model_path = hf_hub_download(
43
- repo_id="MedouneSGB/senchess-models",
44
- filename="gear_v1.1.pt",
45
- cache_dir="/tmp"
46
- )
47
- model = YOLO(model_path)
48
 
49
- # Prédiction
50
- results = model.predict("chess_board.jpg", conf=0.25)
51
- ```
52
 
53
- ## API Vercel
 
54
 
55
- Ces modèles sont utilisés dans l'API Senchess déployée sur Vercel.
56
-
57
- Repository: https://github.com/MedouneSGB/Senchess-AI
58
-
59
- ## Modèles uploadés
60
-
61
- - ✅ gear_v1.1.pt
62
- - ✅ haki_v1.0.pt
63
-
64
- - ✅ yonko_v1.0.pt
65
-
66
- ## License
67
-
68
- MIT License - Libre d'utilisation
 
1
+ # Senchess AI Models
 
 
 
 
 
 
 
 
 
2
 
3
+ Collection of YOLOv8 models for chess piece detection.
4
 
5
+ ## 📦 Available Models
6
 
7
+ ### 🐉 Kaido v1.0 (kaido_v1.0.pt) - **RECOMMENDED**
8
+ - **Best overall performance** on styled and standard boards
9
+ - **32/32 pieces detection** with 98.61% confidence
10
+ - Trained on 1,000 positions, 50 epochs
11
+ - **mAP50: 99.95%** | Precision: 99.5% | Recall: 99.5%
12
+ - Size: 6.25 MB
13
+ - Use case: General purpose, excellent for all board styles
14
 
15
+ ### 🔱 Haki v1.0 (haki_v1.0.pt)
16
+ - Specialized for strategic pieces (King, Queen, Rook, Bishop)
17
+ - 32/32 pieces detection with 98.52% confidence
18
+ - Trained on styled boards
19
+ - Size: 6.25 MB
20
+ - Use case: Styled/artistic chess boards
21
 
22
+ ### ⚙️ Gear v1.1 (gear_v1.1.pt)
23
+ - Optimized for standard wooden boards
24
+ - **mAP50: 98.79%**
25
+ - Size: 6.25 MB
26
+ - Use case: Classic chess boards only
27
+ - ⚠️ May fail on styled boards
28
 
29
+ ## 🚀 Usage
30
 
 
 
 
 
 
31
 
 
32
 
33
+ ## 📊 Performance Comparison
 
 
34
 
35
+ | Model | Pieces Detected | Confidence | mAP50 | Best For |
36
+ |-------|----------------|------------|-------|----------|
37
+ | 🐉 Kaido v1.0 | 32/32 | 98.61% | 99.95% | All boards ⭐ |
38
+ | 🔱 Haki v1.0 | 32/32 | 98.52% | - | Styled boards |
39
+ | ⚙️ Gear v1.1 | 0-32 | varies | 98.79% | Standard boards |
 
 
40
 
41
+ ## 🎯 Classes (12)
42
+ - white-king, white-queen, white-rook, white-bishop, white-knight, white-pawn
43
+ - black-king, black-queen, black-rook, black-bishop, black-knight, black-pawn
44
 
45
+ ## 📝 License
46
+ MIT
47
 
48
+ ## �� Repository
49
+ https://github.com/MedouneSGB/Senchess-AI