I am new to posting questions on this site, you will please forgive me for any anomalies;
I have a task where i need a robot using android camera to identify an object by taking various pictures of a still(not moving) object as it comes closer to the object. I am thinking to use real-time template matching of the previous image to match the image fed in by the camera and tell the robot to tilt the camera in order to match the image and finally shoot(take a clear photo). The problem is, the camera will lose sight of the object as the robot moves closer to the object and it won't have anything to compare with the previous image. Is there any way of constraining the camera to the still object as the robot comes closer?
I am doing this in order to finally obtain a large high resolution image of the still object which the robot can depend on to perform other actions.
USING: OPENCV, Android 4.2
Thanks in advance