File size: 1,052 Bytes
e5f9aea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
60
---
library_name: ultralytics
tags:
- object-detection
- chess
- computer-vision
- yolo
datasets:
- chess-pieces
pipeline_tag: object-detection
---

# Chess Piece Detection Model

This is a YOLO model trained to detect chess pieces on a chessboard.

## Model Details

- **Model Type**: YOLOv8/YOLOv11 Object Detection
- **Task**: Chess piece detection and classification
- **Framework**: Ultralytics YOLO
- **Repository**: dopaul/chessboard-segmentation

## Files

The following files are included in this model:

- `best.pt`

## Usage

```python
from ultralytics import YOLO

# Load the model
model = YOLO('path/to/best.pt')

# Run inference
results = model('path/to/chess_image.jpg')

# Display results
results[0].show()
```

## Model Performance

This model can detect and classify various chess pieces including:
- Pawns
- Rooks
- Knights  
- Bishops
- Queens
- Kings

For both black and white pieces.

## Training Data

The model was trained on chess piece datasets to achieve robust detection across different chess sets and lighting conditions.