A camera apparatus and method which selects a main object for camera autofocus control. Captured images are input to a convolution neural network (CNN) which is configured for generating pose information. The pose information is utilized in a process of tracking and determining trajectory similarities between the camera trajectory and the trajectory of each of said multiple objects. A main object of focus is then selected as the main object based on which objects maintains the smallest difference in trajectory between camera and object. The autofocus operation of the camera is based on position and trajectory of this main object.
DETECTION OF MAIN OBJECT FOR CAMERA AUTO FOCUS