Intelligent glasses for assisting traffic driving and traffic driving assisting system and method
Through the audio and video sensor and image recognition technology of smart glasses, it assists color-blind and color-impaired users in identifying traffic signals and color information, solving the problem of recognition difficulties for color-blind and color-impaired people in traffic driving, and improving the convenience of driving and testing.
Patent Information
- Application Number
- CN202410717056.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-06
AI Technical Summary
Color-blind and color-deficient people have difficulty identifying traffic lights and other color information while driving in traffic, causing difficulty in driving and taking exams.
Design a kind of smart glasses that integrates audio and video sensors, magnetometer sensors and voice guidance modules. Through image recognition model and HSV color space conversion, it generates color-blind and color-weak adaptation images, and assists users in identifying traffic signals and signs through voice broadcast and lens display. Color information.
It effectively assists color-blind and color-impaired users in traffic driving and color recognition tests, improving their driving experience and test passing rate.
Smart Images

Figure CN118609559A
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of intelligent wearable devices, and in particular, relates to intelligent glasses for assisting traffic driving, a traffic driving assistance system and method. Background Art
[0002] Congenital color vision disorder is usually called color blindness, which is the inability to distinguish various colors or certain colors in the natural spectrum; and poor color discrimination ability is called color weakness. Although color-weak people can see the colors that normal people see, their ability to recognize colors is slow or very poor. When the light is dim, some are almost the same as color blindness, or they show color fatigue. It is generally difficult to strictly distinguish between it and color blindness. Color blindness and color weakness are more common due to congenital factors. There are far more male patients than female patients. Color blind and color weak people will have many inconveniences in life, such as not being able to read maps with red and green signs, building signs, and various packaged products. The color blind and color weak groups also face many difficulties in traffic activities, such as not being able to see red and green clearly when driving, and having difficulty distinguishing colors in traffic tests.
[0003] In order to improve the quality of life and social participation of people with color blindness and color weakness, it has become an urgent need to develop assistive devices suitable for them. Summary of the invention
[0004] The present application provides smart glasses for assisting traffic driving, a traffic driving assistance system and a method for assisting color blind and color weak users in activities.
[0005] In a first aspect, an embodiment of the present application provides a smart glasses for assisting traffic driving, comprising: a frame body, a detection module, a control module and a voice guidance module; wherein: the frame body comprises a frame and a first temple and a second temple connected to both sides of the frame; the detection module comprises an audio and video sensor and a magnetometer sensor arranged in the middle of the frame; the control module comprises a first control panel and a second control panel respectively installed inside the first temple and the second temple, and at least one function button installed on the outer surface of the first temple and the second temple; wherein the audio and video sensor and the magnetometer sensor are connected to the first control panel and / or the second control panel via a flexible circuit board; the control module controls the audio and video sensor to start image acquisition based on the received voice start command, and collects the video image data received from the audio and video sensor and the geomagnetic direction data received from the magnetometer sensor The method comprises the steps of: transmitting the video image data to a user terminal, and receiving voice navigation data and a color blindness and color weakness adaptation image generated based on the video image data and the geomagnetic direction data from the user terminal; wherein the user terminal identifies the signal light, the tail light of the vehicle ahead and / or the elevated road information in the video image data based on a pre-trained image recognition model, and generates the voice navigation data based on the signal light, the tail light of the vehicle ahead and / or the elevated road information in the video image data and the geomagnetic direction data obtained from the magnetometer sensor; the user terminal converts the video image data from the RGB color space to the HSV color space, and adjusts the H channel color range to the range of (0, 180) to generate the color blindness and color weakness adaptation image; the voice guidance module is connected to the control module, receives and plays the voice navigation data from the control module, and displays the color blindness and color weakness adaptation image on the lens of the frame to assist the color blindness and color weakness user in traffic driving.
[0006] In an implementation of the first aspect, the control module also receives color graphic recognition voice data and / or color graphic recognition image from the user terminal, and the voice guidance module plays the color graphic recognition voice data and / or displays the color graphic recognition image on the lenses of the frame to assist color blind and color weak users in identifying color blind and color weak color recognition test examinations; wherein, when the user terminal detects that the video image data contains a color test picture, it identifies the color graphic in the color test picture by OCR recognition, and when the recognition fails, it identifies the color graphic in the color test picture by color recognition through the image recognition model, generates color graphic recognition voice data and / or color graphic recognition image based on the identified color graphic, and feeds back the color graphic recognition voice data and / or color graphic recognition image to the smart glasses for assisting traffic driving.
[0007] In an implementation of the first aspect, a first control board is provided at the front end of the first temple, and a first battery module connected to the first control board is provided at the rear end; a second control board is provided at the front end of the second temple, and a second battery module connected to the second control board is provided at the rear end; wherein a magnetic charging interface for charging the first battery module and the second battery module is provided at a position of the first temple corresponding to the first control board or a position of the second temple corresponding to the second control board.
[0008] In an implementation of the first aspect, the voice guidance module includes an earphone connected to the second control panel; the second temple is provided with an earphone hole for the earphone cord of the earphone to pass through, and a magnet is provided at the bottom of the outer surface of the second temple to attract the earplug part of the earphone.
[0009] In an implementation of the first aspect, a frame signal slot for accommodating the flexible circuit board is provided in the frame, a first temple signal slot for accommodating the flexible circuit board is provided inside the first temple, and a second temple signal slot for accommodating the flexible circuit board is provided inside the second temple; the frame signal slot, the first temple signal slot and the second temple signal slot are connected.
[0010] In an implementation of the first aspect, at least one sound transmission hole is provided in the middle of the mirror frame, and a sound-transmitting membrane is attached to the sound transmission hole.
[0011] In an implementation of the first aspect, it also includes: a GPS positioning module; the control module receives GPS data from the GPS positioning module and transmits the GPS data to the user terminal, so that the user terminal generates the voice navigation data in combination with the GPS data.
[0012] In a second aspect, an embodiment of the present application provides a traffic driving assistance system, comprising: the smart glasses for assisting traffic driving as described above and a user terminal that wirelessly communicates with the smart glasses for assisting traffic driving; the user terminal is used to: identify the traffic lights, the tail lights of the vehicle ahead and / or the elevated road information in the video image data based on a pre-trained image recognition model, and generate the voice navigation data based on the traffic lights, the tail lights of the vehicle ahead and / or the elevated road information in the video image data and the geomagnetic direction data obtained from the magnetometer sensor, and feed it back to the smart glasses for assisting traffic driving; convert the video image data from the RGB color space to the HSV color space, and adjust the H channel color range to the (0, 180) range, generate the color blindness and color weakness adaptation image, and feed it back to the assistance Smart glasses for assisted traffic driving; generating navigation data based on the video image data, the geomagnetic direction data and the GPS data received from the smart glasses for assisted traffic driving, and feeding back the navigation data to the smart glasses for assisted traffic driving; detecting whether the video image data contains a color test picture, and when it is detected that the video image data contains a color test picture, identifying the color graphics in the color test picture by means of OCR recognition, and when the recognition fails, identifying the color graphics in the color test picture by means of color recognition through the image recognition model, generating color graphics recognition voice data and / or color graphics recognition image based on the recognized color graphics, and feeding back the color graphics recognition voice data and / or color graphics recognition image to the smart glasses for assisted traffic driving.
[0013] In a third aspect, an embodiment of the present application provides a traffic driving assistance method, which is applied to the traffic driving assistance system as described above, comprising: in response to receiving a voice start command, starting the smart glasses for assisting traffic driving, and starting the audio and video sensors in the smart glasses for assisting traffic driving, and transmitting the video image data collected by the audio and video sensors, the geomagnetic direction data obtained by the magnetometer sensor, and the GPS data to a user terminal; receiving from the user terminal voice navigation data and color blindness and color weakness adaptation images generated by the user terminal based on the video image data and the geomagnetic direction data; wherein the user terminal generates a voice navigation signal based on a pre-trained image recognition model. The method comprises the steps of: identifying the traffic lights, the tail lights of the vehicle ahead and / or the elevated road information in the video image data, and generating the voice navigation data based on the traffic lights, the tail lights of the vehicle ahead and / or the elevated road information in the video image data and the geomagnetic direction data obtained from the magnetometer sensor; the user terminal converts the video image data from the RGB color space to the HSV color space, and adjusts the H channel color range to the (0, 180) range to generate the color blindness and color weakness adaptation image; the smart glasses for assisting traffic driving play the voice navigation data, and display the color blindness and color weakness adaptation image on the smart glasses for assisting traffic driving, so as to assist the color blindness and color weakness user in traffic driving.
[0014] In an implementation manner of the third aspect, in an implementation manner of the first aspect, it also includes: training the image recognition model, including: obtaining a color blindness and color weakness test picture set and a color card picture set automatically generated based on a random algorithm, and constructing a color data training set based on the color blindness and color weakness test picture set and the color card picture set: using the color data training set to train a convolutional neural network to generate the image recognition model: comparing the recognition result of the image recognition model each time with the actual picture, and updating the image recognition model based on the comparison result.
[0015] The smart glasses for assisting traffic driving, the traffic driving assistance system and the method provided in the embodiments of the present application have the following beneficial effects:
[0016] In this application, color-blind and color-weak users use voice-controlled smart glasses, which use voice to announce the traffic lights and vehicles ahead of the color-blind and color-weak users, and display the front image adapted for the color-blind and color-weak users on the smart glasses, effectively assisting the color-blind and color-weak users in traffic driving; at the same time, this application can also identify color graphics in color test pictures to assist color-blind and color-weak users in identifying color-blind and color-weak color recognition tests, and can provide services for color-blind and color-weak users remotely. The smart glasses for assisting traffic driving in this application are novel in structure and simple to use. They can effectively guide color-blind and color-weak people in traffic driving and tests, and effectively improve the user experience of color-blind and color-weak users. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Shown is a schematic diagram of the application of the smart glasses for assisting traffic driving of the present application in one embodiment.
[0018] Figure 2 Shown is a front view of the smart glasses for assisting traffic driving of the present application in one embodiment.
[0019] Figure 3 Shown is a right side view of the smart glasses for assisting traffic driving of the present application in one embodiment.
[0020] Figure 4 Shown is a left view of the smart glasses for assisting traffic driving of the present application in one embodiment.
[0021] Figure 5 Shown is a schematic diagram of the interaction principle of the traffic driving assistance system of the present application in one embodiment.
[0022] Figure 6 Shown is a principle block diagram of a user terminal in an embodiment of the traffic driving assistance system of the present application.
[0023] Figure 7 Shown is a flow chart of a traffic driving assistance method in one embodiment of the present application.
[0024] Figure 8 Shown is a flow chart of training an image recognition model in an embodiment of the traffic driving assistance method of the present application.
[0025] Component number description
[0026] 100 Smart glasses to assist traffic driving
[0027] 101 Frame body
[0028] 102 Detection Module
[0029] 103 Control module
[0030] 104 Voice Guidance Module
[0031] 110 Frame
[0032] 111 Obstacle Avoidance Sensor
[0033] 112 Audio and video sensors
[0034] 113 Mirror frame signal slot
[0035] 120 First temple
[0036] 121 First Control Panel
[0037] 122 First battery module
[0038] 123, 124 First temple function button
[0039] 125 Headphone jack
[0040] 126 Headphone cable
[0041] 127 Magnet
[0042] 130 Second temple
[0043] 131 Second Control Panel
[0044] 132 Second battery module
[0045] 133, 134 Second temple function button
[0046] 135 Magnetic charging port
[0047] 200 User Terminals
[0048] 201 Processor
[0049] 202 Memory
[0050] 2021 Operating Systems
[0051] 2022 Applications
[0052] 203 Network Interface
[0053] 204 bus system
[0054] 205 User Interface
[0055] Steps S100 to S300
[0056] Steps S101 to S103 DETAILED DESCRIPTION
[0057] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0058] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same functions and effects. For example, the first control board and the second control board are only used to distinguish different control boards, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0059] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" represent examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0060] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, ab, ac, bc or abc, where a, b, c can be single or multiple.
[0061] The following will be combined with the attached examples of the present application Figure 1 To Attachment Figure 8 , the smart glasses for assisting traffic driving, the traffic driving assistance system and the method in the embodiments of the present application are described in detail.
[0062] This embodiment provides a smart glasses for assisting traffic driving. Figure 1 The figure shows a schematic diagram of the application of the smart glasses for assisting traffic driving in one embodiment of the present application. Figure 1As shown, in this embodiment, the smart glasses 100 for assisting traffic driving are connected to a user terminal 200 via wireless communication, and the user terminal 200 is but not limited to a smart phone, a PAD, a desktop computer, a laptop computer, etc. In a specific implementation, the application of the user terminal 200 can be software or an application running on a terminal device or a computing device controlled by the user, such as a personal computer (PC) client, a web client accessed based on a browser, an application (APP) client running on a mobile terminal, or a console of a cloud platform, which is not specifically limited in this application. With the assistance of the user terminal 200, the navigation service of the smart glasses 100 for assisting traffic driving is completed.
[0063] like Figure 1 As shown, the smart glasses 100 for assisting traffic driving include a frame body 101, a detection module 102, a control module 103 and a voice guidance module 104. It should be understood that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application can be integrated into a processor, or can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules.
[0064] Specifically, in this embodiment, the frame body 101 includes a frame 110 and a first temple 120120 and a second temple 130 connected to both sides of the frame 110; the detection module 102 includes at least an audio and video sensor 112 and a magnetometer sensor arranged in the middle of the frame 110; the control module 103 includes a first control board 121 and a second control board 131 respectively installed inside the first temple 120 and the second temple 130, and at least one function button installed on the outer surface of the first temple 120 and the second temple 130; wherein the audio and video sensor 112 and the magnetometer sensor are connected to the first control board 121 and / or the second control board 131 through a flexible circuit board.
[0065] The control module 103 controls the audio and video sensor 112 to start image acquisition based on the received voice start command, transmits the video image data received from the audio and video sensor 112 and the geomagnetic direction data received from the magnetometer sensor to the user terminal 200, and receives voice navigation data and color blindness and color weakness adaptation images generated based on the video image data and the geomagnetic direction data from the user terminal 200.
[0066] Among them, the user terminal 200 identifies the traffic lights, tail lights of the vehicle ahead and / or elevated road information in the video image data based on a pre-trained image recognition model, and generates the voice navigation data based on the traffic lights, tail lights of the vehicle ahead and / or elevated road information in the video image data and the geomagnetic direction data obtained from the magnetometer sensor; specifically, the user terminal 200 obtains information such as left turns and right turns based on the geomagnetic direction data, traffic lights, tail lights of the vehicle ahead and / or elevated road information, combined with navigation judgment, to generate the voice navigation data.
[0067] The training of the image recognition model includes the training for recognizing signal lights, the training for recognizing vehicle taillights, and the training for recognizing overhead information.
[0068] 1) Training on identifying traffic lights
[0069] First, collect a large number of traffic light images as a data set. The traffic light images include traffic lights in different states (red, yellow, green), as well as images taken under different lighting and weather conditions. Annotate the collected traffic light images to indicate the state of the traffic light in each image (red, yellow, green). Preprocess the traffic light images, including adjusting the image size, normalizing pixel values, enhancing contrast, etc., so that the image recognition model can learn better. Select a suitable deep learning model, such as a convolutional neural network (CNN), such as Alexnet, VGG, Resnet, etc. Divide the data set into a training set, a validation set, and a test set. Use the training set to train the deep learning model to form an image recognition model. During the training process, the deep learning model will learn how to judge the state of the traffic light based on the input image. Use the validation set to verify the deep learning model and adjust the model parameters to obtain the best performance. Use the test set to conduct a final test on the deep learning model to evaluate the model's performance indicators such as accuracy and recall rate. Further optimize the model based on the test results, such as adjusting the network structure, increasing training data, using data enhancement technology, etc., to form an image recognition model that can ultimately recognize traffic lights.
[0070] 2) Identify the taillights of the vehicle ahead
[0071] First, we collect vehicle taillight images in different environments, at different distances and angles as a dataset. The vehicle taillight images include daytime and nighttime images, as well as data under different weather conditions, to enhance the robustness of the image recognition model. We accurately annotate the collected vehicle taillight images to indicate the location and status of the taillights.
[0072] The dataset is preprocessed:
[0073] 1) Image enhancement: Improve image quality by adjusting parameters such as contrast and brightness to make the taillight features more obvious; 2) Format unification: Convert all images to a unified format and size for subsequent processing; 3) Feature extraction: Color features: Use the color characteristics of taillights, such as red and yellow, as key features for identification; Brightness threshold: Set a brightness threshold to distinguish taillights from other light sources or background.
[0074] Then, the model is selected and trained. For example, a convolutional neural network (CNN) is used as the basic model structure because it performs well in image recognition tasks. A radial basis neural network (RBFNN) can also be used because it has shown good adaptability to taillight feature extraction in some studies. A CNN-SVM classifier can also be used: refer to the method of using a convolutional neural network (CNN) combined with a support vector machine (SVM) to improve recognition accuracy. The selected model is trained through the data set so that it can recognize the taillights of the vehicle in front.
[0075] Among them, the cross-validation method can be used to evaluate the generalization ability of the image recognition model. The image recognition model is tested by focusing on key performance indicators such as accuracy, recall, and F1 score. The model parameters such as learning rate and batch size are adjusted according to the test evaluation results.
[0076] 3) Training to identify overhead information
[0077] Obtain a large amount of elevated and ground image data, including data under scenes at different times, weather and lighting conditions; annotate the collected image data to indicate whether each image is an elevated scene or a ground scene. Then use a deep learning framework (such as tensorflow or pytorch) to train the image recognition model, which can use a convolutional neural network (CNN) specifically for processing image data. During the training process, the image recognition model learns the key features that distinguish elevated and ground scenes, such as the height of the building, the width of the road, and whether there are obstructions. Finally, the image recognition model can be optimized to improve the accuracy and generalization ability of the image recognition model in identifying elevated information by adjusting the image recognition model parameters and structure.
[0078] In addition, in this embodiment, the data set needs to be updated regularly to include a wider range of scenarios and conditions, and the image recognition model needs to be continuously optimized based on new traffic lights, taillights of vehicles ahead and / or elevated information data to adapt to the ever-changing environment, so as to ensure that the image recognition model can accurately identify traffic lights, taillights of vehicles ahead and / or elevated information in real time.
[0079] The user terminal 200 converts the video image data from the RGB color space to the HSV color space, and adjusts the H channel color range to the range of (0, 180) to generate the color blindness and color weakness adaptation image; the voice guidance module 104 is connected to the control module 103, receives and plays the voice navigation data from the control module 103, and displays the color blindness and color weakness adaptation image on the lens of the frame 110 to assist the color blindness and color weakness user in traffic driving.
[0080] Specifically, in this embodiment, if Figures 2 to 4 As shown, the smart glasses 100 for assisting traffic driving include: a frame 110 and a first temple 120 and a second temple 130 connected to both sides of the frame 110. The frame 110, the first temple 120 and the second temple 130 adopt a master-slave structure design of a main body plus a cover plate. The connecting part is fixed by a plurality of buckles and screws, and the positions of the components (physical hardware structures of the detection module 102 and the control module 103) placed inside the frame 110, the first temple 120 and the second temple 130 are fixed by positioning holes and positioning grooves. The advantage of this is that the main structure of the smart glasses 100 for assisting traffic driving is supported and not easily deformed.
[0081] Figure 2 Shown is a front view of the smart glasses 100 for assisting traffic driving in one embodiment of the present application. Figure 2 As shown, at least an audio and video sensor 112 is disposed in the middle of the frame 110. The smart glasses 100 for assisting traffic driving collect audio and video data through the audio and video sensor 112. The audio and video sensor 112 refers to a device capable of capturing sound and images. In this embodiment, the audio and video sensor 112 includes an audio sensor and a video sensor. Exemplarily, the audio sensor is a microphone or a microphone array; the video sensor is a camera or a camera, which captures images through a photosensitive element such as a CCD or CMOS sensor.
[0082] In a possible implementation, the audio and video sensor 112 includes a microphone and a camera.
[0083] In a possible implementation, voice wake-up and voice and video functions are used to complete the control of the smart glasses 100 for assisting traffic driving. For example, by calling "Xiaoguang Xiaoguang", the smart glasses 100 for assisting traffic driving are awakened to enter the voice recognition state. At this time, the smart glasses 100 for assisting traffic driving announce "Please speak", prompting the user to operate the smart glasses 100 for assisting traffic driving through voice command words. For example, "Open the video", the smart glasses 100 for assisting traffic driving enter the video acquisition and playback.
[0084] In a possible implementation, the magnetometer sensor is installed inside the mirror frame, and the magnetometer sensor can obtain data of the geomagnetic field, the data of the geomagnetic field including geomagnetic direction data and intensity data. The direction of the current road can be calculated based on the geomagnetic field data, including but not limited to calculating the direction of the current road by measuring the components of the earth's magnetic field on three orthogonal axes.
[0085] In addition, an obstacle avoidance sensor 111 may be provided in the middle of the frame 110. The smart glasses 100 for assisting traffic driving collect obstacle data through the obstacle avoidance sensor 111. The obstacle avoidance sensor 111 is but not limited to an ultrasonic obstacle avoidance sensor, which measures distance by sending ultrasonic signals and receiving their echoes.
[0086] Specifically, the obstacle avoidance sensor 111 adopts an ultrasonic obstacle avoidance sensor for detection. Preferably, the obstacle avoidance sensor 111 is a radar. The frame 110 is provided with a radar mounting hole. The radar is installed in the radar mounting hole. The smart glasses 100 for assisting traffic driving use ultrasonic roadblock detection. After the obstacle avoidance sensor 111 emits ultrasonic waves, they are reflected back when they encounter obstacles. After the obstacle avoidance sensor 111 receives the reflected signal, it calculates the distance from the obstacle to the obstacle avoidance sensor 111 according to the sound propagation time, thereby obtaining the distance between the smart glasses 100 for assisting traffic driving and the obstacle.
[0087] Among them, two sensor detection holes are correspondingly provided in the middle position of the outer side of the frame 110, respectively for installing the obstacle avoidance sensor 111 and the audio and video sensor 112. In this embodiment, the sensor detection hole is provided in the middle position of the outer side of the frame 110. The advantage of this design is that the style of the outer frame of the glasses can be diversified, and the microphone is closest to the sound source, which effectively avoids echoes.
[0088] In one possible implementation, a dust cover is installed on the sensor detection hole, which can prevent dust, dirt and other particles from entering the sensor. The dust cover can not only prevent dust, but also increase the service life of the obstacle avoidance sensor 111 and the audio and video sensor 112.
[0089] In a possible implementation, at least one sound hole is provided in the middle of the frame 110 (e.g., corresponding to the position of the microphone) for installing a microphone or improving the sound transmission effect. Among them, the microphone can be installed in the sound hole on the eyeglass frame 110. Such a design enables the wearer to receive and transmit sound more conveniently. Exemplarily, three rows of sound holes are provided on the cover plate of the frame 110. Among them, a sound-transmitting membrane is attached to the sound-transmitting hole, and the sound-transmitting membrane is a polymer film material, which can provide waterproof performance while maintaining clear sound quality. The sound-transmitting membrane transmits sound through its microporous structure, and these micropores are smaller than water molecules, so it can prevent moisture from entering while allowing sound to pass through. Therefore, in this embodiment, the sound-transmitting membrane can be both dust-proof and waterproof, and can ensure smooth sound transmission.
[0090] Figure 3 The figure shows a right side view of the smart glasses 100 for assisting traffic driving in one embodiment of the present application. Figure 3 As shown, a first control board 121 is disposed at the front end of the first temple 120 , and a first battery module 122 connected to the first control board 121 is disposed at the rear end. Figure 4 The figure shows a left view of the smart glasses 100 for assisting traffic driving in one embodiment of the present application. Figure 4 As shown, a second control board 131 is provided at the front end inside the second temple 130, and a second battery module 132 connected to the second control board 131 is provided at the rear end; that is, in the smart glasses 100 for assisting traffic driving of this embodiment, an obstacle avoidance sensor 111, an audio and video sensor 112 and a magnetometer sensor are placed in the middle of the frame 110, and functional modules are provided on the two temples to perform functional control on the smart glasses 100 for assisting traffic driving.
[0091] Among them, in this embodiment, the obstacle avoidance sensor 111, the audio and video sensor 112 and the magnetometer sensor are connected to the first control board 121 and / or the second control board 131 through a flexible circuit board, respectively. That is, the sensor data is transmitted to the first control board 121 and the second control board 131 inside the two temples through the flexible circuit board. The flexible circuit board and the sensor can be designed to adapt to the shape of the smart glasses 100 for assisting traffic driving, so that the smart glasses 100 for assisting traffic driving can better meet the needs of users. Moreover, the flexible circuit board can make the smart glasses 100 for assisting traffic driving thinner, more flexible and more stretchable.
[0092] In a possible implementation, a frame signal slot 113 for accommodating the flexible circuit board is provided in the frame 110, a first temple 120 signal slot for accommodating the flexible circuit board is provided inside the first temple 120, and a second temple 130 signal slot for accommodating the flexible circuit board is provided inside the second temple 130; wherein the frame signal slot 113, the first temple 120 signal slot and the second temple 130 signal slot are connected.
[0093] In this embodiment, a lens frame 110 cover plate is provided at a position on the top of the lens frame 110 corresponding to the lens frame signal slot 113 , and the lens frame 110 cover plate clamps the lens frame signal slot 113 .
[0094] In a possible implementation, the mirror frame signal slot 113 is disposed at the upper edge of the mirror frame 110. That is, the flexible circuit board is placed in the signal slot at the upper edge of the mirror frame 110 and clamped with a cover plate.
[0095] In this embodiment, the first temple 120 has a first temple 120 cover plate at a position corresponding to the signal groove of the first temple 120, and the first temple 120 cover plate clamps the signal groove of the first temple 120; the second temple 130 has a second temple 130 cover plate at a position corresponding to the signal groove of the second temple 130, and the second temple 130 cover plate clamps the signal groove of the second temple 130.
[0096] The flexible circuit board is respectively connected to the first control board 121 in the first temple 120 and the second control board 131 in the second temple 130. After the flexible circuit board is installed in the signal groove of the first temple 120, the cover plate of the first temple 120 is clamped into the signal groove of the first temple 120. After the flexible circuit board is installed in the signal groove of the second temple 130, the cover plate of the second temple 130 is clamped into the signal groove of the second temple 130.
[0097] The first temple 120 and the second temple 130 are relatively bent through the rotating shaft to fold the smart glasses 100 for assisting traffic driving. The flexible circuit board is installed in the signal slot 113 of the frame, the signal slot of the first temple 120 and the signal slot of the second temple 130. During installation, the flexible circuit board passes through the rotating shafts on the first temple 120 and the second temple 130 respectively. The rotating shaft holes are aligned with the mounting screws for fixing. The flexible circuit board passes through the rotating shafts on the temples to achieve circuit connection while maintaining the foldability of the temples.
[0098] In this way, the signal lines of the smart glasses 100 for assisting traffic driving are hidden inside the shell of the smart glasses 100 for assisting traffic driving, thereby improving the safety and aesthetics of the smart glasses 100 for assisting traffic driving.
[0099] In a possible implementation, the first control board 121 is a camera function control board that controls the audio and video sensor 112 to capture images, and the second control board 131 is a voice function control board that plays corresponding navigation voices according to the collected data of the obstacle avoidance sensor 111 and the audio and video sensor 112 .
[0100] In a possible implementation, Figure 3 As shown, the first temple 120 is provided with at least one first temple function button 123 and a first temple function button 124 electrically connected to the first control panel 121; Figure 4 As shown, at least one second temple function button 133 and a second temple function button 134 electrically connected to the second control board 131 are disposed outside the second temple 130 .
[0101] In a possible implementation, the first temple function button 123, the first temple function button 124 and the second temple function button 133, the second temple function button 134 use touch sensing to achieve multiple controls on the smart glasses 100 for assisting traffic driving, which can effectively reduce the complexity of controlling the smart glasses 100 for assisting traffic driving and improve the flexibility of the appearance design.
[0102] The first temple function button 123 and the first temple function button 124 are not limited to music playing control buttons, for example, the first temple function button 123 and the first temple function button 124 are respectively the previous song control button and the next song control button. In this way, the smart glasses 100 for assisting traffic driving can freely control the playing when playing audio information or receiving audio playing information from the user terminal 200.
[0103] In a possible implementation, the first control panel 121 is connected to an earphone cable 126, and the second temple 130 is provided with an earphone hole 125 for the earphone cable 126 to pass through. In this embodiment, for example, the earphone hole 125 is located obliquely below the first temple 120.
[0104] In a possible implementation, a magnet 127 is provided at the bottom of the outer surface of the second temple 130 to absorb the earplug part of the earphone. The second control board 131 is equipped with an earphone, and the audio is obtained through the earplug of the earphone. The earplug is led out through the conducting hole at the lower side of the temple, and a magnet 127 is provided below the second control board 131 to absorb the earplug. This makes the voice signal less disturbed and facilitates voice recognition. When the earplug is not used, the temple magnetically absorbs the earplug, which enhances the overall aesthetics of the smart glasses 100 for assisting traffic driving. In this embodiment, by providing a magnet 127 at the bottom of the outer surface of the temple, the earplug part of the earphone can be conveniently fixed on the smart glasses 100 for assisting traffic driving, so that when the user is not using the earphone, it can be easily stored on the glasses to avoid the earplug from being lost or dirty. The use of the magnet 127 also helps to improve the safety of the user. For example, during sports or outdoor activities, the user can quickly fix the earplug on the glasses through magnetic force to avoid losing the earplug due to large movements.
[0105] Among them, the second temple 130 function button 133 and the second temple function button 134 are not limited to play control and switch control buttons. For example, there are two second temple 130 function buttons 133 and the second temple function buttons 134, which are a play / stop control button and a power switch control button respectively.
[0106] In this embodiment, the first control board 121 and the second control board 131 on the temples are connected via a flexible circuit board, share two rechargeable lithium batteries, and charge the rechargeable lithium batteries to increase the battery life of the smart glasses 100 for assisting traffic driving.
[0107] In a possible implementation, the first battery module 122 and the second battery module 132 are button batteries or rechargeable batteries, wherein the rechargeable batteries can be taken out for charging, and the rechargeable batteries are rechargeable lithium batteries. That is, the rechargeable lithium batteries placed at the tips of the first temple 120 and the second temple 130 supply power to the first control board 121 and the second control board 131 on the temples. In this way, the signal line is easier to route and the structure is simple. Moreover, the first battery module 122 and the second battery module 132 use rechargeable lithium batteries, which can charge the smart glasses 100 for assisting traffic driving at any time to ensure its continuous operation.
[0108] In a possible implementation, the rechargeable lithium battery can be charged directly through the first control board 121 or the second control board 131. Specifically, in this embodiment, a magnetic charging interface 135 for charging the first battery module 122 and the second battery module 132 is also included, and the magnetic charging interface 135 is arranged at the position where the first temple 120 is located corresponding to the first control board 121 or the position where the second temple 130 is located corresponding to the second control board 131.
[0109] Among them, the magnetic charging interface 135 is a type-c magnetic charging interface. The magnetic head is inserted into the type-c charging port, and a USB charging cable with a magnetic head is used for charging, which can reduce the complexity of the charging connection.
[0110] In a possible implementation, the first control panel 121 or the second control panel 131 is equipped with a wireless communication module, and the smart glasses 100 for assisting traffic driving transmit the detection data of the obstacle avoidance sensor 111 and the audio and video sensor 112 to the user terminal 200 through the wireless communication module, and receive a voice signal for navigation from the user terminal 200.
[0111] Among them, in this embodiment, the wireless communication module includes 4G, 5G, wifi and Bluetooth modules.
[0112] In particular, in this embodiment, the smart glasses 100 for assisting traffic driving are automatically connected and networked, and a network communication connection is achieved with the user terminal 200. After the smart glasses 100 for assisting traffic driving are turned on, the Bluetooth module is started, the Bluetooth service is turned on, and the user terminal 200 is connected via Bluetooth. Among them, the method of Bluetooth connection is well known to those skilled in the art and will not be described in detail in this embodiment. After the smart glasses 100 for assisting traffic driving establish a Bluetooth connection with the user terminal 200, the user terminal 200 allocates a network IP address to the smart glasses 100 for assisting traffic driving, and opens the espweb network service of the user terminal 200. After receiving the network IP address, the smart glasses 100 for assisting traffic driving set the IP address, turn off the Bluetooth service, and connect to the network service through the network IP address. After the smart glasses 100 for assisted traffic driving are connected to the network service of the user terminal 200, the user terminal 200 sends the wifi name and password to the smart glasses 100 for assisted traffic driving, so that the smart glasses 100 for assisted traffic driving are connected to the wifi network of the user terminal 200 according to the received wifi name and password, thereby realizing the wireless network connection between the smart glasses 100 for assisted traffic driving and the user terminal 200.
[0113] Taking the user terminal 200 as a mobile phone as an example, the wireless communication module and the user terminal 200 establish a wireless transmission process as follows: the mobile phone APP establishes Wifi-Direct (also known as Wi-Fi P2P) and then scans the smart glasses 100 for assisted traffic driving via Bluetooth. After the Bluetooth connection is successful, the mobile phone APP transmits the Wifi name and password of Wifi-Direct to the smart glasses 100 for assisted traffic driving via Bluetooth. The smart glasses 100 for assisted traffic driving connect to Wifi-Direct according to the received Wifi name and password, thereby realizing the connection and data transmission between the mobile phone APP and the smart glasses 100 for assisted traffic driving.
[0114] In this embodiment, the first control panel 121 and / or the second control panel collects obstacle avoidance data and audio and video data and transmits them to the user terminal 200 through wireless transmission technology (BT, WiFi). The user terminal 200 processes the received data information, generates voice navigation information, and feeds back the voice results to the wearer of the smart glasses 100 for assisting traffic driving through wireless transmission technology.
[0115] In this embodiment, the smart glasses 100 for assisting traffic driving can process images and obstacle data, generate voice navigation data and images adapted for color blindness and color weakness, and assist color blindness and color weakness users in traffic driving.
[0116] Preferably, the smart glasses 100 for assisting traffic driving transmit the image data to the user terminal 200, and the user terminal 200 converts the image data in front of the glasses into voice prompts, and returns them to the smart glasses 100 for assisting traffic driving through wireless technology. For example: the user terminal 200APP calls the camera module of the smart glasses 100 for assisting traffic driving through wifi wireless transmission to collect the front image, recognizes the signal lights, the tail lights of the vehicles in front and / or the elevated information in the video image data based on the pre-trained image recognition model, and generates the voice navigation data based on the signal lights, the tail lights of the vehicles in front and / or the elevated information in the video image data and the geomagnetic direction data obtained from the magnetometer sensor, plays the voice navigation data through the Bluetooth headset, and the wearer obtains the prompt information through the earplugs, thereby effectively guiding the traffic driving activities of the color blind and color weak people (or people with low vision). The user terminal 200 converts the video image data from the RGB color space to the HSV color space, and adjusts the H channel color range to the range of (0, 180) to generate the color blindness and color weakness adaptation image. The smart glasses 100 for assisting traffic driving display the color blindness and color weakness adaptation image on the lenses of the frame 110. The wearer obtains the color blindness and color weakness adaptation image through the lenses, thereby accurately understanding the situation of the signal lights and taillights of the vehicle ahead, thereby effectively guiding the traffic driving activities of the color blindness and color weakness people (or people with low vision).
[0117] In this embodiment, after the smart glasses 100 for assisting traffic driving transmit the image information in front of the glasses to the APP of the user terminal 200 via wifi, the APP converts the image into identifiable traffic elements according to the trained image recognition model, and combines these traffic elements with geomagnetic direction data and navigation road condition analysis to generate voice navigation data, such as red light ahead, please stop or go straight, turn left, turn right and other navigation prompt voices, which are transmitted to the wearer through wireless technology. The wearer obtains navigation voice prompt information through earplugs, thereby effectively guiding the activities of color blind and color weak people.
[0118] Among them, in this embodiment, the image collected by the smart glasses 100 for assisting traffic driving is segmented into the nearest traffic signs and motor vehicles in front of the eyes through the trained neural network model. The red light, green light, yellow light, and the taillight lighting information of the motor vehicle in front are identified through the trained image recognition model. Driving instructions are given in combination with navigation as a reference, and then the results are transmitted to the color blind and color weak person through voice. At the same time, the RGB color space of the collected image display is converted into the HSV color space through the APP of the user terminal 200, and the color recognition range of the color blind and color weak person is adjusted to the recognizable H channel color range (0, 180), so that the color blind and color weak person can make a comprehensive judgment based on the map navigation information and the image information of the APP, thereby improving the ability to distinguish color differences.
[0119] In this embodiment, the video image data is converted from the RGB color space to the HSV color space, and the H channel color range is adjusted to the range of (0, 180) to generate the color blindness and color weakness adaptation image, and the color blindness and color weakness adaptation image is displayed on the lens of the frame 110 to assist the color blindness and color weakness user in traffic driving. Among them, in the smart glasses 100 for assisting traffic driving, it also includes displaying navigation information generated based on the departure place and the destination, and placing the navigation information as basic information on the background window of the smart glasses display area. The original video and the recognized color blindness and color weakness adaptation image are displayed on the glasses window. In addition, the original video image collected by the audio and video sensor 112 can also be displayed on the glasses window together, so that in non-intersection areas, without the need for traffic light recognition, the user can clearly see the road conditions ahead. Among them, in this embodiment, the magnified glasses window and can be switched to adapt to the user needs of different road conditions, so that the recipient can easily obtain the required information.
[0120] In one implementation of this embodiment, the control module 103 also receives color graphic recognition voice data and / or color graphic recognition images from the user terminal 200, and the voice guidance module 104 plays the color graphic recognition voice data and / or displays the color graphic recognition image on the lenses of the frame 110 to assist color blind and color weak users in identifying color blindness and color weak color recognition test examinations.
[0121] Specifically, when the user terminal 200 detects that the video image data contains a color test picture, it identifies the color graphics in the color test picture by means of OCR recognition, and when the recognition fails, it identifies the color graphics in the color test picture by means of color recognition through the image recognition model, generates color graphics recognition voice data and / or color graphics recognition image based on the recognized color graphics, and feeds back the color graphics recognition voice data and / or color graphics recognition image to the smart glasses 100 for assisting traffic driving.
[0122] Specifically, for example, the image is segmented into red, green, yellow, blue, red-yellow, red-green, red-blue, green-yellow, green-blue, and yellow-blue according to the color. A color recognition image segmentation model trained and generated by a convolutional neural network is used. First, OCR technology is used to capture text information from the image information. If the text information is captured successfully, the text information can be broadcast to the user through voice. If it is not captured successfully, the color card information is recognized by the image recognition model. The APP of the user terminal 200 recognizes the collected video information through the image recognition model, and the recognized image information is displayed to the user. The driver's license test and color recognition correction are completed. If the object information is still not recognized (that is, the recognition class is other), the APP of the user terminal 200 uses the color segmentation model to segment the object shape and presents it to the color blind and color weak person through the mobile phone recognition map. This method also uses the mapping relationship between the color space area range (0, 180) in the HSV space and the color space range that the color blind and color weak person can distinguish. The ability of the color blind and color weak person to recognize colors on the mobile phone is corrected through video playback. The specific method is: the APP converts the color space of the mobile phone into the HSV color space. Take out the H color channel. Its value range is (0, 180). Then, according to the color space range recognized by the color blind and color weak, play the video in the space range of 180. When the color blind and color weak can fully recognize the image, the current debugging board range information is mapped to the color space of (0, 180). Thus, the spatial recognition ability of the color blind and color weak is compensated.
[0123] In addition, the smart glasses 100 for assisting traffic driving can also obtain GPS data and transmit the GPS data to the user terminal 200APP through a public network (4G, 5G, wifi). The assistant guides or helps the recipient to move through the user terminal 200APP.
[0124] In addition, the recipient wears the smart glasses 100 for assisting traffic driving and is connected to the user terminal 200APP. The assistant establishes a voice connection with the recipient, and the recipient's smart glasses 100 for assisting traffic driving automatically answer the call. During the voice call, the recipient collects the front image through the camera of the smart glasses 100 for assisting traffic driving and transmits the data to the assistant through the public network (4G, 5G, wifi). The recipient automatically sends GPS data to the user terminal 200APP of the assistant, and the assistant helps the recipient navigate according to the received GPS data. The assistant guides or helps the recipient's activities through voice calls, video images and GPS data navigation.
[0125] For example, the camera of the smart glasses 100 for assisting traffic driving captures and obtains the image information in front and sends it to the user terminal 200APP of the assistant for image recognition. The obstacle avoidance detection module detects the distance of the obstacle in front and sends the data to the user terminal 200APP of the assistant. The user terminal 200APP of the assistant processes the image information and the obstacle distance information, and emits a beeping alarm sound if the obstacle is within 1 meter. If the obstacle is between 1 meter and 3.5 meters, the actual distance of the obstacle in decimeters is reported, for example, 2.0 meters, and 20 is broadcast. If it exceeds 3.5 meters, the user terminal 200APPP of the assistant analyzes the traffic lights and the vehicle conditions in front through the image recognition function, and plays sound through the smart glasses earphone module to provide effective information to the user.
[0126] In this embodiment, the smart glasses 100 for assisting traffic driving collect obstacle avoidance data and audio and video data, and transmit them to the user terminal 200APP of the assistant through wireless transmission technology. The user terminal 200APP of the assistant processes the received data information and feeds back the results to the smart glasses 100 for assisting traffic driving through wireless transmission technology. This simplifies the complexity of device connection and facilitates use and maintenance.
[0127] This embodiment also provides a traffic driving assistance system, Figure 5 The diagram shows the interaction principle of the traffic driving assistance system of the present application in one embodiment. Figure 5 As shown, the traffic driving assistance system in this embodiment includes: the smart glasses 100 for assisting traffic driving as described above and a user terminal 200 for wireless communication with the smart glasses 100 for assisting traffic driving.
[0128] The functions of the smart glasses 100 for assisting traffic driving have been described in detail above, and will not be repeated here. Specifically, the user terminal 200 is used to identify the signal lights, the tail lights of the vehicles ahead and / or the elevated information in the video image data based on the pre-trained image recognition model, and generate the voice navigation data based on the signal lights, the tail lights of the vehicles ahead and / or the elevated information in the video image data and the geomagnetic direction data obtained from the magnetometer sensor, and feed it back to the smart glasses 100 for assisting traffic driving; convert the video image data from the RGB color space to the HSV color space, and adjust the H channel color range to the (0, 180) range, generate the color blindness and color weakness adaptation image, and feed it back to the smart glasses 100 for assisting traffic driving, so as to assist the color blindness and color weakness users in traffic driving; generate navigation data based on the video image data, the geomagnetic direction data and the GPS data received from the smart glasses 100 for assisting traffic driving, and feed it back to the smart glasses 100 for assisting traffic driving, so as to assist the color blindness and color weakness users in traffic driving.
[0129] The user terminal 200 is also used to detect whether the video image data contains a color test picture, and when it is detected that the video image data contains a color test picture, identify the color graphics in the color test picture by OCR recognition, and when the recognition fails, identify the color graphics in the color test picture by color recognition through the image recognition model, generate color graphics recognition voice data and / or color graphics recognition image based on the recognized color graphics, and feed back the color graphics recognition voice data and / or color graphics recognition image to the smart glasses 100 for assisting traffic driving. The smart glasses 100 for assisting traffic driving play the color graphics recognition voice data and display the color graphics recognition image on the lenses of the frame 110 to assist color blind and color weak users to identify the color blind and color weak color recognition test.
[0130] Therefore, the smart glasses 100 for assisting traffic driving in this embodiment can not only assist color-blind and color-weak people in traffic driving, but also assist color-blind and color-weak users in completing driver's license tests and color recognition correction.
[0131] In addition, the user terminal 200 is also used to establish a voice call with the smart glasses 100 for assisting traffic driving, and provide navigation services to the user through the received distance data, video image data and GPS data.
[0132] The smart glasses 100 for assisting traffic driving transmit the image information obtained by the camera to the user's mobile phone APP for image recognition, wherein, exemplarily, the user App uses the trained deep neural network model to identify objects in the image. The objects include but are not limited to traffic lights, zebra crossings, and vehicles in front. Through image recognition, corresponding voice prompts are generated for the smart glasses 100 for assisting traffic driving to inform the user of the road conditions ahead, thereby assisting color-blind and color-weak users to travel safely. The smart glasses 100 for assisting traffic driving can also obtain distance information through obstacle avoidance detection and send it to the mobile phone APP for ranging. Through ranging, corresponding voice prompts are generated for the smart glasses 100 for assisting traffic driving to inform the user of the distance information of obstacles ahead, thereby assisting color-blind and color-weak users to travel safely. In this embodiment, the front and surrounding environment of the color-blind and color-weak people are detected by dual methods of image recognition and distance data of the obstacle avoidance sensor 111. The user interacts with the mobile phone APP through voice through the smart glasses 100 for assisted traffic driving, and the feedback is given to the user through the headphones in the smart glasses 100 for assisted traffic driving. The communication is convenient and the voice signal interference is small, which further improves the accuracy and safety of obstacle avoidance and effectively improves the user experience.
[0133] Figure 6 The schematic diagram of the user terminal 200 in one embodiment of the traffic driving assistance system of the present application is shown. Figure 7 As shown, the user terminal 200 includes: at least one processor 201, a memory 202, at least one network interface 203 and a user interface 205. The various components in the terminal are coupled together through a bus system 404. It can be understood that the bus system 204 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 204 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 7 In the specification, various buses are labeled as bus systems.
[0134] The user interface 205 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.
[0135] It is understood that the memory 202 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.
[0136] The memory 202 in the embodiment of the present invention is used to store various categories of data to support the operation of the user terminal 200. Examples of these data include: any executable program for operating on the user terminal 200, such as an operating system 2021 and an application 2022; the operating system 2021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 2022 may include various applications, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. The XX method provided in the embodiment of the present invention may be included in the application 2022.
[0137] The method disclosed in the above embodiment of the present invention can be applied to the processor 201, or implemented by the processor 201. The processor 201 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 201 or the instruction in the form of software. The above processor 201 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 201 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 201 can be a microprocessor or any conventional processor, etc. In combination with the steps of the accessory optimization method provided in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0138] In an exemplary embodiment, the user terminal 200 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), or complex programmable logic device (CPLD) to execute the aforementioned method.
[0139] like Figure 7 As shown, this embodiment also provides a traffic driving assistance method, which is applied to the smart glasses 100 for assisting traffic driving as described above, and includes the following steps S100 to S300.
[0140] Step S100, in response to receiving a voice start command, starting the smart glasses 100 for assisting traffic driving, starting the audio and video sensor 112 in the smart glasses 100 for assisting traffic driving, and transmitting the video image data collected by the audio and video sensor 112, the geomagnetic direction data obtained by the magnetometer sensor, and the GPS data to the user terminal 200;
[0141] Step S200, receiving voice navigation data and a color blindness and color weakness adaptation image generated by the user terminal 200 based on the video image data and the geomagnetic direction data; wherein the user terminal 200 identifies the traffic lights, the tail lights of the vehicle ahead and / or the elevated information in the video image data based on a pre-trained image recognition model, and generates the voice navigation data based on the traffic lights, the tail lights of the vehicle ahead and / or the elevated information in the video image data and the geomagnetic direction data obtained from the magnetometer sensor; the user terminal 200 converts the video image data from the RGB color space to the HSV color space, and adjusts the H channel color range to the range of (0, 180) to generate the color blindness and color weakness adaptation image;
[0142] In step S300, the smart glasses 100 for assisting traffic driving play the voice navigation data and display the color blindness and color weakness adapted image on the smart glasses 100 for assisting traffic driving to assist the color blindness and color weakness user in traffic driving.
[0143] In this embodiment, the method further includes: training the image recognition model, Figure 8 Shown is a flow chart of training an image recognition model in an embodiment of the traffic driving assistance method of the present application. Figure 8 As shown, in this embodiment, training the image recognition model includes the following steps S101 to S103.
[0144] Step S101, obtaining a color blindness and color weakness test picture set and a color card picture set automatically generated based on a random algorithm, and constructing a color data training set based on the color blindness and color weakness test picture set and the color card picture set;
[0145] Step S102, training a convolutional neural network using the color data training set to generate the image recognition model;
[0146] Step S103, comparing each recognition result of the image recognition model with the actual picture, and updating the image recognition model based on the comparison result.
[0147] This embodiment can help recipients improve the accuracy of object recognition by collecting color card data sets, marking objects of different colors, and training models for traffic road condition recognition. The recognition model is used to recognize the test image, and then the difference is compared based on the recognition result and the real result. The image with recognition error is uploaded to the server for retraining to generate a new recognition model. The user of the smart glasses 100 for assisting traffic driving can improve the color recognition rate by learning and training the model through the real results of the image and the results of his own recognition.
[0148] In this embodiment, the implementation principle of the traffic driving assistance method is the same as the implementation principle of the above-mentioned traffic driving assistance system, and the implementation principle of the traffic driving assistance method will not be repeated here.
[0149] According to the method provided in the embodiment of the present application, the present application also provides a computer-readable storage medium, which stores a program code, and when the program code is run on a computer, the computer executes Figure 8 The method shown or the method in the user terminal 200.
[0150] The terms "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process, a processor, an object, an executable file, an execution thread, a program and / or a computer running on a processor. By way of illustration, both applications and computing devices running on a computing device can be components. One or more components can reside in a process and / or an execution thread, and a component can be located on a computer and / or distributed between two or more computers. In addition, these components can be executed from various computer-readable media having various data structures stored thereon. Components can, for example, communicate through local and / or remote processes according to signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system and / or a network, such as the Internet interacting with other systems through signals).
[0151] Those of ordinary skill in the art will appreciate that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0152] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system and method can refer to the corresponding process in the aforementioned smart glasses 100 for assisted traffic driving, and will not be repeated here.
[0153] In the several embodiments provided in the present application, it should be understood that the disclosed systems, modules, terminals and methods can be implemented in other ways. For example, the module and terminal embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of terminals or modules, which can be electrical, mechanical or other forms.
[0154] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0155] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0156] In the above embodiments, the functions of each functional module can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (programs). When loading and executing computer program instructions (programs) on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable terminals. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integrated. Available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., high-density digital video discs (DVDs), or semiconductor media (e.g., solid state disks (SSDs), etc.).
[0157] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.
[0158] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0159] In summary, in the present application, the color-blind and color-weak users use voice-controlled smart glasses, and the smart glasses use voice to broadcast the traffic lights and vehicles in front of the color-blind and color-weak users, and display the front image adapted for the color-blind and color-weak users on the smart glasses, effectively assisting the color-blind and color-weak users in traffic driving; at the same time, the present application can also identify the color graphics in the color test picture to assist the color-blind and color-weak users in identifying the color-blind and color-weak color recognition test exam, and can provide services for the color-blind and color-weak people remotely. The smart glasses 100 for assisting traffic driving in the present application are novel in structure and simple to use, and can effectively guide color-blind and color-weak people to perform traffic driving and exams, and effectively improve the user experience of color-blind and color-weak users. Therefore, the present application effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.
[0160] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A smart glasses for assisting traffic driving, characterized in that: include: Spectacle frame body, detection module, control module and voice guidance module; wherein: The frame body comprises a frame and a first temple and a second temple connected to two sides of the frame; The detection module includes an audio and video sensor and a magnetometer sensor disposed in the middle of the lens frame; The control module includes a first control panel and a second control panel respectively installed inside the first temple and the second temple, and at least one function button installed on the outer surface of the first temple and the second temple; wherein: The audio and video sensor and the magnetometer sensor are connected to the first control board and / or the second control board through a flexible circuit board; the control module controls the audio and video sensor to start image acquisition based on the received voice start command, transmits the video image data received from the audio and video sensor and the geomagnetic direction data received from the magnetometer sensor to the user terminal, and receives voice navigation data and color blindness and color weakness adaptation images generated based on the video image data and the geomagnetic direction data from the user terminal; wherein the user terminal identifies the signal lights, the tail lights of the vehicle ahead and / or the elevated information in the video image data based on a pre-trained image recognition model, and generates the voice navigation data based on the signal lights, the tail lights of the vehicle ahead and / or the elevated information in the video image data and the geomagnetic direction data obtained from the magnetometer sensor; the user terminal converts the video image data from the RGB color space to the HSV color space, and adjusts the H channel color range to the (0, 180) range to generate the color blindness and color weakness adaptation image; The voice guidance module is connected to the control module, receives and plays the voice navigation data from the control module, and displays the color blindness and color weakness adaptation image on the lens of the frame to assist color blindness and color weakness users in traffic driving.
2. The smart glasses for assisting traffic driving according to claim 1, characterized in that: The control module also receives color pattern recognition voice data and / or color pattern recognition images from the user terminal, and the voice guidance module plays the color pattern recognition voice data and / or displays the color pattern recognition images on the lenses of the frame to assist color blind and color weak users in recognizing color blind and color weak color recognition tests; When the user terminal detects that the video image data contains a color test picture, it identifies the color graphics in the color test picture by means of OCR recognition, and when the recognition fails, it identifies the color graphics in the color test picture by means of color recognition through the image recognition model, generates color graphics recognition voice data and / or color graphics recognition image based on the recognized color graphics, and feeds back the color graphics recognition voice data and / or color graphics recognition image to the smart glasses for assisting traffic driving.
3. The smart glasses for assisting traffic driving according to claim 1, characterized in that: A first control board is arranged at the front end of the first temple, and a first battery module connected to the first control board is arranged at the rear end; a second control board is arranged at the front end of the second temple, and a second battery module connected to the second control board is arranged at the rear end; wherein, a magnetic charging interface for charging the first battery module and the second battery module is arranged at a position of the first temple corresponding to the first control board or a position of the second temple corresponding to the second control board.
4. The smart glasses for assisting traffic driving according to claim 1, characterized in that: The voice guidance module includes an earphone connected to the second control panel; the second temple is provided with an earphone hole for the earphone wire of the earphone to pass through, and the bottom of the outer surface of the second temple is provided with a magnet to absorb the earplug part of the earphone.
5. The smart glasses for assisting traffic driving according to claim 1, characterized in that: The frame is provided with a frame signal slot for accommodating the flexible circuit board, the first temple is provided with a first temple signal slot for accommodating the flexible circuit board, and the second temple is provided with a second temple signal slot for accommodating the flexible circuit board; the frame signal slot, the first temple signal slot and the second temple signal slot are connected.
6. The smart glasses for assisting traffic driving according to claim 1, characterized in that: At least one sound transmission hole is arranged in the middle of the mirror frame, and a sound-transmitting membrane is attached to the sound transmission hole.
7. The smart glasses for assisting traffic driving according to claim 1, characterized in that: Also includes: GPS positioning module; The control module receives GPS data from the GPS positioning module, and transmits the GPS data to the user terminal, so that the user terminal generates the voice navigation data in combination with the GPS data.
8. A traffic driving assistance system, characterized in that: include: The smart glasses for assisting traffic driving as claimed in any one of claims 1 to 8 and a user terminal for wireless communication with the smart glasses for assisting traffic driving; The user terminal is used for: Identify the signal lights, the tail lights of the vehicles ahead and / or the elevated road information in the video image data based on the pre-trained image recognition model, generate the voice navigation data based on the signal lights, the tail lights of the vehicles ahead and / or the elevated road information in the video image data and the geomagnetic direction data obtained from the magnetometer sensor, and feed it back to the smart glasses for assisting traffic driving; Convert the video image data from the RGB color space to the HSV color space, and adjust the H channel color range to the (0, 180) range, generate the color blindness and color weakness adaptation image, and feed it back to the smart glasses for assisting traffic driving; Generate navigation data based on the video image data, the geomagnetic direction data, and the GPS data received from the smart glasses for assisting traffic driving, and feed the navigation data back to the smart glasses for assisting traffic driving; Detect whether the video image data contains a color test picture, and when it is detected that the video image data contains a color test picture, identify the color graphics in the color test picture by means of OCR recognition, and when the recognition fails, identify the color graphics in the color test picture by means of color recognition by means of the image recognition model, generate color graphics recognition voice data and / or color graphics recognition image based on the recognized color graphics, and feed back the color graphics recognition voice data and / or color graphics recognition image to the smart glasses for assisting traffic driving.
9. A traffic driving assistance method, applied to the traffic driving assistance system as claimed in claim 8, characterized in that: include: In response to receiving the voice start command, the smart glasses for assisting traffic driving are turned on and started, and the audio and video sensors in the smart glasses for assisting traffic driving are started, and the video image data collected by the audio and video sensors, the geomagnetic direction data obtained by the magnetometer sensor, and the GPS data are transmitted to the user terminal; Receiving, from the user terminal, voice navigation data and a color blindness and color weakness adaptation image generated by the user terminal based on the video image data and the geomagnetic direction data; wherein the user terminal recognizes traffic lights, tail lights of vehicles ahead and / or elevated road information in the video image data based on a pre-trained image recognition model, and generates the voice navigation data based on the traffic lights, tail lights of vehicles ahead and / or elevated road information in the video image data and the geomagnetic direction data acquired from a magnetometer sensor; The user terminal converts the video image data from the RGB color space to the HSV color space, and adjusts the H channel color range to the range of (0, 180), to generate the color blindness and color weakness adaptation image; The smart glasses for assisting traffic driving play the voice navigation data and display the color blindness and color weakness adapted image on the smart glasses for assisting traffic driving to assist color blindness and color weakness users in traffic driving.
10. The traffic driving assistance method according to claim 9, characterized in that: Also includes: Training the image recognition model includes: Acquire a color blindness and color weakness test picture set and a color card picture set automatically generated based on a random algorithm, and construct a color data training set based on the color blindness and color weakness test picture set and the color card picture set; Using the color data training set to train a convolutional neural network to generate the image recognition model; The recognition result of the image recognition model is compared with the actual picture each time, and the image recognition model is updated based on the comparison result.
