This repository contains all the information used to develop a solution to identify lego pieces (color, ratio and position). The code was developed in Python.
In order to install all the requirements to use our application you must run the following command on a terminal (in this directory):
pip install -r requirements.txt
This project was developed and tested using Python 3.9.5. So it is recommended using this version of Python in order to avoid compatibility issues.
The color thresholding is done through calibrated colors obtained with the region growing algorithm.
Topic | Result |
---|---|
Region Growing | ![]() |
Color | ![]() |
Corners | ![]() |
Ratio | ![]() |
Folder | Description |
---|---|
Deliverables | Folder containing all the deliverables |
Main Code | In this folder we have the working code we developed during the semester |
Testing | Folder containing all the algorithms used to develop the main code and test ideas and different approaches |
dataset | Dataset made available by the professor |
dataset2 | Dataset created by the team |