Blind person intelligent visual assistance method and system based on visual questions and answers

Through the visual question-and-answer model, scene images and user problems in the blind assist system are processed, instant answer return and efficient interaction are achieved, the problem of poor user interaction effect in the existing system is solved, and the blind assist efficiency and independent living ability are improved.

CN119046414APending Publication Date: 2024-11-29HOHAI UNIV

Patent Information

Application Number
CN202410942598.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The existing blind assistive system has poor user interaction effects and cannot dynamically answer user specific questions. In addition, traditional guide dogs and blind sticks have problems with high training costs and limited perception range.

Method used

Using a visual question-and-answer method, the scene image and user voice information are collected through the mobile terminal, transmitted to the server for text conversion and image encoding, the user's questions are answered using the visual question-and-answer model, and the answer is returned through voice broadcast. The system includes an image encoder, a fine-grained filtering module, a coarse-grained aggregation module, a multi-grained multi-modal alignment module and a text decoder. It uses Transformer blocks and self-attention mechanism to process image features, combined with self-attention and cross-attention in rectangular windows The force layer performs information alignment.

Benefits of technology

Realize instant processing and return answers, improve user interaction effect and auxiliary efficiency, enhance the ease of use and convenience of the system, reduce dependence on help from others, and enhance the independent living ability and self-confidence of blind users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119046414A_ABST
    Figure CN119046414A_ABST
Patent Text Reader

Abstract

The invention relates to a blind person intelligent visual assistance method based on visual questions and answers. The method comprises the steps of transmitting a scene image and voice information asked by a user to a server under the condition that the mobile terminal receives the scene image collected by blind person auxiliary glasses worn by the user and the voice information asked by the user, and sending the scene image and the voice information asked by the user to the server under the condition that the server receives the scene image and the voice information asked by the user. And performing text conversion on the voice information of the question of the user to obtain text data, inputting the text data and the scene image into a visual question-answering model by the server, answering the question of the user according to the scene image through the visual question-answering model, and outputting an answer. And the server sends the answer to the mobile terminal, so that the mobile terminal sends the answer to the blind person auxiliary glasses and presents the answer to the user in a voice broadcast mode, and the user interaction effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence and computer vision technology, and in particular to an intelligent visual assistance method and system for the blind based on visual question answering. Background Art

[0002] In the prior art, blind people and people with severe visual impairment usually rely on guide dogs, canes, or help from others to navigate and understand their surroundings. However, these traditional methods have certain limitations, such as the high training cost of guide dogs and the limited perception range of canes. In addition, with the development of science and technology, some assistive devices based on image recognition and speech synthesis have appeared on the market, but these devices often can only provide limited functions and cannot dynamically answer users' specific questions. Therefore, the current blind assistance system has problems such as poor interaction with users. Summary of the invention

[0003] Based on this, it is necessary to provide a method and system for blind people's intelligent visual assistance based on visual question and answer that can improve user interaction effect in response to the above technical problems.

[0004] An intelligent visual assistance method for the blind based on visual question answering, the method comprising:

[0005] When the mobile terminal receives the scene image collected by the blind assistive glasses worn by the user and the voice information of the user's question, the mobile terminal transmits the scene image and the voice information of the user's question to the server;

[0006] When the server receives the scene image and the voice information of the user's question, converting the voice information of the user's question into text to obtain text data;

[0007] The server inputs the text data and the scene image into a visual question answering model, answers the user's question according to the scene image through the visual question answering model, and outputs an answer;

[0008] The server sends the answer to the mobile terminal, so that the mobile terminal sends the answer to the blind assistive glasses and presents it to the user through voice broadcast.

[0009] In one of the embodiments, the visual question answering model includes: an image encoder, a fine-grained filtering module, a coarse-grained aggregation module, a multi-granularity multimodal alignment module, and a text decoder;

[0010] The scene image is input into the image encoder for encoding to obtain image features;

[0011] Inputting the image features into the fine-grained filtering module to filter noise information in the visual information and extract features related to the question answering, thereby obtaining filtered image features;

[0012] Inputting the filtered image features and the image features into the coarse-grained aggregation module for feature aggregation to obtain global features;

[0013] Splicing the global feature with the filtered image feature to obtain a spliced ​​global feature;

[0014] Inputting the text data and the spliced ​​global features into a multi-granularity multi-modal alignment module for alignment to obtain aligned image-text features;

[0015] The aligned graphic and text features are input into the text decoder to answer the user's question and output the answer.

[0016] In one of the embodiments, the fine-grained filtering module includes: a first Transformer block, a downsampling layer, a second Transformer block, and an upsampling layer;

[0017] The image features are input into the first Transformer block for processing and then output to the downsampling layer for downsampling processing to obtain downsampled features;

[0018] Input the downsampled features to the second Transformer block for processing and then output to the upsampling layer for upsampling processing to obtain the upsampled features;

[0019] After the upsampled features are concatenated with the image features, filtered image features are obtained.

[0020] In one of the embodiments, the first Transformer block and the second Transformer block are self-attention mechanisms with the same network structure;

[0021] The self-attention mechanism includes a first layer normalization, multi-head self-attention, a second layer normalization and a first MLP;

[0022] The image features input into the self-attention mechanism are concatenated with the position encoding to obtain the first image features;

[0023] Input the first image feature into the first layer for normalization and processing, and then input it into the multi-head self-attention to capture different information to obtain feature information;

[0024] Concatenating the feature information with the first image feature to obtain a second image feature;

[0025] The second image feature is input into the second layer for normalization and processing, and then output to the first MLP for processing to obtain a third image feature;

[0026] The third image feature is concatenated with the second image feature as an output of the self-attention mechanism.

[0027] In one of the embodiments, the coarse-grained aggregation module includes a third layer of normalization, a rectangular window self-attention, a fourth layer of normalization, and a second MLP;

[0028] splicing the filtered image feature and the image feature to obtain a fourth image feature;

[0029] Input the fourth image feature into the third layer for normalization and processing, and then output it to the rectangular window self-attention for processing to obtain a fifth image feature;

[0030] splicing the fifth image feature with the fourth image feature to obtain a sixth fourth image feature;

[0031] Input the sixth image feature into the fourth layer for normalization and processing, and then output it to the second MLP for processing to obtain the seventh fourth image feature;

[0032] splicing the seventy-fourth image feature with the fifth image feature to obtain an eighth image feature;

[0033] The eighth image feature is concatenated with the fourth image feature to obtain a global feature.

[0034] In one embodiment, the expression of the rectangular window self-attention is:

[0035] Rwin-SA(X)=Concat(Y 1 ,Y 2 ,...Y M )W P

[0036] in, is the output of the attention head using a horizontal window, is the output of the attention head of the vertical window, W P Represents the projection matrix of feature fusion, Rwin is the rectangular window, and SA(X) is self-attention.

[0037] In one of the embodiments, the multi-granularity multimodal alignment module includes: a self-attention layer, a cross-attention layer, and a fully connected layer;

[0038] Inputting the text data into the fully connected layer for processing to obtain processed text features;

[0039] Inputting the text data into the self-attention layer for processing to obtain text features;

[0040] The text features and the global features and the spliced ​​global features are input into the cross attention layer, and the features output after processing by the cross attention layer are spliced ​​with the processed text features to obtain aligned image and text features.

[0041] In one embodiment, the image encoder is a visual encoder used in the multimodal visual language pre-training model EVA-CLIP.

[0042] In one embodiment, the text decoder is a Vicuna model.

[0043] An intelligent visual assistance system for the blind based on visual question and answer, the system comprising: a mobile terminal, blind assistance glasses and a server;

[0044] When the mobile terminal receives the scene image collected by the blind assistive glasses worn by the user and the voice information of the user's question, the mobile terminal transmits the scene image and the voice information of the user's question to the server;

[0045] When the server receives the scene image and the voice information of the user's question, converting the voice information of the user's question into text to obtain text data;

[0046] The server inputs the text data and the scene image into a visual question answering model, answers the user's question according to the scene image through the visual question answering model, and outputs an answer;

[0047] The server sends the answer to the mobile terminal, so that the mobile terminal sends the answer to the blind assistive glasses and presents it to the user through voice broadcast.

[0048] The above-mentioned intelligent visual assistance method for the blind based on visual question and answer, when the mobile terminal receives the scene image collected by the blind auxiliary glasses worn by the user and the voice information of the user's question, transmits the scene image and the voice information of the user's question to the server, when the server receives the scene image and the voice information of the user's question, the voice information of the user's question is converted into text to obtain text data, the server inputs the text data and the scene image into the visual question and answer model, answers the user's question according to the scene image through the visual question and answer model, outputs the answer, the server sends the answer to the mobile terminal, so that the mobile terminal sends the answer to the blind auxiliary glasses and presents it to the user in the form of voice broadcast, thereby, the answer can be processed and returned immediately, ensuring that the user can obtain the required information in time, improving the user interaction effect, and improving the assistance efficiency and user experience. Furthermore, the answer is sent to the user in the form of voice through the blind auxiliary glasses, and the user can obtain information without additional operation, which greatly improves the ease of use and convenience of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 Schematic diagram of a flow chart of an intelligent visual assistance method for the blind based on visual question answering in one embodiment;

[0050] Figure 2 is a schematic diagram of the structure of a visual question answering model in one embodiment;

[0051] Figure 3 Schematic diagram of the structure of a self-attention mechanism in one embodiment;

[0052] Figure 4 is a schematic diagram of the structure of a multi-granularity multi-modal alignment module in one embodiment;

[0053] Figure 5 Schematic diagram of the structure of an intelligent visual assistance system for the blind based on visual question answering in one embodiment. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0055] In one embodiment, Figure 1 As shown, a method for intelligent visual assistance for the blind based on visual question answering is provided, comprising the following steps:

[0056] Step S220: When the mobile terminal receives the scene image collected by the blind assistive glasses worn by the user and the voice information of the user's question, the mobile terminal transmits the scene image and the voice information of the user's question to the server.

[0057] Among them, a client for implementing an intelligent visual assistance method for the blind based on visual question and answer is installed on the mobile terminal. The client installed on the mobile terminal is used to receive user input collected by the blind assistance glasses, pass user requirements to the server, and return the server's response to the user.

[0058] Among them, the blind assistive glasses, as information collection equipment, are mainly responsible for collecting audio and video information of blind users, such as obstacles, human voices, etc., and converting the collected environmental information (ie, scene images) into digital signals, which are transmitted to the server through the mobile terminal using wireless transmission technology.

[0059] Among them, the blind assistive glasses can be a pair of smart AR glasses. The glasses are equipped with an 8-megapixel OV camera, support voice and touch operations, and also support RTSP streaming, which can be used to capture and transmit the scene images facing the user in real time and transmit them to the mobile terminal or server.

[0060] The server may be composed of multiple servers with different functions, or may be just one server.

[0061] In one example, the server may include an information receiving server, an algorithm analysis server, and a back-end development server. Each server has a corresponding data storage unit and a database. The information receiving server is responsible for receiving data from the client and the information collection device, and distributing the received data to the algorithm analysis server and the back-end development server after preliminary processing and analysis. The algorithm analysis server is the core part of the blind intelligent visual assistance system based on visual question and answer, and is responsible for using the corresponding algorithm (the algorithm for implementing the visual question and answer model) to process and analyze the received data. The back-end development server undertakes the core business logic of the system, handles user requests, connects the algorithm analysis and the database, handles the storage and query of the database, and ensures the stable operation of the system. The database is used to store various types of data generated during the operation of the system, including user information, system operation logs, etc., to ensure the security and availability of the data.

[0062] Step S240: When the server receives the scene image and the voice information of the user's question, the server converts the voice information of the user's question into text to obtain text data.

[0063] In step S260, the server inputs the text data and the scene image into the visual question answering model, and uses the visual question answering model to answer the user's question based on the scene image and output the answer.

[0064] Step S280, the server sends the answer to the mobile terminal, so that the mobile terminal sends the answer to the blind assistive glasses and presents it to the user through voice broadcast.

[0065] The above-mentioned intelligent visual assistance method for the blind based on visual question and answer, when the mobile terminal receives the scene image and the voice information of the user's question collected by the blind auxiliary glasses worn by the user, transmits the scene image and the voice information of the user's question to the server, when the server receives the scene image and the voice information of the user's question, the voice information of the user's question is converted into text to obtain text data, the server inputs the text data and the scene image into the visual question and answer model, answers the user's question according to the scene image through the visual question and answer model, outputs the answer, and the server sends the answer to the mobile terminal, so that the mobile terminal sends the answer to the blind auxiliary glasses and presents it to the user through voice broadcast, thereby, the answer can be processed and returned immediately, ensuring that the user can obtain the required information in time, improving the user interaction effect, and improving the assistance efficiency and user experience. Furthermore, the answer is sent to the user in the form of voice through the blind auxiliary glasses, and the user can obtain information without additional operation, which greatly improves the ease of use and convenience of the system.

[0066] In one embodiment, Figure 2 As shown, the visual question answering model includes: image encoder, fine-grained filtering module, coarse-grained aggregation module, multi-granularity multimodal alignment module and text decoder;

[0067] The scene image is input into the image encoder for encoding to obtain image features; the image features are input into the fine-grained filtering module to filter out the noise information in the visual information and extract features related to the question and answer to obtain the filtered image features; the filtered image features and image features are input into the coarse-grained aggregation module for feature aggregation to obtain global features; the global features are spliced ​​with the filtered image features to obtain the spliced ​​global features; the text data and the spliced ​​global features are input into the multi-granularity multimodal alignment module for alignment to obtain the aligned image-text features; the aligned image-text features are input into the text decoder to answer the user's questions and output the answers.

[0068] Among them, a coarse-grained aggregation module is used to aggregate global features (i.e., image features) and fine-grained visual features (i.e., filtered image features), so that the model can understand the overall structure and context of the image and generate the required global information.

[0069] Among them, the fine-grained filtering module uses the Transformer block as the basic building block, and combines residual connections and up- and down-sampling layers to better capture the multi-scale information in the image. The core of the Transformer block is to use the self-attention mechanism to capture long-range dependencies, which consists of multi-head self-attention, multi-layer perceptron (MLP) and layer normalization.

[0070] In the Transformer block, the input X is linearly transformed into three parts, namely query Q, key K, and value V. The Transformer block applies scaled click attention to Q, K, and V to calculate the attention score to achieve association modeling of the image sequence. The calculation process is as follows:

[0071]

[0072] Among them, d k represents the dimension of the key K, the superscript T represents transpose, SA(·) represents self-attention, and softmax(·) represents the normalized exponential function.

[0073] Among them, MLP is used for feature conversion and nonlinear operation to enhance the expressiveness of the model. Its formula is:

[0074] MLP(X)=GELU(XW1+b1)W2+b2

[0075] Among them, W1 and W2 are the weights of the two fully connected layers of MLP, b1 and b2 are bias terms, and GELU is the activation function.

[0076] Among them, layer normalization (LN) is a key part of the Transforme block for stable training and faster convergence. The purpose is to standardize the input features in each layer of the network to alleviate the problem of gradient disappearance or explosion during training. LN is applied to each sample x as shown below:

[0077]

[0078] Among them, μ, η are the mean and variance of the features, ⊙ is the element-wise dot product, and γ, β are learnable affine transformation parameters.

[0079] In order to better integrate multi-scale information, the fine-grained filtering module also introduces residual connections and up- and down-sampling layers. The two Transformer blocks are connected to a down-sampling layer and an up-sampling layer respectively. The down-sampling layer halves the height and width of the input features to extract more abstract feature representations. The up-sampling layer expands the size of the feature map through bilinear interpolation operations to retain more detail information. Finally, the up-sampled features are concatenated with the corresponding features from the first two Transformer blocks through residual connections to form a multi-scale feature representation.

[0080] In addition, the fine-grained filtering module also adds a position embedding to introduce information about each position in the image so that the model can distinguish pixels or image blocks at different positions to improve the spatial perception of the model when processing images. Sine and cosine functions of different frequencies are used as position embedding:

[0081]

[0082] where 2j and 2j+1 are the even and odd indices of the position embedding; PE t represents the position embedding of the t-th position, YesPE t Dimension.

[0083] In one embodiment, the fine-grained filtering module includes: a first Transformer block, a downsampling layer, a second Transformer block and an upsampling layer; the image features are input to the first Transformer block for processing and then output to the downsampling layer for downsampling processing to obtain the downsampled features; the downsampled features are input to the second Transformer block for processing and then output to the upsampling layer for upsampling processing to obtain the upsampled features; the upsampled features are concatenated with the image features to obtain the filtered image features.

[0084] In one embodiment, Figure 3As shown, the first Transformer block and the first Transformer block are self-attention mechanisms with the same network structure; the self-attention mechanism includes a first layer normalization, multi-head self-attention, a second layer normalization and a first MLP; the image features input into the self-attention mechanism are concatenated with the position encoding to obtain a first image feature; the first image feature is input into the first layer normalization for processing and then input into the multi-head self-attention to capture different information and obtain feature information; the feature information is concatenated with the first image feature to obtain a second image feature; the second image feature is input into the second layer normalization for processing and then output to the first MLP for processing to obtain a third image feature; the third image feature is concatenated with the second image feature as the output of the self-attention mechanism.

[0085] Among them, Multi-head Self Attention (MSA) is a key component of the Transformer block, which enables the model to focus on multiple positions in the input sequence at the same time, capture information from a wider context, and better understand the overall meaning of the input sequence. MSA can be defined as:

[0086] MSA(Q,K,V)=Concat(head1,…,head M )W O

[0087] head1=SA(QW i Q ,KW i K ,VW i V ), i∈1,2,3…M

[0088] Among them, MSA(·) represents multi-head self-attention (MSA), Concat(·) represents the concatenation operation, and head i represents the output value of the i-th head, M represents the number of heads, QWi Q , KW i K , VW i V It is the projection of different heads, which is used to map the input to different subspaces and enable the model to capture different information in different representation subspaces, thereby enhancing the model's ability to understand the input data. O is another mapping function used to merge the outputs of multi-head attention into a unified representation.

[0089] In one embodiment, the coarse-grained aggregation module includes a third layer of normalization, a rectangular window self-attention, a fourth layer of normalization and a second MLP; the filtered image features and the image features are spliced ​​to obtain a fourth image feature; the fourth image feature is input into the third layer of normalization for processing and then output to the rectangular window self-attention for processing to obtain a fifth image feature; the fifth image feature is spliced ​​with the fourth image feature to obtain a sixty-fourth image feature; the sixth image feature is input into the fourth layer of normalization for processing and then output to the second MLP for processing to obtain a seventy-fourth image feature; the seventy-fourth image feature is spliced ​​with the fifth image feature to obtain an eighth image feature; the eighth image feature is spliced ​​with the fourth image feature to obtain a global feature.

[0090] Among them, the coarse-grained aggregation module uses rectangular window self-attention (Rwin-SA) to replace the ordinary multi-head self-attention, and adds residual connections to enhance the propagation of features and improve the performance of the module. At the same time, the output of the fine-grained filtering module is used as the key (K) and value (V) of Rwin-SA, and the output of the image encoder is used as the query (Q) of Rwin-SA to integrate feature information from different sources.

[0091] Among them, since the visual Transformer has achieved advanced results in various visual tasks, many effective attention mechanisms have been proposed to improve the performance of ViT. However, these attention mechanisms still have some limitations, such as they limit the receptive field of the Transformer, or lose certain details when processing spatial information. Rwin-SA divides the rectangular window into a horizontal window (H-Rwin) and a vertical window (V-Rwin), and applies them to different attention heads in parallel. Through horizontal windows and vertical windows, it is possible to aggregate features across different windows and expand the attention area without increasing the computational complexity, while helping to capture the different features of each pixel in the horizontal and vertical directions. In order to further expand the receptive field of Rwin-SA so that each pixel can aggregate a wider range of information, the horizontal axial shift (H-Shift) and vertical axial shift (V-Shift) operations are used to move the horizontal window and the vertical window down and left, respectively. and pixels, to implicitly implement the interaction between horizontal and vertical rectangular windows.

[0092] In one embodiment, the expression of rectangular window self-attention is:

[0093] Rwin-SA(X)=Concat(Y 1 ,Y 2 ,...Y M )W P

[0094] in, is the output of the attention head using a horizontal window, is the output of the attention head of the vertical window, W P Represents the projection matrix of feature fusion, Rwin is the rectangular window (Rectangle-Window), and SA(X) is the self-attention (Self-Attention).

[0095] In one embodiment, Figure 4 As shown, the multi-granularity multimodal alignment module includes: a self-attention layer, a cross-attention layer and a fully connected layer; the text data is input into the fully connected layer for processing to obtain the processed text features; the text data is input into the self-attention layer for processing to obtain the text features; the text features and the spliced ​​global features are input into the cross-attention layer, and the features output after the cross-attention layer are processed are spliced ​​with the processed text features to obtain the aligned image and text features.

[0096] Among them, the multi-granularity multimodal alignment module uses a fully connected layer to concatenate text data embedding and query embedding processed by Q-Former based on the Q-Former in the visual language model Blip-2, so that large language models can master richer visual knowledge.

[0097] When training the multi-granular multimodal alignment module, two self-attention layers with shared parameters are used, including an image self-attention layer that interacts with the image encoder to extract visual features, and a text self-attention layer that can act as a text encoder and text decoder. At the same time, a set of learnable query embeddings are used as the input of the image self-attention layer. The query embeddings interact with each other through the self-attention layer and interact with the image features through the cross-attention layer. In addition, the text data embedding is connected through the projection layer and the query embedding output by the Q-Former, and is directly provided to the language model as the output of the multi-granular multimodal alignment module.

[0098] Among them, during the training process of the multi-granularity multi-modal alignment module, the loss is calculated by forward propagation to adjust the module parameters.

[0099] In one embodiment, the image encoder is a visual encoder used in the multimodal visual language pre-training model EVA-CLIP.

[0100] In one embodiment, the text decoder is a Vicuna model.

[0101] It should be understood that the visual question-answering-based intelligent visual assistance method for the blind in this application collects the user's voice and scene information in real time through the blind assistance glasses, and quickly uploads the data to the server using wireless transmission technology. The server can process and return the answer immediately, ensuring that the user can obtain the required information in a timely manner, thereby improving the assistance efficiency and user experience.

[0102] It should be understood that the intelligent visual assistance method for the blind based on visual question answering of the present application also uses a visual question answering algorithm to perform reasoning analysis on scene images and question texts. Through the collaborative work of the image encoder, fine-grained filtering module and coarse-grained aggregation module, it fully utilizes the complementarity of visual and language information and improves the system's ability to understand complex scenes and problems.

[0103] It should be understood that the intelligent visual assistance method for the blind based on visual question and answer of the present application also sends the answers to the user in the form of voice through the blind assistance glasses. The user can obtain information without additional operations, which greatly improves the ease of use and convenience of the system.

[0104] It should be understood that the intelligent visual assistance method for the blind based on visual question answering of the present application can also help blind users independently complete tasks such as object recognition and environmental understanding, reduce their dependence on help from others, and enhance their independent living ability and self-confidence.

[0105] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0106] In one embodiment, Figure 5 As shown, an intelligent visual assistance system for the blind based on visual question answering includes: a mobile terminal, blind assistance glasses and a server;

[0107] When the mobile terminal receives the scene image collected by the blind assistive glasses worn by the user and the voice information of the user's question, the scene image and the voice information of the user's question are transmitted to the server; when the server receives the scene image and the voice information of the user's question, the voice information of the user's question is converted into text to obtain text data; the server inputs the text data and the scene image into the visual question and answer model, answers the user's question according to the scene image through the visual question and answer model, and outputs the answer; the server sends the answer to the mobile terminal, so that the mobile terminal sends the answer to the blind assistive glasses and presents it to the user through voice broadcast.

[0108] The above-mentioned intelligent visual assistance system for the blind based on visual question and answer, when the mobile terminal receives the scene image and the voice information of the user's question collected by the blind assistance glasses worn by the user, transmits the scene image and the voice information of the user's question to the server, when the server receives the scene image and the voice information of the user's question, the voice information of the user's question is converted into text to obtain text data, the server inputs the text data and the scene image into the visual question and answer model, answers the user's question according to the scene image through the visual question and answer model, outputs the answer, and the server sends the answer to the mobile terminal, so that the mobile terminal sends the answer to the blind assistance glasses and presents it to the user through voice broadcast, thereby, the answer can be processed and returned immediately, ensuring that the user can obtain the required information in time, improving the user interaction effect, and improving the assistance efficiency and user experience. Furthermore, the answer is sent to the user in the form of voice through the blind assistance glasses, and the user can obtain information without additional operation, which greatly improves the ease of use and convenience of the system.

[0109] For the specific limitations of the intelligent visual assistance system for the blind based on visual question and answer, please refer to the limitations of the intelligent visual assistance method for the blind based on visual question and answer in the above text, which will not be repeated here. Each module in the above-mentioned intelligent visual assistance system for the blind based on visual question and answer can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0110] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0111] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. An intelligent visual assistance method for the blind based on visual question answering, characterized in that: The method comprises: When the mobile terminal receives the scene image collected by the blind assistive glasses worn by the user and the voice information of the user's question, the mobile terminal transmits the scene image and the voice information of the user's question to the server; When the server receives the scene image and the voice information of the user's question, converting the voice information of the user's question into text to obtain text data; The server inputs the text data and the scene image into a visual question answering model, answers the user's question according to the scene image through the visual question answering model, and outputs an answer; The server sends the answer to the mobile terminal, so that the mobile terminal sends the answer to the blind assistive glasses and presents it to the user through voice broadcast.

2. The method according to claim 1, characterized in that The visual question answering model includes: an image encoder, a fine-grained filtering module, a coarse-grained aggregation module, a multi-granularity multimodal alignment module and a text decoder; The scene image is input into the image encoder for encoding to obtain image features; Inputting the image features into the fine-grained filtering module to filter noise information in the visual information and extract features related to the question answering, thereby obtaining filtered image features; Inputting the filtered image features and the image features into the coarse-grained aggregation module for feature aggregation to obtain global features; Splicing the global feature with the filtered image feature to obtain a spliced ​​global feature; Inputting the text data and the spliced ​​global features into a multi-granularity multi-modal alignment module for alignment to obtain aligned image-text features; The aligned graphic and text features are input into the text decoder to answer the user's question and output the answer.

3. The method according to claim 2, characterized in that The fine-grained filtering module includes: a first Transformer block, a downsampling layer, a second Transformer block and an upsampling layer; The image features are input into the first Transformer block for processing and then output to the downsampling layer for downsampling processing to obtain downsampled features; Input the downsampled features to the second Transformer block for processing and then output to the upsampling layer for upsampling processing to obtain the upsampled features; After the upsampled features are concatenated with the image features, filtered image features are obtained.

4. The method according to claim 3, characterized in that The first Transformer block and the first Transformer block are self-attention mechanisms with the same network structure; The self-attention mechanism includes a first layer normalization, multi-head self-attention, a second layer normalization and a first MLP; The image features input into the self-attention mechanism are concatenated with the position encoding to obtain the first image features; Input the first image feature into the first layer for normalization and processing, and then input it into the multi-head self-attention to capture different information to obtain feature information; Concatenating the feature information with the first image feature to obtain a second image feature; The second image feature is input into the second layer for normalization and processing, and then output to the first MLP for processing to obtain a third image feature; The third image feature is concatenated with the second image feature as an output of the self-attention mechanism.

5. The method according to claim 2, characterized in that: The coarse-grained aggregation module includes a third layer normalization, a rectangular window self-attention, a fourth layer normalization and a second MLP; splicing the filtered image feature and the image feature to obtain a fourth image feature; Input the fourth image feature into the third layer for normalization and processing, and then output it to the rectangular window self-attention for processing to obtain a fifth image feature; splicing the fifth image feature with the fourth image feature to obtain a sixth fourth image feature; Input the sixth image feature into the fourth layer for normalization and processing, and then output it to the second MLP for processing to obtain the seventh fourth image feature; splicing the seventy-fourth image feature with the fifth image feature to obtain an eighth image feature; The eighth image feature is concatenated with the fourth image feature to obtain a global feature.

6. The method according to claim 5, characterized in that The expression of the rectangular window self-attention is: Rwin-SA(X)=Concat(Y 1 ,AND 2 ,...AND M )W P in, is the output of the attention head using a horizontal window, is the output of the attention head of the vertical window, W P Represents the projection matrix of feature fusion, Rwin is the rectangular window, and SA9X) is self-attention.

7. The method according to claim 2, characterized in that The multi-granularity multi-modal alignment module includes: a self-attention layer, a cross-attention layer and a fully connected layer; Inputting the text data into the fully connected layer for processing to obtain processed text features; Inputting the text data into the self-attention layer for processing to obtain text features; The text features and the global features and the spliced ​​global features are input into the cross attention layer, and the features output after processing by the cross attention layer are spliced ​​with the processed text features to obtain aligned image and text features.

8. The method according to claim 2, characterized in that: The image encoder is the visual encoder used in the multimodal visual language pre-training model EVA-CLIP.

9. The method according to claim 2, characterized in that: The text decoder is the Vicuna model.

10. An intelligent visual assistance system for the blind based on visual question answering, characterized in that: The system comprises: a mobile terminal, auxiliary glasses for the blind and a server; When the mobile terminal receives the scene image collected by the blind assistive glasses worn by the user and the voice information of the user's question, the mobile terminal transmits the scene image and the voice information of the user's question to the server; When the server receives the scene image and the voice information of the user's question, converting the voice information of the user's question into text to obtain text data; The server inputs the text data and the scene image into a visual question answering model, answers the user's question according to the scene image through the visual question answering model, and outputs an answer; The server sends the answer to the mobile terminal, so that the mobile terminal sends the answer to the blind assistive glasses and presents it to the user through voice broadcast.

Citation Information

Patent Citations

  • Intelligent glasses assisting deaf-mute conversation

    CN104966433A

  • Scene character interactive understanding system for visually impaired people

    CN114168104A

  • CBCT jaw region segmentation method and system based on context fusion mechanism

    CN115578406A

  • Image-text recognition method and data processing method of image-text recognition model

    CN115661829A

  • Abdominal CT image multi-organ segmentation method and device and terminal equipment

    CN116030259A

Cited By

  • Intelligent agent, indoor navigation method and equipment thereof, medium and product

    CN119443287A

  • Blind person intelligent visual assistance method and system based on visual questions and answers

    CN121235114A