Skip to content
Detects a green LEGO backplane, crops it, and normalizes perspective.
C++ CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
src
.gitignore
CMakeLists.txt
LICENSE
README.md

README.md

LEGO Warp

Detects a green lego backplane, then crops and warps the image to isolate the backplane.

Used primarily with my LEGO schedule system.

Building

    mkdir build
    cd build
    cmake ..
    make

Usage

    ./lego-detect [path to images] # Detects green lego backplanes. Outputs images as result-[000-999].jpg
    ./sched-read result-*.jpg # Reads resulting images and detects color of brick in each spot. Hardcoded to 64x32 resolution for now.
You can’t perform that action at this time.