Skip to content
/ lego-warp Public

Detects a green LEGO backplane, crops it, and normalizes perspective.

License

Notifications You must be signed in to change notification settings

wasv/lego-warp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Detects a green LEGO backplane, crops it, and normalizes perspective.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages