The invention provides a real-time dynamic scene focal plane tracking method and
tracking system, and belongs to the technical field of
image processing, and the method comprises the steps: obtaining a depth image, an
RGB image and environment illumination parameters of a current scene, carrying out the illumination compensation of the
RGB image, carrying out the preprocessing of the depth image, carrying out the fusion
processing of the features of the
RGB image and the depth image, and obtaining a comprehensive feature; then, based on the fused comprehensive features, a preset target detection model is applied to perform target identification, and at least one tracking target is obtained; thirdly, tracking the position of the tracking target by using an
optical flow method, and estimating the attitude (including the rotation angle and the inclination degree) of the tracking target in combination with the depth image; and finally, dynamically adjusting the focal plane of the RGB camera according to the
relative displacement of the tracking target and the RGB camera, and enabling the focal plane to coincide with the calculated optimal focal plane, thereby realizing real-time and accurate tracking and focal plane adjustment of the target object in the dynamic scene.