OpenCV  parts of Maslab robot code