aggarwal-aditya / Chess-Piece-Object-Detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Object Detection in TFLite

TensorFlow Lite is a set of tools that enables on-device machine learning by helping developers run their models on mobile, embedded, and IoT devices.

About the Model

Detecting Chess Pieces on Chess Board

The model detects the following chess pieces on board and draws identification boxes around them.

Click to expand
  • Black-Bishop
  • Black-King
  • Black-Knight
  • Black-Pawn
  • Black-Queen
  • Black-Rook
  • White-Bishop
  • White-King
  • White-Knight
  • White-Pawn
  • White-Queen
  • White-Rook

The dataset for training was collected from Roboflow. The dataset has been split into three sections 1) Train 2) Test 3) Validation. The dataset already contained annotations in XML format. Tensorflow Lite framework was used for Data Augmentation and Model building. The model was trained for 20 epoch cycles, with a training time of around 40 minutes.

EfficientDet-Lite4 architecture has been used to train the model, it has the highest accuracy among all variants of EfficeintDet with a small tradeoff for latency & model size.

                                                  Model in Action

chess-1

Download TensorFlow Lite Model here
Google Collab

Further Plans

  • Integrate the model with IOS/Android mobile app
  • Further improve the accuracy of model using other CNN architectures

About