Chess Pieces Computer Vision Dataset
About Chess Pieces Dataset
Overview
This is a dataset of Chess board photos and various pieces. All photos were captured from a constant angle, a tripod to the left of the board. The bounding boxes of all pieces are annotated as follows: white-king, white-queen, white-bishop, white-knight, white-rook, white-pawn, black-king, black-queen, black-bishop, black-knight, black-rook, black-pawn. There are 2894 labels across 292 images.

Follow this tutorial to see an example of training an object detection model using this dataset or jump straight to the Colab notebook.
Use Cases
At Roboflow, we built a chess piece object detection model using this dataset.

You can see a video demo of that here. (We did struggle with pieces that were occluded, i.e. the state of the board at the very beginning of a game has many pieces obscured - let us know how your results fare!)
Using this Dataset
We're releasing the data free on a public license.
About Roboflow
Roboflow makes managing, preprocessing, augmenting, and versioning datasets for computer vision seamless.
Developers reduce 50% of their boilerplate code when using Roboflow's workflow, save training time, and increase model reproducibility.
Use Free Bishop, Black-bishop and Black-king Detection API
Powered by general detection model
pip install inference-sdk# 1. Import the library
from inference_sdk import InferenceHTTPClient
# 2. Connect to your workspace
client = InferenceHTTPClient(
api_url="https://serverless.roboflow.com",
api_key="API_KEY"
)
# 3. Run your workflow on an image
result = client.run_workflow(
workspace_name="<YOUR_WORKSPACE>",
workflow_id="<YOUR_WORKFLOW_ID>",
images={
"image": "YOUR_IMAGE.jpg" # Path to your image file
},
parameters={
"classes": "bishop, black-bishop, black-king, black-knight, black-pawn"
},
use_cache=True # cache workflow definition for 15 minutes
)
# 4. Get your results
print(result)Run on custom image
Drop an image here or click to upload
Tell the agent what you want to build.
Cite This Project
LicensePublic DomainIf you use this dataset in a research paper, please cite it using the following BibTeX:
@misc{ chess-full-thf47_dataset,
title = { Chess Pieces Dataset },
type = { Open Source Dataset },
author = { Roboflow },
howpublished = { \url{ https://universe.roboflow.com/jingc/chess-full-thf47 } },
url = { https://universe.roboflow.com/jingc/chess-full-thf47 },
journal = { Roboflow Universe },
publisher = { Roboflow },
year = { 2025 },
month = { feb },
note = { visited on 2026-07-29 },
}











