- Clone this repository:
$ git clone https://github.com/attilarepka/domino-classification-python-scikit-learn.git
- Navigate to the project directory:
$ cd domino-classification-python-scikit-learn
- Install the required Python packages:
$ pip install -r requirements.txt
- Dataset Preparation: Run
dataset.py
to split and create datasets from a large domino set image.
$ python dataset.py -i <input_image_path>
-
Contour Validation and Display: Utilize
dots.py
for contour validation and display, which is used bydataset.py
. -
Training and Validation: Use
main.py
for training and validation of the classifier.
$ python main.py [-o OUTPUT] [-d DATASET]
- Inferencing: Perform inferencing using
predict.py
based on the created dataset.
This project is licensed under the MIT License.