core - fix lego recognition and add drawing a green frame around found logo