The invention discloses a
clock travel time accuracy automatic detection method based on
machine vision, and relates to the technical field of
machine vision. The method comprises the steps of capturing an image and a video
stream of a target
clock in real time through a high-resolution camera, performing preprocessing, extracting
clock dial and pointer characteristics through
Hough transform and an
image segmentation technology, calculating a pointer angle, matching the pointer angle with a standard dial image, and obtaining a
static error index; the method comprises the following steps of: dynamically tracking a pointer motion track through an
optical flow method and a
Kalman filter, analyzing the influence of environmental factors on a
travel time error, obtaining a dynamic error index, and finally, comprehensively analyzing a
static error and a dynamic error, calculating the
travel time error index of the clock, and comparing the travel
time error index with an error threshold value, so as to judge the travel time accuracy of the clock. The method can automatically and accurately detect the
timekeeper travel
time error, improves the detection efficiency, reduces personal errors, and comprehensively analyzes the influence of environmental factors on the
timekeeper travel time precision.