Image acquisition method and system for AR glasses

By collecting user pupil data and image data in AR glasses, building a personalized color display scheme, and combining it with cloud servers for 3D image model processing and gesture recognition, the shortcomings of existing AR glasses in terms of user personalized needs and interactivity are solved. , achieving a more efficient user experience and display effect.

CN118674906BActive Publication Date: 2024-10-25东莞市三奕电子科技股份有限公司
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411118454.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-10-25
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

Existing AR glasses have shortcomings in handling users' personalized needs. They cannot make personalized adjustments according to users' visual preferences. The image processing and display effects are not good, and the flexibility and intelligence of user interaction also need to be improved.

Method used

By displaying a solid color image when the user wears it for the first time, collecting user pupil data, obtaining the user's color reaction pattern, adjusting the color display scheme, and using the cloud server for image data recognition and 3D image model construction, combined with user gestures and viewpoint signals for real-time control. Record and upload control data for personalization and presentation.

Benefits of technology

It effectively improves the user experience and satisfaction, improves the image display effect, reduces the difficulty of operation, and enhances the flexibility and intelligence of user interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674906B_ABST
    Figure CN118674906B_ABST
Patent Text Reader

Abstract

The present invention discloses an image acquisition method and system for AR glasses, and relates to the field of AR glasses image processing technology, including AR glasses displaying a pure color image when a user wears them for the first time, collecting user pupil data, obtaining the user's color reaction mode, and adjusting the color to form a user color display scheme; AR glasses collect image data and environmental data and upload them to a cloud server, the cloud server performs image data recognition and classification and constructs a 3D image model and transmits it to the AR glasses, and the AR glasses adjust the color of the 3D image model according to the user color display scheme. The present invention forms a user color display scheme by testing the user's color reaction, and then uploads the collected image data and environmental data to the cloud server to generate a 3D image model, and performs personalized adjustments according to the user's color display scheme, which effectively improves the user experience and satisfaction, improves the image display effect, and at the same time controls the AR glasses by recognizing user gesture signals and viewpoint signals, reducing the difficulty of operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of AR glasses image processing technology, and in particular to an image acquisition method and system for AR glasses. Background Art

[0002] Since the Augmented Reality (AR) technology was proposed in the early 1990s, it has become one of the important research directions in the field of science and technology. AR glasses, as an important application carrier of AR technology, aim to provide users with a richer visual experience by superimposing computer-generated information in the real world. In recent years, AR glasses have shown broad application prospects in consumer electronics, medical, education, industry and other fields. Most of the existing AR glasses use cameras and sensors to obtain images of the external environment, and process these image data in real time through built-in processing units to superimpose the enhanced information in the user's field of view. The existing technology has obvious deficiencies in processing user personalized needs, and cannot be personalized according to the user's visual preferences. The image processing display effect is not good, and the flexibility and intelligence of user interaction need to be improved. Summary of the invention

[0003] In view of the problems existing in the above-mentioned existing image acquisition methods and systems for AR glasses, the present invention is proposed.

[0004] Therefore, the problem to be solved by the present invention is that the existing technology has obvious deficiencies in processing user personalized needs, cannot perform personalized adjustments according to user visual preferences, and the image processing and display effect is not good. The flexibility and intelligence of user interaction also need to be improved.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: an image acquisition method for AR glasses, comprising: displaying a pure color image when the AR glasses are worn by a user for the first time, collecting user pupil data, obtaining the user's color reaction pattern, and adjusting the color to form a user color display scheme;

[0006] AR glasses collect image data and environmental data and upload them to the cloud server. The cloud server recognizes and classifies the image data and builds a 3D image model to transmit to the AR glasses. The AR glasses adjust the color of the 3D image model according to the user's color display scheme.

[0007] The cloud server detects user gesture signals and viewpoint signals to control AR glasses to display 3D image models;

[0008] AR glasses record control data as logs and upload them to cloud servers for storage regularly.

[0009] As a preferred solution of the image acquisition method of the AR glasses of the present invention, wherein: the AR glasses display a pure color image when the user wears them for the first time, collect the user's pupil data, obtain the user's color reaction mode, and adjust the color to form a user color display scheme, which means that when the user wears the AR glasses for the first time, the user information is registered as a user identification tag, the pure color images are displayed to the user in sequence, and the pupil reaction image of the user to each pure color image is captured by the built-in camera;

[0010] A support vector machine model is constructed, pupil reaction images of normal users and color-disordered users to pure color images are obtained as training sets, and the support vector machine model is trained using the training sets and the model parameters are adjusted;

[0011] Input the user's pupil response image into the support vector machine model to obtain the user's response to each color and synthesize it to form the user's color response pattern;

[0012] According to the user's color response pattern, the corresponding color is adjusted and the color adjustment data is recorded. The image is re-displayed to the user and the adjusted user pupil response image is collected and input into the support vector machine model. If the support vector machine model outputs that the user's response to each color is consistent with that of a normal user, the color adjustment data is output as the user color display solution.

[0013] As a preferred solution of the image acquisition method of the AR glasses of the present invention, wherein: the AR glasses collect image data and environmental data and upload them to a cloud server, the cloud server performs image data recognition and classification and constructs a 3D image model and transmits it to the AR glasses, and the AR glasses adjust the color of the 3D image model according to the user's color display scheme, including:

[0014] AR glasses collect 360-degree image data and environmental data through cameras and sensors and upload them to the cloud server in the order of timestamp data. The cloud server stitches the 360-degree image data to form a complete image.

[0015] Construct a convolutional neural network, train it using the image classification dataset, and update the neural network parameters to form an image classification model:

[0016]

[0017] Where f(x) is the classification result, W2 and W1 are the weight matrices of the convolutional neural network, b1 and b2 are the biases of the convolutional neural network, and ReLU is the activation function;

[0018] The cloud server inputs the complete image into the image classification model for object recognition and classification, and creates classification labels based on the recognized objects to annotate the classification information;

[0019] The cloud server calculates the disparity d of each pixel based on the 360-degree image data, calculates the depth D of each pixel through the disparity d, integrates all pixel depths to form a depth map, and generates point cloud data based on the depth map:

[0020] where p ij is the coordinate of the point cloud data, i and j are pixel coordinates, c x and c y is the optical center coordinate of the camera, f x and f y is the focal length of the camera, D(i, j) is the depth of the coordinate (i, j);

[0021] Generate triangular meshes using Delaunay triangulation algorithm based on point cloud data, connect all triangular meshes to form a complete 3D image model and perform smoothing;

[0022] The cloud server renders the 3D image model in real time based on the 360-degree image data and environmental data, and stores it in the model library. It also binds the classification labels to the objects in the 3D image model, and sends the rendered 3D image model to the AR glasses.

[0023] The AR glasses receive the 3D image model and perform geometric calibration and scale calibration based on the 360-degree image data, and adjust the color of the 3D image model according to the user's color display scheme. The AR glasses display the calibrated and adjusted 3D image model to the user.

[0024] As a preferred solution of the image acquisition method of the AR glasses of the present invention, wherein: the detecting of the user gesture signal and the viewpoint signal by the cloud server refers to that the cloud server obtains object classification information after object recognition and classification by the image classification model, extracts all images containing the user gestures, and sorts them in the order of timestamps, selects images with continuous timestamps as gesture recognition images, and removes the remaining images;

[0025] Build the YOLO recognition algorithm, define the gesture recognition target as the thumb and index finger in the back of the hand, and use the gesture recognition training set to train the YOLO recognition algorithm;

[0026] The gesture recognition image is input into the YOLO recognition algorithm to perform gesture state recognition to obtain the gesture signal;

[0027] When displaying 3D image models, AR glasses use the built-in camera to capture the user's eye movement data in real time and obtain the user's viewpoint signal through eye tracking technology.

[0028] As a preferred solution of the image acquisition method of the AR glasses of the present invention, wherein: the controlling the AR glasses to display the 3D image model refers to the cloud server controlling the AR glasses to display the 3D image model through gesture signals and viewpoint signals, and monitoring the positions of the gesture signals and viewpoint signals in real time, if the positions of the gesture signals and viewpoint signals are the same, then executing the gesture signals, if the positions of the gesture signals and viewpoint signals are different, then ignoring the gesture signals;

[0029] The gesture signals include:

[0030] If the gesture signal is recognized as a single index finger and the gesture signal does not change in the images with continuous timestamps, it is recognized as a click signal, and the AR glasses display the object classification information at the location of the click signal on the 3D image model;

[0031] If the gesture signal is recognized as a thumb and an index finger and they are close to each other in the image with continuous timestamps, it is recognized as a zoom-out signal, and the AR glasses will zoom out and display the 3D image model;

[0032] If the gesture signal is recognized as the thumb and index finger and they are far apart in the image with continuous timestamps, it is recognized as a zoom signal, and the AR glasses will zoom in on the 3D image model for display;

[0033] If the gesture signal recognizes a single thumb and the gesture signal does not change in images with consecutive timestamps, it is recognized as an exit signal and the AR glasses exit from the 3D image model display.

[0034] As a preferred solution of the image acquisition method of the AR glasses described in the present invention, the AR glasses have a unique ID in the cloud server and are connected to the cloud server through the unique ID, allowing the AR glasses to download other 3D image models for display by accessing the cloud server model library.

[0035] As a preferred solution of the image acquisition method of the AR glasses described in the present invention, wherein: the AR glasses record the control data as a log, and regularly upload it to the cloud server for storage, which means that the AR glasses form a log of the control data of the 3D image model displayed by the gesture signal and the viewpoint signal, and regularly upload the log to the cloud server for storage, and the cloud server classifies and backs up the log according to the unique ID of the AR glasses.

[0036] Another object of the present invention is to provide an image acquisition system for AR glasses, which comprises:

[0037] A personalized adjustment module, used to conduct color tests on users and form a user color adjustment plan based on the user's reaction to the color;

[0038] An image processing module is used to process the collected 360-degree image data and environmental data to generate a 3D image model for display;

[0039] A signal recognition control module is used to recognize gesture signals in 360-degree image data and obtain viewpoint signals to coordinate with gesture signals to control the display of 3D image models;

[0040] The storage module is used to log the AR glasses control data and regularly upload the log to the cloud server for storage.

[0041] A computer device comprises: a memory and a processor; the memory stores a computer program, and the processor implements the steps of the image acquisition method of the AR glasses when executing the computer program.

[0042] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the image acquisition method for AR glasses.

[0043] The beneficial effects of the present invention are as follows: the present invention forms a user color display scheme by testing the user's color reaction, and then uploads the collected image data and environmental data to the cloud server to generate a 3D image model, and performs personalized adjustments based on the user's color display scheme, thereby effectively improving the user experience and satisfaction, and improving the image display effect. At the same time, the AR glasses are controlled by recognizing user gesture signals and viewpoint signals, thereby reducing the difficulty of operation and improving the flexibility and intelligence of user interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0045] Figure 1 Schematic diagram of the process of image acquisition method for AR glasses.

[0046] Figure 2 This is a structural diagram of the image acquisition system of AR glasses. DETAILED DESCRIPTION

[0047] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.

[0048] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0049] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments.

[0050] Example 1, reference Figure 1 , which is the first embodiment of the present invention, and which provides an image acquisition method for AR glasses. The image acquisition method for AR glasses includes:

[0051] S1. When the user wears the AR glasses for the first time, they display a pure color image, collect the user's pupil data, obtain the user's color response pattern, and adjust the color to form a user color display scheme;

[0052] Specifically, when the user wears the AR glasses for the first time, the AR glasses display a pure color image, collect the user's pupil data, obtain the user's color reaction mode, and adjust the color to form a user color display scheme. This means that when the user wears the AR glasses for the first time, the user information is registered as a user identification tag, and the pure color images are displayed to the user in sequence, and the user's pupil reaction image to each pure color image is captured by the inward-facing camera;

[0053] A support vector machine model is constructed, pupil reaction images of normal users and color-disordered users to pure color images are obtained as training sets, and the support vector machine model is trained using the training sets and the model parameters are adjusted;

[0054] Input the user's pupil response image into the support vector machine model to obtain the user's response to each color and synthesize it to form the user's color response pattern;

[0055] According to the user's color response pattern, the corresponding color is adjusted and the color adjustment data is recorded. The image is re-displayed to the user and the adjusted user pupil response image is collected and input into the support vector machine model. If the support vector machine model outputs that the user's response to each color is consistent with that of a normal user, the color adjustment data is output as the user color display solution.

[0056] Displaying a pure color image when wearing for the first time ensures that the system can collect the user's initial reaction data to different colors, providing a basis for subsequent personalized adjustments. By training the support vector machine model, the system can automatically identify whether the user has color disorders and make personalized adjustments based on the user's pupil response pattern, thereby improving the intelligence of the system. Obtaining the user's color response pattern enables the system to accurately grasp the user's preferences and reactions to different colors, providing data support for subsequent color adjustments. Through repeated adjustments and verifications, the system can find the color display scheme that best suits the user, improving the user's visual comfort and experience satisfaction. In addition, this step ensures that the color display scheme can dynamically adapt to the user's visual needs and preferences through a continuous feedback and optimization mechanism, avoiding the unchanging defects of traditional methods. The personalized color display scheme not only improves the image display effect, but also reduces the user's visual fatigue and improves the comfort of long-term use. Through personalized color display, users can obtain a more consistent and comfortable visual experience under different environments and lighting conditions, significantly improving the practicality and user satisfaction of AR glasses.

[0057] S2, AR glasses collect image data and environmental data and upload them to the cloud server. The cloud server recognizes and classifies the image data and builds a 3D image model and transmits it to the AR glasses. The AR glasses adjust the color of the 3D image model according to the user's color display scheme.

[0058] Specifically, AR glasses collect image data and environmental data and upload them to the cloud server. The cloud server recognizes and classifies the image data and constructs a 3D image model and transmits it to the AR glasses. The AR glasses adjust the color of the 3D image model according to the user's color display scheme, including:

[0059] AR glasses collect 360-degree image data and environmental data through cameras and sensors and upload them to the cloud server in the order of timestamp data. The cloud server stitches the 360-degree image data to form a complete image.

[0060] Construct a convolutional neural network, train it using the image classification dataset, and update the neural network parameters to form an image classification model:

[0061]

[0062] Where f(x) is the classification result, W2 and W1 are the weight matrices of the convolutional neural network, b1 and b2 are the biases of the convolutional neural network, and ReLU is the activation function;

[0063] The cloud server inputs the complete image into the image classification model for object recognition and classification, and creates classification labels based on the recognized objects to annotate the classification information;

[0064] The cloud server calculates the disparity d of each pixel based on the 360-degree image data, calculates the depth D of each pixel through the disparity d, integrates all pixel depths to form a depth map, and generates point cloud data based on the depth map:

[0065] where p ij is the coordinate of the point cloud data, i and j are pixel coordinates, c x and c y is the optical center coordinate of the camera, f x and f y is the focal length of the camera, D(i, j) is the depth of the coordinate (i, j);

[0066] Generate triangular meshes using Delaunay triangulation algorithm based on point cloud data, connect all triangular meshes to form a complete 3D image model and perform smoothing;

[0067] The cloud server renders the 3D image model in real time based on the 360-degree image data and environmental data, and stores it in the model library. It also binds the classification labels to the objects in the 3D image model, and sends the rendered 3D image model to the AR glasses.

[0068] The AR glasses receive the 3D image model and perform geometric calibration and scale calibration based on the 360-degree image data, and adjust the color of the 3D image model according to the user's color display scheme. The AR glasses display the calibrated and adjusted 3D image model to the user.

[0069] The collection of 360-degree image data ensures the comprehensiveness and continuity of environmental information, and provides sufficient data support for subsequent image stitching and processing. Image stitching technology integrates multi-view data, eliminates image faults and stitching gaps, and improves the integrity and appearance of the image. By training CNN, the system can efficiently and accurately classify and identify objects in the image, improving the intelligent level of image processing. Object recognition and classification annotation realize the structuring and semanticization of image data, which is convenient for subsequent 3D model construction and display. Through the construction of depth map and point cloud data, the system can accurately capture the three-dimensional structure of the environment, laying the foundation for the generation of 3D models. The Delaunay triangulation algorithm ensures the stability and accuracy of mesh generation. Smoothing processing improves the delicacy and realism of the model surface. Real-time rendering and model transmission improve the dynamics and real-time nature of image display, enabling users to obtain high-quality visual experience. Geometric calibration and color adjustment ensure the accuracy and personalization of 3D image models in display, improving users' visual comfort and experience satisfaction. The 3D image model finally displayed is of high precision, personalization and real-time nature, providing users with a rich augmented reality experience.

[0070] It should also be noted that the AR glasses have a unique ID in the cloud server and are connected to the cloud server through the unique ID, allowing the AR glasses to download other 3D image models for display by accessing the cloud server model library.

[0071] Through the unique ID, the cloud server can accurately identify and manage each AR glasses device to ensure the security and accuracy of data transmission. This connection method simplifies the device management process and improves the reliability of the system. With the help of the powerful storage and processing capabilities of the cloud server, AR glasses can access and display a large number of high-quality 3D image models, breaking through the limitations of local storage and processing capabilities. Users can download different 3D models as needed, which improves the flexibility and diversity of use. By centrally managing 3D model resources, the cloud server can provide users with a rich model selection, and update and maintain the model library content in real time to ensure that users can always obtain the latest and most demanding 3D image models. By downloading high-quality 3D image models, AR glasses can achieve more realistic and delicate visual effects, enhance the user's visual experience, and render and adjust based on actual usage scenarios to make the display effect more in line with user expectations and needs.

[0072] S3, detecting user gesture signals and viewpoint signals through the cloud server to control the AR glasses to display the 3D image model;

[0073] Specifically, detecting the user gesture signal and the viewpoint signal through the cloud server means that the cloud server obtains object classification information after performing object recognition and classification through an image classification model, extracts all images containing the user gestures, sorts them in order of timestamps, selects images with continuous timestamps as gesture recognition images, and removes the remaining images;

[0074] Build the YOLO recognition algorithm, define the gesture recognition target as the thumb and index finger in the back of the hand, and use the gesture recognition training set to train the YOLO recognition algorithm;

[0075] The gesture recognition image is input into the YOLO recognition algorithm to perform gesture state recognition to obtain the gesture signal;

[0076] When displaying 3D image models, AR glasses use the built-in camera to capture the user's eye movement data in real time and obtain the user's viewpoint signal through eye tracking technology.

[0077] Image classification and gesture image extraction ensure the continuity and integrity of gesture recognition images, and improve the accuracy and real-time performance of gesture recognition. By training the YOLO recognition algorithm, the system can efficiently and accurately recognize gestures, improving the speed and accuracy of gesture recognition. The real-time performance of the YOLO algorithm ensures the smoothness and naturalness of user operations. The recognition of gesture signals realizes real-time detection and recognition of gestures, allowing users to perform natural interactive operations through gestures, enhancing the user experience and operability of AR glasses. By obtaining viewpoint signals, the system can accurately understand the user's gaze point, improving the accuracy of interaction and user experience. The combination of viewpoint signals enables AR glasses to dynamically adjust the display content according to the user's gaze point, further enhancing the integration of reality and virtual information. Through the combination of gesture signals and viewpoint signals, users can perform precise operations through natural gestures and gaze points, such as selecting, zooming in, reducing and moving 3D models. This interaction method greatly improves the user's operational convenience and the system's response speed.

[0078] Further, controlling the AR glasses to display the 3D image model means that the cloud server controls the AR glasses to display the 3D image model through the gesture signal and the viewpoint signal, and monitors the positions of the gesture signal and the viewpoint signal in real time, and if the positions of the gesture signal and the viewpoint signal are the same, the gesture signal is executed, and if the positions of the gesture signal and the viewpoint signal are different, the gesture signal is ignored;

[0079] The gesture signals include:

[0080] If the gesture signal is recognized as a single index finger and the gesture signal does not change in the images with continuous timestamps, it is recognized as a click signal, and the AR glasses display the object classification information at the location of the click signal on the 3D image model;

[0081] If the gesture signal is recognized as a thumb and an index finger and they are close to each other in the image with continuous timestamps, it is recognized as a zoom-out signal, and the AR glasses will zoom out and display the 3D image model;

[0082] If the gesture signal is recognized as the thumb and index finger and they are far apart in the image with continuous timestamps, it is recognized as a zoom signal, and the AR glasses will zoom in on the 3D image model for display;

[0083] If the gesture signal recognizes a single thumb and the gesture signal does not change in images with consecutive timestamps, it is recognized as an exit signal and the AR glasses exit from the 3D image model display.

[0084] Real-time monitoring of gesture signals and viewpoint signals ensures the real-time and accuracy of gesture signals and viewpoint signals, laying the foundation for subsequent control operations. By matching the positions of gesture signals and viewpoint signals, it ensures the accurate communication of user intentions, avoids the occurrence of misoperation, and improves the accuracy of interaction and user experience. The click signal allows users to obtain detailed object information through simple gestures, enhancing the interactivity of information display. The zoom-out signal allows users to intuitively adjust the view of the 3D image, facilitating overall observation and analysis. The zoom-in signal enables users to view the details of the 3D image, improving the user's operation accuracy and usage experience. The exit signal provides a simple way for users to end the current operation, improving the convenience and user-friendliness of the system.

[0085] S4, AR glasses record control data as logs and upload them to the cloud server for storage regularly;

[0086] Specifically, the AR glasses record the control data as logs and upload them to the cloud server for storage periodically. This means that the AR glasses log the control data of the 3D image model displayed by gesture signals and viewpoint signals, and upload the logs to the cloud server for storage periodically. The cloud server classifies and backs up the logs according to the unique ID of the AR glasses.

[0087] By recording control data logs in real time, the system can completely save the user's operation history and provide rich basic data for subsequent data analysis and system optimization. Regularly uploading log data not only reduces the pressure of local storage, but also ensures timely backup and update of data to avoid data loss. By classifying and managing log data through unique IDs, the cloud server can effectively organize and retrieve data and improve the efficiency and reliability of data management. Regular backup ensures the security and integrity of data and prevents data loss or damage.

[0088] Example 2, reference Figure 2 , which is a second embodiment of the present invention, and which is different from the previous embodiment, provides an image acquisition system for AR glasses, which includes:

[0089] A personalized adjustment module, used to conduct color tests on users and form a user color adjustment plan based on the user's reaction to the color;

[0090] An image processing module is used to process the collected 360-degree image data and environmental data to generate a 3D image model for display;

[0091] A signal recognition control module is used to recognize gesture signals in 360-degree image data and obtain viewpoint signals to coordinate with gesture signals to control the display of 3D image models;

[0092] The storage module is used to log the AR glasses control data and regularly upload the log to the cloud server for storage.

[0093] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0094] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0095] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0096] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit with a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit with a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0097] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. An image acquisition method for AR glasses, characterized in that: include, When the user wears the AR glasses for the first time, they display a pure color image, collect the user's pupil data, obtain the user's color response pattern, and adjust the color to form a user color display scheme; AR glasses collect image data and environmental data and upload them to the cloud server. The cloud server recognizes and classifies the image data and builds a 3D image model to transmit to the AR glasses. The AR glasses adjust the color of the 3D image model according to the user's color display scheme. The cloud server detects user gesture signals and viewpoint signals to control AR glasses to display 3D image models; AR glasses record control data as logs and upload them to cloud servers for storage at regular intervals; The AR glasses display a pure color image when the user wears them for the first time, collect user pupil data, obtain the user's color reaction mode, and adjust the color to form a user color display scheme. This means that when the user wears the AR glasses for the first time, the user information is registered as a user identification tag, pure color images are displayed to the user in sequence, and the user's pupil reaction image to each pure color image is captured by a built-in camera; A support vector machine model is constructed, pupil reaction images of normal users and color-disordered users to pure color images are obtained as training sets, and the support vector machine model is trained using the training sets and the model parameters are adjusted; Input the user's pupil response image into the support vector machine model to obtain the user's response to each color and synthesize it to form the user's color response pattern; Adjust the corresponding color according to the user's color response mode and record the color adjustment data, re-display it to the user and collect the adjusted user pupil response image to input it into the support vector machine model. If the support vector machine model outputs that the user's response to each color is consistent with that of a normal user, the color adjustment data is output as the user color display solution; The AR glasses collect image data and environmental data and upload them to the cloud server. The cloud server recognizes and classifies the image data and constructs a 3D image model and transmits it to the AR glasses. The AR glasses adjust the color of the 3D image model according to the user's color display scheme, including: AR glasses collect 360-degree image data and environmental data through cameras and sensors and upload them to the cloud server in the order of timestamp data. The cloud server stitches the 360-degree image data to form a complete image. Construct a convolutional neural network, train it using the image classification dataset, and update the neural network parameters to form an image classification model: Where f(x) is the classification result, W2 and W1 are the weight matrices of the convolutional neural network, b1 and b2 are the biases of the convolutional neural network, and ReLU is the activation function; The cloud server inputs the complete image into the image classification model for object recognition and classification, and creates classification labels based on the recognized objects to annotate the classification information; The cloud server calculates the disparity d of each pixel based on the 360-degree image data, calculates the depth D of each pixel through the disparity d, integrates all pixel depths to form a depth map, and generates point cloud data based on the depth map: where p ij is the coordinate of the point cloud data, i and j are pixel coordinates, c x and c y is the optical center coordinate of the camera, f x and f y is the focal length of the camera, D(i, j) is the depth of the coordinate (i, j); Generate triangular meshes using Delaunay triangulation algorithm based on point cloud data, connect all triangular meshes to form a complete 3D image model and perform smoothing; The cloud server renders the 3D image model in real time based on the 360-degree image data and environmental data, and stores it in the model library. It also binds the classification labels to the objects in the 3D image model, and sends the rendered 3D image model to the AR glasses. The AR glasses receive the 3D image model and perform geometric calibration and scale calibration based on the 360-degree image data, and adjust the color of the 3D image model according to the user's color display scheme. The AR glasses display the calibrated and adjusted 3D image model to the user.

2. The image acquisition method of AR glasses according to claim 1, characterized in that: Detecting the user gesture signal and the viewpoint signal by the cloud server means that the cloud server obtains object classification information after performing object recognition and classification by an image classification model, extracts all images containing the user gestures, sorts them in the order of timestamps, selects images with continuous timestamps as gesture recognition images, and removes the remaining images; Build the YOLO recognition algorithm, define the gesture recognition target as the thumb and index finger in the back of the hand, and use the gesture recognition training set to train the YOLO recognition algorithm; The gesture recognition image is input into the YOLO recognition algorithm to perform gesture state recognition to obtain the gesture signal; When displaying 3D image models, AR glasses use the built-in camera to capture the user's eye movement data in real time and obtain the user's viewpoint signal through eye tracking technology.

3. The image acquisition method of AR glasses according to claim 2, characterized in that: Controlling the AR glasses to display the 3D image model refers to the cloud server controlling the AR glasses to display the 3D image model through gesture signals and viewpoint signals, and monitoring the positions of the gesture signals and viewpoint signals in real time. If the positions of the gesture signals and viewpoint signals are the same, the gesture signals are executed; if the positions of the gesture signals and viewpoint signals are different, the gesture signals are ignored; The gesture signals include: If the gesture signal is recognized as a single index finger and the gesture signal does not change in the images with continuous timestamps, it is recognized as a click signal, and the AR glasses display the object classification information at the location of the click signal on the 3D image model; If the gesture signal is recognized as a thumb and an index finger and they are close to each other in the image with continuous timestamps, it is recognized as a zoom-out signal, and the AR glasses will zoom out and display the 3D image model; If the gesture signal is recognized as the thumb and index finger and they are far apart in the image with continuous timestamps, it is recognized as a zoom signal, and the AR glasses will zoom in on the 3D image model for display; If the gesture signal recognizes a single thumb and the gesture signal does not change in images with consecutive timestamps, it is recognized as an exit signal and the AR glasses exit from the 3D image model display.

4. The image acquisition method of AR glasses according to claim 3, characterized in that: The AR glasses have a unique ID in the cloud server and are connected to the cloud server through the unique ID, allowing the AR glasses to download other 3D image models for display by accessing the cloud server model library.

5. The image acquisition method of AR glasses according to claim 4, characterized in that: The AR glasses record the control data as logs and upload them to the cloud server for storage regularly. This means that the AR glasses log the control data of the 3D image model displayed by the gesture signals and viewpoint signals, and upload the logs to the cloud server for storage regularly. The cloud server classifies and backs up the logs according to the unique ID of the AR glasses.

6. An image acquisition system for AR glasses according to the image acquisition method for AR glasses as claimed in any one of claims 1 to 5, characterized in that: include, A personalized adjustment module, used to conduct color tests on users and form a user color adjustment plan based on the user's reaction to the color; An image processing module is used to process the collected 360-degree image data and environmental data to generate a 3D image model for display; A signal recognition control module is used to recognize gesture signals in 360-degree image data and obtain viewpoint signals to coordinate with gesture signals to control the display of 3D image models; The storage module is used to log the AR glasses control data and regularly upload the log to the cloud server for storage.

7. A computer device comprising: A memory and a processor; the memory stores a computer program, wherein the processor implements the steps of the image acquisition method for AR glasses according to any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the image acquisition method for AR glasses according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Single-eye AR glasses brightness automatic adjusting method, and storage medium

    CN109633907A

  • AR glasses eye protection automatic control method and device

    CN112198965A

  • Method for adjusting color of view of AR glasses, electronic equipment and storage medium

    CN113923423A

  • Wearable electronic device with adjustable visor transmittance and display brightness

    CN118103754A