LEGO EMMET B200 Object Detection Computer Vision Model

byrobymarworkerTask:
Object Detection
License:CC BY 4.0

How to use the LEGO EMMET B200 Object Detection Detection API

Try This Model

Drop an image here or click to upload

Or try a test image 

Code Snippets

from inference_sdk import InferenceHTTPClient

CLIENT = InferenceHTTPClient(
    api_url="https://serverless.roboflow.com",
    api_key="API_KEY"
)

result = CLIENT.infer("YOUR_IMAGE.jpg", model_id="lego-emmet-b200-object-detection/2")
Give your agent everything it needs

Or, Use Free 10247, 11090 and 11211 Detection API

Powered by general detection model

Code
pip install inference-sdk
# 1. Import the library
from inference_sdk import InferenceHTTPClient

# 2. Connect to your workspace
client = InferenceHTTPClient(
  api_url="https://serverless.roboflow.com",
  api_key="API_KEY"
)

# 3. Run your workflow on an image
result = client.run_workflow(
  workspace_name="<YOUR_WORKSPACE>",
  workflow_id="<YOUR_WORKFLOW_ID>",
  images={
    "image": "YOUR_IMAGE.jpg"  # Path to your image file
  },
  parameters={
    "classes": "10247, 11090, 11211, 11212, 11214"
  },
  use_cache=True  # cache workflow definition for 15 minutes
)

# 4. Get your results
print(result)

Run on custom image

Drop an image here or click to upload

Detecting classes:
Or try a test image 

About LEGO EMMET B200 Object Detection Model

LEGO EMMET B200 Object Detection Project

Project Overview

The LEGO EMMET B200 Object Detection Project is focused on developing a sophisticated object detection model specifically tailored for identifying LEGO bricks. The goal is to utilize this model to suggest potential LEGO builds based on detected bricks. The dataset used for this project, sourced from Kaggle, comprises highly realistic, synthetic images designed to closely mimic real-world LEGO bricks. This dataset contains 800,000 total images, featuring 200 of the most popular LEGO parts, with 4,000 images per part, all in 64x64 RGB format.

Descriptions of Each Class Type

The dataset consists of 200 distinct LEGO parts, each representing a unique class within the model. These classes include but are not limited to:

  • Basic Bricks: Standard LEGO pieces of varying sizes, including 1x1, 2x2, and 2x4 bricks.
  • Plates: Thin, flat pieces often used as a base layer in builds.
  • Tiles: Smooth, flat pieces typically used to create finished surfaces.
  • Slopes: Angled bricks used to add incline or decline in a build.
  • Wheels and Axles: Components used for creating movable parts in LEGO constructions.
  • Minifigure Parts: Components of LEGO minifigures, including heads, torsos, and legs.

Each class is vital for the model to accurately detect and suggest creative builds using the identified bricks.

Current Status and Timeline

  • Dataset Preparation: Completed. The dataset from Kaggle has been preprocessed and is ready for model training.
  • Model Development: In progress. Initial models are being developed and fine-tuned to improve accuracy in detecting LEGO parts.
  • Testing and Evaluation: Pending. Once the model reaches a satisfactory level of performance, it will undergo rigorous testing to ensure accuracy and reliability.
  • Deployment: Future phase. The model will be deployed in an application where users can upload images of LEGO parts and receive build suggestions.

Timeline:

  • Q3 2024: Complete model development and begin testing.
  • Q4 2024: Finalize model and deploy in a user-friendly application.

Contribution and Labeling Guidelines

  • Contribution: Contributors are welcome to assist in model development, data augmentation, and improving detection accuracy. Please follow the standard guidelines for coding practices, ensuring your code is well-documented and adheres to the project’s coding standards.
  • Labeling Guidelines: When contributing to data labeling or correction, ensure that each LEGO part is accurately labeled according to its corresponding class. Labels should be precise and follow the standardized naming conventions as per the class descriptions.

Cite This Project

LicenseCC BY 4.0

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

@misc{ lego-emmet-b200-object-detection_dataset,
  title = { LEGO EMMET B200 Object Detection Dataset },
  type = { Open Source Dataset },
  author = { robymarworker },
  howpublished = { \url{ https://universe.roboflow.com/robymarworker/lego-emmet-b200-object-detection } },
  url = { https://universe.roboflow.com/robymarworker/lego-emmet-b200-object-detection },
  journal = { Roboflow Universe },
  publisher = { Roboflow },
  year = { 2024 },
  month = { oct },
  note = { visited on 2026-07-29 },
}

Similar Projects

See More