The invention relates to the field of
image processing, and discloses a lightweight container
correction method and
system based on
machine vision, and the method comprises the steps: building a detection model through enhancing the feature response of a corner fitting region, detecting a corner fitting, calculating a disparity map of a
multispectral image, reconstructing the three-dimensional coordinates of the corner fitting, and carrying out the
pose conversion; identifying time-varying parameters on line to construct a
state transition matrix, calculating predicted vibration displacement, projecting the vibration displacement to a world coordinate
system, and calculating innovative sequence variance to dynamically adjust
noise parameters; an inner and outer ring control framework is constructed, and an outer ring visual controller generates target force by calculating
pose errors in a world coordinate
system; an
inner loop force control compensator combines predicted vibration offset and
force sensor feedback to correct a mechanical arm control instruction, control
gain is scheduled through a task stage, and vibration frequency self-adaptive adjustment parameters are analyzed; and performing force control compensation based on the target force, and discretizing the continuous impedance model to obtain a recursive control law to
resist external disturbance.