The invention discloses a visual
image processing method based on an automatic calibration
system, and belongs to the technical field of
machine vision, and the method comprises the steps: image collection and input: collecting an image containing a
target line, transmitting the image data to an
image processing module, and completing image format
standardization and data loading; preprocessing the image; extracting edge information of the preprocessed image by adopting a Canny
edge detection algorithm, and retaining edge features of the
target line; performing straight line detection on the edge image by adopting probability
Hough transform, setting a
line segment length threshold and a gap threshold, screening to obtain a
target line, and extracting pixel coordinates of the target line; and converting a target line pixel coordinate into an actual
offset distance, correcting by combining with a
system operation distance measured by an
encoder to obtain a true value of the measured distance, and outputting the true value. According to the method, the problems of low
image processing precision, poor robustness and insufficient real-time performance in a traditional automatic calibration
system are solved, and the automatic calibration system is promoted to develop towards high precision, high
automation and high robustness.