Turning the plane using image processing

We are trying to follow a plane using image processing. Generally, people direct their planes by putting a waypoint closer to the plane that is being followed. Is there a way to input roll-pitch-yaw the plane using the information from the processed image?