Hex: Lego Computer Vision Project

HexHewwie

Updated 5 months ago

416

views

35

downloads
Classes (32)
1x1_black
1x1_blue
1x1_brown
1x1_green
1x1_pink
1x1_red
1x1_white
1x1_yellow
2x1_black
2x1_blue
2x1_green
2x1_pink
2x1_red
2x1_white
2x1_yellow
2x2_blue
2x2_green
2x2_pink
2x2_red
2x2_yellow
2x3_blue
2x3_green
2x3_pink
2x3_red
2x3_yellow
2x4_black
2x4_blue
2x4_green
2x4_pink
2x4_red
2x4_white
2x4_yellow

Metrics

Try This Model
Drop an image or
Description

Overview The Hex: Lego Object Detection Model utilizes the YOLOv7 algorithm to accurately identify and classify various sizes and colors of LEGO bricks. This model is designed to perform robustly under diverse lighting conditions, suitable for applications in automated sorting, inventory management, and educational tools.

Dataset This dataset, curated with Roboflow, includes 8,320 images and over 15,000 annotations, capturing LEGO bricks in different configurations and lighting environments. Data augmentation techniques were applied to enhance robustness, covering 28 distinct LEGO brick classes.

Model Using the YOLOv7 architecture, the model achieves high precision with a mean Average Precision (mAP) of 88.3% and a precision rate of 95.6%. It supports real-time detection, making it ideal for dynamic applications.

Training and Validation The model was first trained using gpu and then uploaded to roboflow to refine, with extensive hyperparameter tuning. Validation tests in both controlled and dynamic environments ensured comprehensive performance assessment.

Applications The model is suitable for:

  • Automated Sorting: Enhancing robotic systems for LEGO sorting.
  • Inventory Management: Assisting in tracking LEGO inventories.
  • Educational Tools: Providing interactive learning through real-time LEGO detection.

Use This Trained Model

Try it in your browser, or deploy via our Hosted Inference API and other deployment methods.

Supervision

Build Computer Vision Applications Faster with Supervision

Visualize and process your model results with our reusable computer vision tools.

Cite This Project

LICENSE
CC BY 4.0

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

                        @misc{
                            hex-lego_dataset,
                            title = { Hex: Lego Dataset },
                            type = { Open Source Dataset },
                            author = { HexHewwie },
                            howpublished = { \url{ https://universe.roboflow.com/hexhewwie/hex-lego } },
                            url = { https://universe.roboflow.com/hexhewwie/hex-lego },
                            journal = { Roboflow Universe },
                            publisher = { Roboflow },
                            year = { 2024 },
                            month = { jul },
                            note = { visited on 2024-12-03 },
                            }
                        
                    

Similar Projects

See More
1.7k images 1 model
1.7k images 1 model