Smart image sensor with binocular PD array for tracking of a moving object and depth estimation