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:

Stage 1:
Here I have implimented colour filtering and image 'spliting' We can extract the different block types from the generated images.
Stage 2:
Here I can compare the generated 'block blob' images to a pre-defined library to determine the closest match
Stage 3:
Finally we can recognise orientation by comparing points on the block images.