The present application belongs to the technical field of 3D AOI industrial vision detection, and relates to a fiducial point detection method and device for electronic devices and a readable storage medium. A fiducial point to-be-positioned region image is collected, the fiducial point to-be-positioned region image is detected, and at least one coarse positioning circular region where the fiducial point is located is obtained. Based on the
radius of each coarse positioning circular region and the
radius of a standard fiducial point, the positioning
score of each coarse positioning circular region is calculated. The coarse positioning circular region with a positioning
score greater than a preset positioning
score threshold is taken as a target coarse positioning circular region. The edge points of the target coarse positioning circular region are extracted multiple times, the edge points extracted each time are fitted, and multiple fitting circles corresponding to the target coarse positioning circular region are obtained. The difference between the
radius of each fitting circle and the radius of the standard fiducial point is calculated, the fitting circle with the smallest difference is taken as the
best fitting circle, and thus the fiducial point of the electronic device is obtained, effectively improving the detection precision and detection efficiency of the fiducial point.