Introduction - If you have any usage issues, please Google them yourself
Through the center of gravity method to determine the center of the image spot. According to the gray-scale pixel value and the location of the product and the total for more than face value, and then get the focus.