Chess Pieces Computer Vision Project

Drop an image or


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.

Chess Example

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.

Roboflow Workmark

Trained Model API

This project has a trained model available that you can try in your browser and use to get predictions via our Hosted Inference API and other deployment methods.

Cite this Project

If you use this dataset in a research paper, please cite it using the following BibTeX:

@misc{ chess-pieces-new_dataset,
    title = { Chess Pieces Dataset },
    type = { Open Source Dataset },
    author = { Roboflow },
    howpublished = { \url{ } },
    url = { },
    journal = { Roboflow Universe },
    publisher = { Roboflow },
    year = { 2021 },
    month = { apr },
    note = { visited on 2023-01-31 },




Joseph Nelson

Last Updated

2 years ago

Project Type

Object Detection




bishop, black-bishop, black-king, black-knight, black-pawn, black-queen, black-rook, white-bishop, white-king, white-knight, white-pawn, white-queen, white-rook


Public Domain