| CPC G06F 3/0312 (2013.01) [G06F 3/04812 (2013.01); G06F 3/04815 (2013.01); G06F 3/0484 (2013.01); G06F 3/0488 (2013.01)] | 17 Claims |

|
1. A pointer positioning method, wherein the method comprises:
on the condition that a virtual pointer rotates in a first dial image at a first preset angle, detecting quantities of first pixel points corresponding to a plurality of first rotation positions;
according to the quantities of the first pixel points corresponding to the plurality of first rotation positions, determining a first target position where the virtual pointer is located;
according to the first target position, determining a target angle value between a target pointer in an instrument dial corresponding to the first dial image and a reference position; and
according to the target angle value, searching a target scale value corresponding to the target pointer from a corresponding relationship between preset angle values and scale values;
wherein the first preset angle is larger than a preset threshold, and the step of according to the first target position, determining the target angle value between the target pointer in the instrument dial corresponding to the first dial image and the reference position comprises:
according to the first target position, determining a rotation range of the virtual pointer in the first dial image;
on the condition that the virtual pointer rotates in the rotation range at a second preset angle, detecting quantities of second pixel points corresponding to a plurality of second rotation positions;
according to the quantities of the second pixel points corresponding to the plurality of second rotation positions, determining a second target position where the virtual pointer is located; and
according to the second target position, determining the target angle value between the target pointer in the instrument dial corresponding to the first dial image and the reference position.
|