Skip to content

xusenshi1102/UchicagoBrickFlyers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT License


Logo

3D MODELING to BLUEPRINT TECHNOLOGY

By BrickFlyer @ University of Chicago


View Demo · View Presentation

About The Project

Product Pipeline Screen Shot

3D Model Capture and LEGO Blueprint Generation Using Drones and Computer Vision is an innovative system that integrates autonomous drone navigation, computer vision, and 3D modeling to convert real-world objects into customizable LEGO blueprints. This project automates the complex process of object capture, segmentation, and 3D reconstruction to create a foundational LEGO model that users can modify and expand. Key features of the project include:

  • Autonomous Object Detection and Segmentation: Utilizes YOLO8-world and SAM2 for real-time detection and segmentation of target objects captured by a Tello drone.
  • 3D Model Reconstruction: Employs DUSt3R to convert multi-angle images into detailed 3D models.
  • LEGO Blueprint Generation: Transforms the 3D model into a LEGO design plan with step-by-step instructions using BrickLink Studio.

The system is designed for accessibility, focusing on small, everyday objects found in classrooms, such as desks and chairs, making it ideal for educational, creative, and prototyping applications.

By bridging advanced technology with LEGO's simplicity, this project lowers barriers to complex LEGO design, fostering innovation and creativity across diverse domains.

Getting Started

Follow these steps to use the system and generate a LEGO blueprint for a suitcase or any object of your choice.

Prerequisites

To ensure a smooth workflow, make sure the following prerequisites are met:

  1. Conda Virtual Environment
  2. Tello Drone (DJI Tello EDU)
  3. BrickLink LEGO Studio Software

Installation

  1. Clone the repo
git clone https://github.com/xusenshi1102/UchicagoBrickFlyers.git
  1. Create virtual environment
conda create -n brickflyer python=3.11
conda activate brickflyer
  1. Install packages
pip install -r requirements.txt
  1. Install SAM2
cd external
git clone https://github.com/facebookresearch/sam2.git && cd sam2
pip install -e .
  1. Install DUST3R
cd external
git clone --recursive https://github.com/naver/dust3r && cd dust3r
conda install pytorch torchvision pytorch-cuda=12.1 -c pytorch -c nvidia  # use the correct version of cuda for your system
pip install -r requirements.txt
  1. Check Drone Ensure that your drone and computer are connected to the same network.

Usage

Ensure your drone faces toward the object

python3 main.py --target_object --drone_ip

For a detailed demonstration, you can watch the usage video on YouTube:
Watch the Video

License

Distributed under the MIT License. See LICENSE for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages