Disclosure of Invention
the technical problem to be solved by the present invention is to provide a method for controlling zoom glasses to solve the problem of lack of effective control of zoom glasses according to pupil data information, in view of the above-mentioned drawbacks of the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: the control method of the zoom spectacles comprises a spectacle frame, a zoom lens group fixed on the spectacle frame and two cameras arranged on the spectacle frame and facing towards the human eyes, and comprises the following steps:
Acquiring image information corresponding to the pupil through a camera;
processing image information and acquiring pupil real-time parameters, wherein the pupil real-time parameters at least comprise a pupil position and a fixation point distance;
and adjusting the focal length of the corresponding zoom lens group according to the pupil position and the fixation point distance, and adopting a proper focal length to refract light rays into human eyes and clearly image on retinas of the human eyes.
Preferably, the control method includes:
and establishing pupil coordinates based on a camera coordinate system by utilizing a space geometric relation between the camera coordinate system and the eyeballs, and calculating the fixation point distance of the pupils by combining pupil real-time parameters.
Wherein, the preferred scheme is: the pupil real-time parameters are one or more of pupil position, pupil size, pupil radian, gazing depth and distance between the pupil and the zoom lens group.
preferably, the control method further includes: detecting eye movement according to the pupil real-time parameters, and detecting pupil position change; acquiring a direct viewing angle of human eyes according to the pupil position; and adjusting the focal length of the zoom lens group according to the direct viewing angle and the fixation point distance of human eyes, and adopting a proper focal length to refract light rays into the human eyes and clearly image on retinas of the human eyes.
Preferably, the control method further includes:
Establishing pupil coordinates based on a camera coordinate system by utilizing a space geometric relation between the camera coordinate system and the eyeballs;
Acquiring a corneal curvature center coordinate according to the pupil real-time parameter and in combination with the pupil coordinate;
And calculating the fixation point distance of the pupil by combining the corneal curvature center coordinate and the pupil coordinate.
wherein, the preferred scheme is: the control method further comprises the following steps:
the pairing relation between the fixation point distance and the focal length of the zoom lens group is set;
Acquiring a focusing area of the zoom lens group according to the pupil position;
And acquiring the focal length of the focusing area according to the distance of the fixation point.
Wherein, the preferred scheme is: the zoom lens group comprises a front zoom lens, a rear zoom lens, a front translation driving mechanism and a rear translation driving mechanism, wherein the front zoom lens and the rear zoom lens are arranged in parallel, and the rear zoom lens is positioned behind the front zoom lens; the front translation driving mechanism and the rear translation driving mechanism respectively drive the two front zoom lenses and the two rear zoom lenses to move left and right in the horizontal direction so as to adjust focal length through superposition of different areas of the front zoom lenses and the rear zoom lenses; the processing unit is electrically connected with the front translation driving mechanism and the rear translation driving mechanism respectively.
Wherein, the preferred scheme is: one surface of the front zoom lens and one surface of the rear zoom lens are horizontal planes, and the other surface of the front zoom lens and the rear zoom lens are non-horizontal curved surfaces which are up and down according with mathematical change rules; the non-horizontal curved surfaces of the lenses are provided with a highest point and a lowest point; a plurality of continuously-changed optical centers are uniformly distributed between the highest point and the lowest point of the non-horizontal curved surface of the lens along the non-horizontal curved surface of the lens; the refractive powers of the plurality of optical centers are sequentially decreased or increased.
Wherein, the preferred scheme is: the front translation driving mechanism and the rear translation driving mechanism respectively comprise a driving motor which is respectively connected with the processing unit and the front zoom lens or the rear zoom lens, and the driving motor drives the corresponding front zoom lens or the corresponding rear zoom lens to move under the control of the processing unit, so that the focal length is adjustable.
Compared with the prior art, the method has the advantages that the degree of eyes is adapted by controlling the variable-focus glasses according to the pupil image information through the control method of the variable-focus glasses, namely, light rays are refracted into the eyes by adopting a proper focal length and are clearly imaged on retinas of the eyes; processing the image to obtain pupil real-time parameters, wherein the pupil real-time parameters at least comprise a pupil position and a fixation point distance, so that the current state of the pupil is judged to realize reasonable control of the zoom glasses, the defect that the existing zoom glasses can change along with direction movement and can not change along with through hole change is overcome, and the user experience is improved; and under a preset program, executing corresponding control commands according to different pupil real-time parameters, and controlling the zoom glasses to adjust the focal length at the pupil gazing point according to the pupil real-time parameters.
Detailed Description
The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
as shown in fig. 1 and 2, the present invention provides a preferred embodiment of a control method of variable focus glasses.
A control method of a pair of zoom glasses comprises a glasses frame 100, a pair of zoom lenses 200 fixed on the glasses frame 100 and two cameras 300 arranged on the glasses frame 100 and facing to the human eyes. Specifically, the zoom lens group 200 performs zooming to adapt to the degree of human eyes, that is, light rays are refracted into human eyes by adopting a proper focal length and are clearly imaged on retinas of the human eyes; and the camera 300 collects the image information of the pupils of the human eyes in real time according to a certain frequency, and controls the zoom glasses according to a preset control mode and the image information.
The control method comprises the following steps:
Step S11, acquiring image information corresponding to the pupil through the camera 300;
Step S12, processing image information and acquiring pupil real-time parameters, wherein the pupil real-time parameters at least comprise a pupil position and a fixation point distance;
And step S13, adjusting the focal length of the corresponding zoom lens group 200 according to the pupil position and the fixation point distance, and refracting the light rays into human eyes by adopting a proper focal length and forming clear images on the retinas of the human eyes.
specifically, the pupil position is acquired, the visual focusing area of human eyes is determined, and the corresponding focusing area is adjusted to the required focal length, so that the user can clearly acquire the surrounding environment picture when the pupil turns. In step S10, the camera 300 takes a picture according to the shooting frequency to acquire a plurality of images, thereby acquiring the image information of the corresponding pupil. In step S20, the image is processed to obtain pupil real-time parameters, which at least include a pupil position and a gaze point distance, so as to determine the current state of the pupil, thereby implementing reasonable control of the zoom glasses, solving the problem that the existing zoom glasses can change along with the movement of the direction and can not change along with the change of the through hole, and improving user experience.
in this embodiment, the control method further includes:
The space geometric relation between the camera 300 coordinate system and the eyeballs is utilized to establish the pupil coordinates in the camera 300 coordinate system, and the fixation point distance of the pupil is calculated by combining with the pupil real-time parameters.
specifically, the coordinates of the pupil are obtained through the coordinate system of the camera 300 and according to image processing, so that the parameters of the through hole are comprehensively obtained, and the accuracy of the real-time parameters of the pupil is improved.
further, and with reference to fig. 3, the steps of the control method further include:
Step S21, establishing pupil coordinates in the coordinate system based on the camera 300 by using the space geometric relationship between the coordinate system of the camera 300 and the eyeball;
step S22, acquiring corneal curvature center coordinates according to the pupil real-time parameters and in combination with the pupil coordinates;
And step S23, calculating the fixation point distance of the pupil by combining the corneal curvature center coordinate and the pupil coordinate.
The pupil coordinates are deduced through the position relation between the camera 300 coordinate system and the pupil and are used as the cornea curvature center coordinates, so that the fixation point distance of the pupil is calculated on the premise of acquiring the pupil position.
In this embodiment, and referring to fig. 4, the steps of the control method further include:
first, the real-time pupil parameters include one or more of pupil position, pupil size, pupil radian, gaze depth, and distance between the pupil and the zoom lens set 200.
Step S31, eye movement detection is carried out according to the pupil real-time parameters, and pupil position change is detected;
Step S32, acquiring the direct viewing angle of human eyes according to the pupil position;
And step S33, adjusting the focal length of the zoom lens group 200 according to the direct viewing angle and the fixation point distance of human eyes, refracting light rays into the human eyes by adopting a proper focal length, and forming clear images on the retinas of the human eyes.
controlling the camera 300 to acquire an image of the eye at a certain frequency to form image information, preferably to acquire a pupil image; processing the image to obtain the biological characteristics of the pupil and form pupil real-time parameters; and under a preset program, executing corresponding control commands according to different pupil real-time parameters, and controlling the zoom glasses to adjust the focal length at the pupil gazing point according to the pupil real-time parameters.
in this embodiment, and referring to fig. 5, the steps of the control method further include:
Step S41, setting a pairing relationship between the gaze point distance and the focal length of the zoom lens group 200;
Step S42, obtaining a focusing area of the zoom lens group 200 according to the pupil position;
And step S43, acquiring the focal length of the focusing area according to the gazing point distance.
The problem that the direction of eyes of people cannot be acquired in time, so that focal lengths of different eye directions cannot be adjusted rapidly and user experience is poor is solved; and, solve the problem that it is difficult to focus with the side position in the central position, can also miniaturize the varifocal glasses, make the varifocal glasses light and miniaturized.
as shown in fig. 6 to 8, the present invention provides a preferred embodiment of a zoom lens.
The zoom lens group 200 comprises a front zoom lens 211, a rear zoom lens 212, a front translation driving mechanism and a rear translation driving mechanism, wherein the front zoom lens 211 and the rear zoom lens 212 are arranged in parallel, and the rear zoom lens 212 is located behind the front zoom lens 211; the front translation driving mechanism and the rear translation driving mechanism respectively drive the two front zoom lenses 211 and the two rear zoom lenses 212 to move left and right in the horizontal direction, so that different areas of the front zoom lenses 211 and the rear zoom lenses 212 are overlapped to adjust the focal length; wherein, the processing unit 400 is electrically connected with the front translation driving mechanism and the rear translation driving mechanism respectively.
specifically, and referring to fig. 6 and 7, each of the front and rear translation driving mechanisms includes a lens holder 220, a toothed plate 230, and a lead screw motor 240, the lens holder 220 is provided with a slot for mounting the front zoom lens 211 or the rear zoom lens 212, the toothed plate 230 is fixedly connected with the lens holder 220, an external thread of a lead screw of the lead screw motor 240 engages with a helical tooth of the toothed plate 230, and the lens holder 220 is driven to move under the driving of the lead screw motor 240, so that the front zoom lens 211 and the rear zoom lens 212 move independently.
The lens holder 220 is provided with an upper bump 221 that is engaged with a mechanical contact of the rear zoom lens 212 translational limit switch. And, the sliding shaft 110 is respectively installed at the upper end portion and the lower end portion of the eyeglass frame 100 through bearings. The lens holders 220 are slidably coupled to the corresponding slide shafts 110, respectively.
In the present embodiment, and referring to fig. 8, one surface of the front zoom lens 211 and the rear zoom lens 212 is a horizontal surface, and the other surface thereof is a non-horizontal curved surface having a height and a relief according to a mathematical variation rule; the lens (such as the front zoom lens 211) is provided with a highest point 2101 and a lowest point 2102 on the non-horizontal curved surface; a plurality of continuously-changed optical centers are uniformly distributed between the highest point and the lowest point of the non-horizontal curved surface of the lens along the non-horizontal curved surface of the lens; the refractive powers of the plurality of optical centers are sequentially decreased or increased.
preferably, the highest point 2101 and the lowest point 2102 of the front zoom lens 211 and the rear zoom lens 212 are 2 focuses, which are +3.00D and myopic-8.00D, respectively, and an optical center is evenly distributed in the middle of the 2 focuses every 1mm, and the degree is decreased in the order of 1.00D. The diopter changes steadily during the movement process by the mutual movement and cooperation of the front zoom lens 211 and the rear zoom lens 212, and the diopter of the zoom lens assembly 200 can be controlled precisely by controlling the mutual relationship between the front zoom lens 211 and the rear zoom lens 212.
In this embodiment, the front and rear translation driving mechanisms each include a driving motor respectively connected to the processing unit 400 and the front zoom lens 211 or the rear zoom lens 212, and the driving motors drive the corresponding front zoom lens 211 or the rear zoom lens 212 to move under the control of the processing unit 400, so as to adjust the focal length.
the above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the scope of the present invention, but rather as embodying the invention in a wide variety of equivalent variations and modifications within the scope of the appended claims.