The invention discloses a pixel equivalent measuring method based on mobile terminal
pupil distance intelligent measurement, which comprises the following steps: calibrating a camera, and correcting
distortion through internal and external parameters obtained through calibration; image preprocessing, including image pre-identification and
image enhancement, and highlighting the edge and
angular point features of the image; coarse positioning of the calibration object: acquiring rough positions of corner points at four corners of a square frame of the calibration object; carrying out
angular point coordinate coarse positioning, and carrying out
mask processing on the image by taking an obtained
angular point and a two-dimensional neighborhood thereof as a range; refining the coordinates of the angular points, correcting and compensating the angular points, and obtaining the coordinates of the four corrected angular points; performing
perspective transformation; determining a pixel equivalent and a
transformation matrix; carrying out
verification measurement; and verifying and optimizing the determined pixel equivalent. According to the invention, an
image processing technology is utilized to solve the calibration problem during the
pupil distance measurement of the
mobile end, and a small-range straight angle point precision compensation method is utilized to automatically compensate error defects, so that the
pupil distance measurement precision is improved, and a new idea is provided for the existing method.