Skip to content

attilarepka/domino-classification-python-scikit-learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domino Classification with Python and Scikit-Learn


This repository contains a Python implementation for classifying dominos using Scikit-Learn.

Dataset validation / Inference result

Dataset validation Inference result

Installation

  1. Clone this repository:
$ git clone https://github.com/attilarepka/domino-classification-python-scikit-learn.git
  1. Navigate to the project directory:
$ cd domino-classification-python-scikit-learn
  1. Install the required Python packages:
$ pip install -r requirements.txt

Usage

  1. Dataset Preparation: Run dataset.py to split and create datasets from a large domino set image.
$ python dataset.py -i <input_image_path>
  1. Contour Validation and Display: Utilize dots.py for contour validation and display, which is used by dataset.py.

  2. Training and Validation: Use main.py for training and validation of the classifier.

$ python main.py [-o OUTPUT] [-d DATASET]
  1. Inferencing: Perform inferencing using predict.py based on the created dataset.

License

This project is licensed under the MIT License.

About

Domino Classification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages