Intelligent glasses and detection method

By designing the reflective surface and preset images in smart glasses, accurately measuring the diopter of the refractive element, the problem of inaccurate measurement of pupil distance in smart glasses in the case of myopia clips is solved, and the measurement accuracy and user experience are improved.

CN119882248APending Publication Date: 2025-04-25VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510036448.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-09
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

When smart glasses are equipped with myopia clips, they cannot accurately measure the user's pupil distance and other parameters, which seriously affects the user's user experience.

Method used

A smart glasses are designed, which include a lens barrel, a protective cover, an imaging module, a refractive element and a detection light source. By providing a reflection surface on the inner wall of the protective cover, the light emitted by the detection light source is reflected into the imaging module through the reflection surface, and a detection image is formed. Combining multiple preset images, the diopter of the refractive element is determined and the measurement results of the pupil distance are adjusted.

Benefits of technology

The accuracy of smart glasses measuring user pupil distance and other parameters has been improved, and the operation accuracy and user experience of users controlling smart glasses through eye gaze.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119882248A_ABST
    Figure CN119882248A_ABST
Patent Text Reader

Abstract

The invention discloses intelligent glasses and a detection method, and belongs to the technical field of electronic equipment.The intelligent glasses comprise a lens barrel, a protective cover, a camera module, a refraction part and a detection light source, the protective cover is detachably installed on the eye side of the lens barrel, and the refraction part can be clamped between the eye side of the lens barrel and the protective cover; the camera module and the detection light source are both installed in the lens cone, the inner wall of the protective cover is provided with a reflecting surface, the reflecting surface is used for reflecting light emitted by the detection light source into the camera module and forming a detection image, and the intelligent glasses are used for detecting the detection image based on the detection image and a plurality of preset images. The diopter of the diopter between the eye side of the lens cone and the protective cover is determined, and the plurality of preset images are the diopter of the diopter between the eye side of the lens cone and the protective cover under the condition that the diopter of the diopter is different from the diopter of the diopter of the diopter of the diopter of the diopter of the diopter of the diopter of the diopter of the diopter. And light emitted by the detection light source is reflected to an image formed in the camera module through the reflecting surface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to smart glasses and a detection method. Background Art

[0002] With the continuous advancement of technology, the types and functions of electronic devices are becoming more and more diverse. Take smart glasses as an example. By equipping them with eye tracking cameras, smart glasses have the function of eye tracking, so that users can complete the purpose of selecting and other operations in the control interface of smart glasses by methods such as eye gaze, which can greatly improve the convenience of using smart glasses. Of course, in order to improve the control accuracy, before users officially use smart glasses, they usually test the user's pupil distance and other parameters. For non-myopic users, since the light propagates in a straight line between the user's eyes and the eye tracking camera, the user's pupil distance and other parameters can be accurately determined. However, for myopic users, it is usually necessary to set a myopic clip on the eye side of the smart glasses. In this case, the light between the eye tracking camera and the user will be refracted at the myopic clip, which leads to a decrease in the accuracy of the pupil distance and other parameters measured by the eye tracking camera, which seriously affects the user's experience. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a pair of smart glasses and a detection method to solve the problem that current smart glasses cannot accurately measure the user's pupil distance and other parameters when equipped with myopia clips, thereby seriously affecting the user's experience.

[0004] In a first aspect, an embodiment of the present application discloses a pair of smart glasses, which includes a lens barrel, a protective cover, a camera module, a diopter, and a detection light source. The protective cover can be detachably mounted on the eye side of the lens barrel, and the refractive element can be clamped between the eye side of the lens barrel and the protective cover. The camera module and the detection light source are both mounted on the lens barrel. The inner wall of the protective cover has a reflective surface, and the reflective surface is used to reflect the light emitted by the detection light source into the camera module to form a detection image. The smart glasses determine the refractive power of the refractive element between the eye side of the lens barrel and the protective cover based on the detection image and multiple preset images. The multiple preset images are respectively images formed when the light emitted by the detection light source is reflected by the reflective surface into the camera module when the refractive element with different refractive powers is installed between the eye side of the lens barrel and the protective cover.

[0005] In a second aspect, an embodiment of the present application discloses a detection method, which is applied to the above-mentioned smart glasses. The detection method includes: Acquire detection images; Traversing a plurality of preset images to determine a target image corresponding to the detection image; Based on a preset relationship between the one-to-one correspondence between the plurality of preset images and the plurality of diopters, the diopter of the diopters sandwiched between the eye side of the lens barrel and the protective cover is determined.

[0006] The embodiment of the present application discloses a kind of smart glasses, which includes a lens barrel and a diopter, and a camera module and a detection light source installed on the lens barrel. At the same time, a protective cover is detachably installed on the eye side of the lens barrel, and the diopter can be clamped between the eye side of the lens barrel and the protective cover. By arranging a reflecting surface on the inner wall of the protective cover, the light emitted by the detection light source can be reflected on the reflecting surface, and the reflected light is incident on the camera module to form a detection image; at the same time, a plurality of preset images are pre-stored in the smart glasses, and the plurality of preset images are respectively a diopter with different diopters installed between the eye side of the lens barrel and the protective cover. In the case of an optical component, the light emitted by the detection light source is reflected by the reflective surface to form an image in the camera module. In this case, by comparing the detected image with multiple preset images, the refractive power of the refractive component actually installed between the eye side of the lens barrel and the protective cover can be determined, so that the smart glasses can adjust the detected pupil distance and other parameters of the user based on the aforementioned refractive power, thereby ensuring that the accuracy of the determined pupil distance and other parameters of the user is relatively higher, thereby improving the accuracy of the user's selection and other operations completed in the control interface of the smart glasses by methods such as eye gaze, thereby improving the user's usage experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 A cross-sectional schematic diagram of a part of the structure of the smart glasses disclosed in the embodiment of the present application; Figure 2 This is a schematic diagram of the assembly between the protective cover and the lens barrel in the smart glasses disclosed in the embodiment of the present application; Figure 3 This is a schematic diagram of the assembly between the diopter and the lens barrel in the smart glasses disclosed in the embodiment of the present application; Figure 4 This is a schematic diagram of the assembly of the protective cover, the diopter and the lens barrel in the smart glasses disclosed in the embodiment of the present application; Figure 5 This is a schematic diagram of the process of the detection method disclosed in the embodiment of the present application.

[0008] Reference numerals: 100-Mirror, 200-protective cover, 210-cover body, 211-reflecting surface, 220-first convex edge, 300-Camera module, 400-Detection light source, 500-diopter, 510-diopter lens, 520-housing, 521-avoidance notch, 530-second convex edge, 600-optical components, 710 - first magnetic component, 720 - second magnetic component, 730 - third magnetic component, 740 - fourth magnetic component. DETAILED DESCRIPTION

[0009] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0010] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0011] like Figure 1-Figure 4 As shown, the embodiment of the present application discloses a pair of smart glasses, which include a lens barrel 100, a protective cover 200, a camera module 300, a detection light source 400 and a refractive element 500. Of course, the smart glasses can generally also include other devices such as an optical-mechanical component 600.

[0012] The lens barrel 100 may be a shell of the smart glasses, and the lens barrel 100 has an inner cavity, and the optical-mechanical assembly 600 and other devices may be installed in the inner cavity of the lens barrel 100. Of course, the camera module 300 and the detection light source 400 may also be installed in the lens barrel 100. Generally, the lens barrel 100 may be formed of a material with relatively high structural strength, such as metal or plastic, and the specific shape and size of the lens barrel 100 may be determined according to actual needs.

[0013] As described above, the optical-mechanical component 600 can be installed on the lens barrel 100, and the optical-mechanical component 600 is used to emit light to form a virtual image in the user's eyes. When the smart glasses are mixed reality devices, the light in the area corresponding to the user's eyes can also pass through the optical-mechanical component 600 and enter the user's eyes to form a real image. To this end, the optical-mechanical assembly 600 has an eye side and an object side, the side of the optical-mechanical assembly 600 facing the user is the eye side, and the side of the optical-mechanical assembly 600 facing the outside world is the object side. Correspondingly, the lens barrel 100 also has an eye side and an object side, wherein the side of the lens barrel 100 facing the user's eyes is the eye side of the lens barrel 100, and the side of the lens barrel 100 away from the user's eyes is the object side of the lens barrel 100. In the embodiment of the present application, the protective cover 200 can provide protection for the eye side of the lens barrel 100, and in order to prevent the protective cover 200 from hindering the user from using the smart glasses normally, a detachable fixed connection relationship can be formed between the protective cover 200 and the lens barrel 100, that is, the protective cover 200 can be detachably mounted on the eye side of the lens barrel 100. Of course, in other embodiments of the present application, a corresponding protective cover or other structure can also be provided on the object side of the lens barrel 100 to provide protection for the object side of the lens barrel 100 and prevent the sensor located on the object side of the smart glasses from being damaged or dirty.

[0014] At the same time, in order to improve the clarity of the image obtained by the user from the smart glasses, for myopic or hyperopic users, the smart glasses can be equipped with corresponding diopters 500, and the number of diopters 500 can be multiple, and the diopters of different diopters 500 are different, so that the user can select the diopter 500 of the corresponding diopter according to their actual situation, and use it in conjunction with the smart glasses. Generally, the diopter 500 can be installed on the eye side of the lens barrel 100 to imitate the state of the user wearing diopter glasses. Based on this, in order to ensure that the smart glasses disclosed in the embodiment of the present application can detect the diopter of the diopter 500 installed on the eye side of the lens barrel 100, in the embodiment of the present application, the diopter 500 can be sandwiched between the eye side of the lens barrel 100 and the protective cover 200. Of course, the protective cover 200, the diopter 500 and the lens barrel 100 can form a relatively fixed state to ensure that the path of light propagation between the three remains unchanged.

[0015] Based on the above structure of the smart glasses, the inner wall of the protective cover 200 is also provided with a reflective surface 211, which can reflect light, and is specifically used to reflect the light emitted by the detection light source 400, and by designing the relative position or other parameters between the detection light source 400, the camera module 300 and the reflective surface 211, it can be ensured that the light emitted by the detection light source 400 can be reflected into the camera module 300 through the reflective surface 211, and an image of the light of the detection light source 400 is formed in the camera module 300, which is recorded as a detection image.

[0016] As described above, the diopter 500 can be sandwiched between the eye side of the lens barrel 100 and the protective cover 200, and the detection light source 400 and the camera module 300 are both installed on the lens barrel 100. Therefore, when the detection light source 400 is working, the light emitted by it propagates in the direction of the protective cover 200, passes through the diopter 500 and is incident on the reflective surface 211 of the protective cover 200, and then, after being reflected on the reflective surface 211 of the protective cover 200, it passes through the diopter 500 and is incident on the camera module 300 to form the above-mentioned detection image. At the same time, since the diopter 500 has a refractive power, the diopter 500 will refract the light passing through it. When other conditions remain unchanged and the diopter of the diopter 500 installed between the eye side of the lens barrel 100 and the protective cover 200 is different, the light emitted by the detection light source 400 is reflected from the reflective surface 211 to the camera module 300 to form the detection image.

[0017] Based on this, in the embodiment of the present application, the smart glasses can determine the refractive power of the refractive element 500 installed between the eye side of the lens barrel 100 and the protective cover 200 based on the detection image and multiple preset images, so that when the user wears the smart glasses, the smart glasses can adjust the measurement result of the pupil distance accordingly according to the refractive power of the refractive element 500 installed between the eye side of the lens barrel 100 and the protective cover 200, thereby ensuring that the measurement results of the pupil distance and other parameters of the smart glasses for users with refractive errors are also relatively accurate, the detection process is relatively simple, and the accuracy is relatively high.

[0018] As described above, in the process of the smart glasses detecting the refractive power of the refractive element 500, it is necessary to compare the detected image with a plurality of preset images, wherein the plurality of preset images are standard images pre-stored in the smart glasses, and the plurality of preset images are respectively images formed when the light emitted by the detection light source 400 is reflected from the reflective surface 211 to the camera module 300 when a refractive element 500 with different refractive powers is installed between the eye side of the lens barrel 100 and the protective cover 200.

[0019] More specifically, a plurality of refractive elements 500 can be designed for the same smart glasses, and the refractive powers of the refractive elements 500 are different from each other, so that the user can choose according to his actual refractive condition, wherein the refractive powers of the plurality of refractive elements 500 can differ from each other by a preset value, and the preset value can be 50 degrees. Of course, the preset value can also be 100 degrees or 25 degrees, etc., which is not limited in this document. Accordingly, in the smart glasses, preset images corresponding to the refractive elements 500 of different refractive powers are pre-stored, and similarly, the number of preset images is the same as the type of refractive elements 500.

[0020] As described above, in the process of determining the refractive power of the refractive element 500, it is necessary to compare the detection image with multiple preset images. Specifically, in the process of comparing the detection image with the preset image, the position and size of the light spot in the comparison image can be compared, wherein the light spot is the image formed by the light emitted by the detection light source 400 reflected by the reflective surface 211 to the camera module 300.

[0021] The embodiment of the present application discloses a pair of smart glasses, which include a lens barrel 100 and a diopter 500, as well as a camera module 300 and a detection light source 400 installed on the lens barrel 100. At the same time, a protective cover 200 is detachably installed on the eye side of the lens barrel 100, and the diopter 500 can be clamped between the eye side of the lens barrel 100 and the protective cover 200. By setting a reflective surface 211 on the inner wall of the protective cover 200, the light emitted by the detection light source 400 can be reflected on the reflective surface 211, and the reflected light is incident on the camera module 300 to form a detection image; at the same time, a plurality of preset images are pre-stored in the smart glasses, and the plurality of preset images are respectively the eye side of the lens barrel 100 and the protective cover When a refractive element 500 with different refractive powers is installed between the lens barrel 100 and the protective cover 200, the light emitted by the detection light source 400 is reflected by the reflection surface 211 to form an image in the camera module 300. In this case, by comparing the detection image with multiple preset images, the refractive power of the refractive element 500 actually installed between the eye side of the lens barrel 100 and the protective cover 200 can be determined, so that the smart glasses can adjust the detected user's pupil distance and other parameters accordingly based on the aforementioned refractive power, thereby ensuring that the accuracy of the determined user's pupil distance and other parameters is relatively higher, thereby improving the accuracy of the user's selection and other operations completed in the control interface of the smart glasses by methods such as eye gaze, thereby improving the user's usage experience.

[0022] As described above, the smart glasses include a detection light source 400. Optionally, the number of the detection light source 400 is one. In order to improve the detection accuracy, in another embodiment of the present application, the number of the detection light sources 400 is multiple, and the multiple detection light sources 400 can be distributed at intervals along the axial direction of the lens barrel 100. At the same time, the specific positions and orientations of the multiple detection light sources 400 can be designed according to the specific positions and parameters of the reflective surface 211 and the camera module 300, so that the light emitted by the multiple detection light sources 400 can be irradiated onto the reflective surface 211, and after being reflected on the reflective surface 211, it is incident on the camera module 300 to form the above-mentioned detection image. That is, in the embodiment of the present application, the reflective surface 211 is used to reflect the light emitted by each of the multiple detection light sources 400 into the camera module 300 to form a detection image.

[0023] Optionally, the detection light source 400 is a visible light source. In order to minimize the user's perception of the detection process, in another embodiment of the present application, the detection light source 400 is an infrared light source. In this case, the user can be prevented from perceiving the infrared light emitted by the detection light source 400, making the detection process imperceptible and improving the user experience.

[0024] As described above, the protective cover 200 is detachably mounted on the eye side of the lens barrel 100. Optionally, the protective cover 200 and the lens barrel 100 can be detachably fixedly connected by a detachable connection structure such as a buckle. In order to further improve the convenience of disassembly and assembly of the protective cover 200, in the embodiment of the present application, the smart glasses may further include a first magnetic member 710 and a second magnetic member 720, and the first magnetic member 710 is arranged on the lens barrel 100, and the second magnetic member 720 is arranged on the protective cover 200. By designing the magnetic pole distribution of the first magnetic member 710 and the second magnetic member 720, the first magnetic member 710 and the second magnetic member 720 can be magnetically adsorbed, and in this case, the protective cover 200 is located on the eye side of the lens barrel 100, so as to achieve the purpose of fixing the protective cover 200 on the lens barrel 100. Accordingly, when the protective cover 200 needs to be removed, it is only necessary to apply a certain pulling force to the protective cover 200 to remove the protective cover 200, which makes the protective cover 200 relatively more convenient to disassemble and assemble, and makes the protective cover 200 relatively longer in disassembly and assembly life.

[0025] Specifically, the first magnetic member 710 and the second magnetic member 720 can be permanent magnets to reduce costs and assembly difficulty. In addition, during the installation process, the first magnetic member 710 can be embedded in the interior of the lens barrel 100, and the second magnetic member 720 can be embedded in the interior of the protective cover 200, which makes the installation stability of the first magnetic member 710 and the second magnetic member 720 relatively higher. In addition, the side walls of the lens barrel 100 and the protective cover 200 are all closed annular structures as a whole. In this case, the number of the first magnetic member 710 and the second magnetic member 720 can be multiple, and multiple first magnetic members 710 are distributed along the circumferential spacing of the lens barrel 100, and multiple second magnetic members 720 are distributed along the circumferential spacing of the protective cover 200, and correspond to multiple first magnetic members 710 one by one. In another embodiment of the present application, the first magnetic member 710 and the second magnetic member 720 can also be closed annular structures, which can further enhance the reliability of the fixed connection relationship between the protective cover 200 and the lens barrel 100.

[0026] As described above, the protective cover 200 and the lens barrel 100 can form a detachable fixed connection relationship by means of magnetic attraction. Since the fixed relationship formed by the magnetic method is easily destroyed by external force, in the embodiment of the present application, the protective cover 200 can include a cover body 210 and a first flange 220, wherein the second magnetic member 720 is arranged on the cover body 210, and the inner wall of the cover body 210 has the above-mentioned reflective surface 211. At the same time, the first flange 220 is connected to one end of the cover body 210, so that the protective cover 200 can form a more stable matching relationship with the lens barrel 100 through the first flange 220.

[0027] Specifically, one end of the lens barrel 100 facing the protective cover 200 may be provided with a groove-like structure corresponding to the first convex edge 220, so that when the first convex edge 220 is inserted into the aforementioned groove, the protective cover 200 and the lens barrel 100 can form a limited matching relationship in a direction perpendicular to the suction direction of the first magnetic member 710 and the second magnetic member 720. In order to further reduce the difficulty of disassembly and assembly between the protective cover 200 and the lens barrel 100, and make the overall structural stability of the lens barrel 100 relatively higher, in another embodiment of the present application, the first convex edge 220 can be sleeved outside the lens barrel 100, and then the structure of the lens barrel 100 does not need to be processed again, so as to prevent the structural strength of the lens barrel 100 from decreasing. In this case, due to the limiting effect of the first convex edge 220, the first convex edge 220 can also be limitedly matched with the lens barrel 100 in a direction perpendicular to the suction direction of the first magnetic member 710 and the second magnetic member 720, thereby improving the reliability of the fixed connection relationship between the protective cover 200 and the lens barrel 100.

[0028] Of course, when the first convex edge 220 is located outside the outer wall of the lens barrel 100, the number of the first convex edge 220 can be multiple, and the multiple first convex edges 220 can be arranged at intervals along the circumference of the lens barrel 100, or the first convex edge 220 can be a closed ring structure, and the first convex edge 220 can be integrally sleeved outside the lens barrel 100. In addition, in order to further improve the reliability of the assembly relationship between the protective cover 200 and the lens barrel 100, in the embodiment of the present application, the inner wall of the first convex edge 220 and the outer wall of the lens barrel 100 can also be non-circular structures. In this case, when the first convex edge 220 is correspondingly sleeved outside the lens barrel 100, relative rotation between the first convex edge 220 and the lens barrel 100 can be prevented, thereby further improving the assembly stability between the protective cover 200 and the lens barrel 100.

[0029] As described above, a diopter 500 may be sandwiched between the eye side of the lens barrel 100 and the protective cover 200. To this end, in the embodiment of the present application, the smart glasses may include the diopter 500. In order to improve the convenience of disassembly and assembly between the protective cover 200 and the lens barrel 100 and the diopter 500, in the embodiment of the present application, a third magnetic member 730 and a fourth magnetic member 740 may be provided on the diopter 500. By designing the magnetic pole distribution of the third magnetic member 730 and the fourth magnetic member 740, the third magnetic member 730 can be magnetically adsorbed to the first magnetic member 710, and the fourth magnetic member 740 can be magnetically adsorbed to the second magnetic member 720, so that the diopter 500 can be magnetically installed on the eye side of the lens barrel 100, and the protective cover 200 can be magnetically installed on the side of the diopter 500 away from the lens barrel 100, so as to facilitate the detection process.

[0030] Similarly, the third magnetic member 730 and the fourth magnetic member 740 can also be permanent magnets, and can be correspondingly made into closed ring structures, and the third magnetic member 730 and the fourth magnetic member 740 can also be embedded in the diopter 500. In addition, when the smart glasses include a plurality of diopters 500 with different diopters, each diopter 500 can be provided with the third magnetic member 730 and the fourth magnetic member 740.

[0031] Of course, different diopter 500 can use the same housing 520, and by equipping the diopter lenses 510 with different parameters, different diopter 500 can have different diopter. That is, the diopter 500 can include a housing 520 and a diopter lens 510, wherein the diopter lens 510 is embedded in the housing 520, and the diopter 500 can form a corresponding assembly relationship with the lens barrel 100 and the protective cover 200 through its housing 520.

[0032] In order to improve the stability of the assembly relationship between the diopter 500 and the lens barrel 100, in the embodiment of the present application, the diopter 500 may further include a second convex edge 530, and the second convex edge 530 may be connected to one end of the housing 520, and then the second convex edge 530 may be used to form a matching relationship with the lens barrel 100, so as to achieve the purpose of limiting the matching of the second convex edge 530 and the lens barrel 100 in a direction perpendicular to the suction direction of the first magnetic member 710 and the third magnetic member 730. Specifically, the second convex edge 530 may also be located outside the lens barrel 100, and the second convex edge 530 may also be a closed ring structure, so as to improve the reliability of the limiting matching relationship between the second convex edge 530 and the lens barrel 100.

[0033] As described above, the protective cover 200 may include a first protrusion 220. Based on this, when the smart glasses include a refractive element 500, the shell 520 of the refractive element 500 may be provided with an avoidance notch 521, and the first protrusion 220 of the protective cover 200 may be embedded in the avoidance notch 521, so that the first protrusion 220 is integrally sleeved outside the shell 520 of the refractive element 500, so that a limiting fitting relationship can be formed between the protective cover 200 and the refractive element 500 in a direction perpendicular to the attraction direction of the first magnetic element 710 and the third magnetic element 730, thereby improving the stability of the assembly relationship between the protective cover 200 and the refractive element 500.

[0034] Based on the smart glasses disclosed in the above embodiments, the present application also discloses a detection method, which can be applied to smart glasses including a lens barrel, a protective cover, a camera module and a detection light source. Figure 5 As shown, the detection method includes: S1. Acquire a detection image; specifically, by controlling the detection light source to work, the light emitted by the detection light source can be reflected on the reflective surface of the protective cover, and the reflected light is incident on the camera module to form a detection image. More specifically, the detection image can be a real image. In another embodiment of the present application, in order to reduce the difficulty of comparison between the detection image and the preset image and improve the convenience of comparison, the real image can be binarized to obtain the detection image.

[0035] S2. Traverse multiple preset images to determine a target image corresponding to the detection image; specifically, by comparing the equivalent position of the light spot in each preset image in the detection image with the actual position of the light spot in the detection image, if the aforementioned equivalent position of the light spot in a preset image coincides with the actual position of the light spot in the detection image, then the preset image is considered to be the target image.

[0036] S3, based on the one-to-one correspondence between the plurality of preset images and the plurality of diopters, determine the diopter of the diopters sandwiched between the eye side of the lens barrel and the protective cover. Specifically, by pre-calibrating, diopters with different diopters are sandwiched between the eye side of the lens barrel and the protective cover in sequence, and corresponding images are acquired, the plurality of images are the preset images, and there is a one-to-one correspondence between the plurality of preset images and the diopters of the corresponding diopters, and then, when the target image is determined, the diopter of the diopters corresponding to the target image can be determined according to the corresponding preset relationship.

[0037] As mentioned above, in the process of determining the target image, it is necessary to compare the positions of the light spots in the detection image and the preset image. Specifically, when the equivalent position of the light spots in the preset image in the detection image is the same as the position of the light spots in the detection image, the preset image is considered to be the above-mentioned target image.

[0038] Taking into account that there may be certain errors in the detection process, and in order to reduce the difficulty of detection, in another embodiment of the present application, when the distance between the equivalent position of a light spot in a preset image in the detection image and the actual position of the light spot in the detection image is less than the preset distance, the preset image is considered to be the target image, which can greatly reduce the difficulty of detection. Moreover, since the refractive power of one of the multiple refractive elements used in the process of forming the preset image must be equal to the refractive power of the refractive element actually clamped between the eye side of the lens barrel and the protective cover, in the embodiment of the present application, by designing the specific value of the preset distance, even if the equivalent position of the light spot in the preset image in the detection image during the detection process does not completely coincide with the actual position of the light spot in the detection image, it can be ensured that the refractive power of the refractive element determined during the detection process is an accurate refractive power.

[0039] In the above embodiment, the number of detection light sources provided on the smart glasses can be one, in which case, there is only one light spot on each preset image and the detection image. In order to further reduce the difficulty of detection, in another embodiment of the present application, as described above, the number of detection light sources can be multiple, in which case, the reflective surface is used to reflect the light emitted by each detection light source to the camera module. Accordingly, in the detection method disclosed in the embodiment of the present application, the light spots in the detection image and the multiple preset images can be images after binarization. In detail, a threshold value can be set, and the image taken by the camera module can be binarized, wherein an image greater than or equal to the threshold value can be set to a grayscale maximum value, and the image displayed is the light spot, and correspondingly, an image less than the aforementioned threshold value can be set to a grayscale minimum value, i.e., 0, which makes it no longer displayed as an image. In this case, the difficulty of contrast between the detection image and the preset image can be reduced.

[0040] Of course, in the case where the light spots in the detection image and the preset image are both binarized images, it is possible that the number of light spots in the image is less than the number of detection light sources. For this reason, in the process of determining the target image by the detection method disclosed in the embodiment of the present application, if the absolute value of the difference between the number of target points in a preset image and the number of light spots in the detection image is less than a preset threshold, the preset image is considered to be the target image. Of course, the size of the preset threshold can be related to the specific number of detection light sources, which is not limited herein.

[0041] Among them, the aforementioned target points are light points in the target image corresponding to the light points in the detection image. In other words, if a preset image is a target image, the number of light points in the target image (i.e., target points) should generally be the same as the number of light points in the detection image, and the equivalent positions between multiple light points should be the same one-to-one. Of course, affected by detection errors, the number of light points in the target image (i.e., target points) may be less than or greater than the number of light points in the detection image. For this reason, when the absolute value of the difference between the number of target points in a preset image and the number of light points in the detection image is less than a preset threshold, the preset image is considered to be a target image. This can also improve the detection efficiency of the detection method for the results, and can ensure that the detection accuracy of the detection method meets the requirements.

[0042] Of course, in an embodiment of the present application, when the equivalent position of a light spot in a preset image in the detection image is the same as the actual position of the light spot in the detection image, the light spot is considered to be the target point in the target image. Alternatively, referring to the above embodiment, if the distance between the equivalent position of a light spot in a preset image in the detection image and the actual position of the light spot in the detection image is less than the preset distance, the light spot is considered to be the target point in the target image.

[0043] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0044] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A pair of smart glasses, characterized in that: It includes a lens barrel, a protective cover, a camera module, a diopter and a detection light source. The protective cover can be detachably mounted on the eye side of the lens barrel, and the refractive element can be clamped between the eye side of the lens barrel and the protective cover. The camera module and the detection light source are both mounted on the lens barrel. The inner wall of the protective cover has a reflective surface, and the reflective surface is used to reflect the light emitted by the detection light source into the camera module to form a detection image. The smart glasses determine the refractive power of the refractive element between the eye side of the lens barrel and the protective cover based on the detection image and multiple preset images. The multiple preset images are respectively images formed when the light emitted by the detection light source is reflected by the reflective surface into the camera module when the refractive element with different refractive powers is installed between the eye side of the lens barrel and the protective cover.

2. The smart glasses according to claim 1, characterized in that: There are multiple detection light sources, and the reflection surface is used to reflect the light emitted by each of the detection light sources into the camera module to form the detection image.

3. The smart glasses according to claim 1, characterized in that: The detection light source is an infrared light source.

4. The smart glasses according to claim 1, characterized in that: It also includes a first magnetic component and a second magnetic component, wherein the first magnetic component is disposed on the lens barrel, and the second magnetic component is disposed on the protective cover, and the first magnetic component is used for magnetic adsorption with the second magnetic component.

5. The smart glasses according to claim 4, characterized in that: The protective cover includes a cover body and a first protrusion, the second magnetic member is arranged on the cover body, and the inner wall of the cover body has the reflecting surface, the first protrusion is connected to one end of the cover body, and in a direction perpendicular to the attraction direction of the first magnetic member and the second magnetic member, the first protrusion is limitedly matched with the lens barrel.

6. The smart glasses according to claim 4, characterized in that: The diopter is provided with a third magnetic component and a fourth magnetic component. The third magnetic component is used for magnetic adsorption with the first magnetic component, and the fourth magnetic component is used for magnetic adsorption with the second magnetic component.

7. The smart glasses according to claim 6, characterized in that: The refractive element includes a refractive lens, a shell and a second protrusion, wherein the refractive lens is embedded in the shell, and the second protrusion is connected to one end of the shell, and the second protrusion is limitedly matched with the lens barrel in a direction perpendicular to the attraction direction of the first magnetic element and the third magnetic element.

8. A detection method, applied to the smart glasses according to claim 1, characterized in that: The detection method comprises: Acquire detection images; Traversing a plurality of preset images to determine a target image corresponding to the detection image; Based on a preset relationship between the one-to-one correspondence between the plurality of preset images and the plurality of diopters, the diopter of the diopters sandwiched between the eye side of the lens barrel and the protective cover is determined.

9. The detection method according to claim 8, characterized in that: The distance between the equivalent position of the light spot in the target image in the detection image and the actual position of the light spot in the detection image is smaller than a preset distance.

10. The detection method according to claim 8, characterized in that: In the smart glasses, the number of the detection light sources is multiple, and the reflection surface is used to reflect the light emitted by each of the detection light sources to the camera module to form the detection image; in the detection method: The light spots in the detection image and the plurality of preset images are all binarized images; An absolute value of a difference between the number of target points in the target image and the number of light spots in the detection image is less than a preset threshold, wherein the target point is a light spot in the target image corresponding to a light spot in the detection image.