Using Python with OpenCV to recognize targets and determine relative position