A real-time LEGO brick detection app designed for accessibility, featuring advanced computer vision and user-friendly functionalities.
The LEGO Brick Identifier is an innovative application leveraging deep learning and computer vision to detect and identify LEGO bricks in real-time. It is built with accessibility in mind, ensuring usability for individuals with color blindness or coordination challenges.
- Real-time identification of LEGO pieces
- Color detection for improved accessibility
- Text-to-speech functionality for auditory feedback
- Real-Time Detection: Utilizes DenseNet to identify LEGO pieces from live camera input
- Color Identification: Distinguishes LEGO piece colors with enhanced precision
- Text-to-Speech Feedback: Provides auditory outputs for detected bricks
- User-Friendly Interface: Accessible design with clear navigation and error recovery
- Cross-Platform Compatibility: Runs seamlessly on Android and iOS devices
- Python 3.8+
- Node.js 14+
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/yourusername/lego-brick-identifier.git
cd lego-brick-identifier- Install backend dependencies:
cd backend
pip install -r requirements.txt- Install frontend dependencies:
cd frontend
npm install- Set up and start the backend:
cd backend
uvicorn main:app --reload- Start the frontend:
cd frontend
npm start- Launch the backend server with FastAPI:
uvicorn main:app --reload- Start the frontend:
npx expo start --tunnel-
Open your browser and navigate to
http://localhost:3000 -
Point your camera feed to LEGO pieces for real-time detection and text-to-speech feedback
The LEGO Brick Identifier app consists of the following key components:
- Frontend: Built with React for a responsive user interface
- Backend: Powered by FastAPI for real-time WebSocket communication
- Model: Utilizes DenseNet for robust and accurate LEGO detection
- Performance Testing: Evaluated under load for real-time detection with up to 100 concurrent users
- Usability Testing: Assessed for ease of use, navigation, and error recovery
- Compatibility Testing: Verified across Android and iOS devices
- Successfully detects most LEGO pieces with an 80% accuracy rate
- Passed tests for cross-platform compatibility and stability
We welcome contributions to improve the app! Here's how you can get started:
- Fork the repository
- Create a new branch for your feature or fix
- Commit and push your changes
- Submit a pull request with a detailed explanation of your work
This project is licensed under the MIT License. See the LICENSE file for more details.
This project was developed by a team of dedicated students to provide a meaningful solution for LEGO enthusiasts and users with accessibility needs. Special thanks to everyone who contributed to its success!




