Abstract
The invention is a method for calibration of machine vision detection in a process environment. The first step is obtaining a standard detection image in a basic process environment by using a visual identification device. After that, perform a correction process of the lens distortion correction, and an image processing process including binarization conversion, to obtain the basic alignment image. Then, the visual identification device is used to obtain the images of the standard test group in different process environments. After that, the same process is used to obtain individual comparison images. Finally, the majority of the image compensation coefficients are obtained by comparing the comparison images and the base image one by one. Correct images in different process environments are obtained by adding image compensation coefficients when using the visual identification device to acquire images in different process environments.