Basilisk, is the OpenCV based software, that will look at a pre-built tower, and break it down into split colour images.
Architect is the next stage of the software, which takes the split colour images, converts them into useable blocks.xml files, and can be passed to “builder”
The image below shows the three stages of the software:
Here I have implimented colour filtering and image 'spliting' We can extract the different block types from the generated images.
Here I can compare the generated 'block blob' images to a pre-defined library to determine the closest match
Finally we can recognise orientation by comparing points on the block images.