Control positioning model training method, control positioning method and device and control triggering method and device

Through the control positioning model training method, image and text feature extraction and attention feature matching are used to solve the problem of insufficient control positioning accuracy and universality in the existing technology, and achieve high-precision and widely applicable image-text matching functions.

CN118734244APending Publication Date: 2024-10-01CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410768436.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In existing human-computer interaction technology, when positioning controls and matching text, the model recognition accuracy depends on the accuracy of the interface image. When the information is insufficient, the accuracy is low, and the universality is not high, and it is impossible to accurately locate controls that do not have corresponding text.

Method used

The control positioning model training method is adopted, by obtaining sample image-text pairs and annotation position information, using the image feature extraction network and text feature extraction network to extract features, combining the attention feature extraction network and the control position prediction network, and adjusting the model parameters to improve the matching accuracy. and universality.

Benefits of technology

It improves the matching accuracy of interface images and text, realizes end-to-end image and text matching, and eliminates the need to set text information corresponding to each control. It enhances scene adaptability and model generalization capabilities, simplifies engineering links, and reduces development costs. cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734244A_ABST
    Figure CN118734244A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a control positioning model training method and device and a control positioning and triggering method and device. The training method comprises the steps that a sample image-text pair and labeling position information are obtained; performing image feature extraction and text feature extraction on the sample image-text pair by using an image feature extraction network and a text feature extraction network included in the initial control positioning model to obtain sample image features and sample text features; performing attention feature extraction on the sample image features and the sample text features by using an attention feature extraction network to obtain attention features; performing control position prediction on the attention features by using a control position prediction network to obtain predicted position information representing a control position; and determining an error between the predicted position information and the labeled position information, and training to obtain a control positioning model. According to the embodiment of the invention, the matching precision of the model on the interface image and the text is improved, so that the scene adaptability of image-text matching 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 computer technology, and in particular to a control positioning model training method, a control positioning and triggering method and device. Background Art

[0002] Human-computer interaction is a technology used for interaction between systems and users. Systems can be various machines or computerized systems and software. The human-computer interaction interface usually refers to the part visible to the user, through which the user communicates with the system and operates it. For example, in the field of automotive human-computer interaction, with the continuous improvement of technology, the number of physical buttons in cars has decreased, and they have been replaced by multimodal human-computer interaction, that is, the input and output signals are more diverse, including voice, gestures, virtual buttons, etc. How to jointly and efficiently utilize the existing multimodal data information to improve the safety, simplicity, and comprehensiveness of human-computer interaction has become the main development direction of human-computer interaction.

[0003] The technology of seeing and speaking means that various controls on the screen can be controlled by voice, so that various devices such as vehicles can be controlled by voice. Existing solutions of seeing and speaking usually need to extract the semantic information of controls separately from the interface image and match the user's voice text with the semantic information. However, the model recognition accuracy of this solution depends on the accuracy of obtaining information from the interface image. When the information obtained from the image is insufficient, the image-text matching accuracy is low.

[0004] In addition, when matching with text, the existing solution can also pre-set the text corresponding to each control, and use the text matching solution to match the text displayed in the interface with the user's voice text. For some controls that do not have corresponding text, it is impossible to accurately locate them, resulting in low universality of the solution. Summary of the invention

[0005] In view of this, in order to solve some or all of the above-mentioned technical problems, the embodiments of the present application provide a control positioning model training method, a control positioning and triggering method, device, electronic device and storage medium.

[0006] In a first aspect, an embodiment of the present application provides a control positioning model training method, the method comprising: obtaining sample image-text pairs and annotated position information, wherein the sample image-text pairs include a sample interface image and sample text, and the annotated position information indicates the position of a target control in the sample interface image; performing image feature extraction and text feature extraction on the sample image-text pairs using an image feature extraction network and a text feature extraction network included in an initial control positioning model to obtain sample image features and sample text features; performing attention feature extraction on sample image features and sample text features using a pre-trained attention feature extraction network included in the initial control positioning model to obtain attention features; performing control position prediction on the attention features using a control position prediction network included in the initial control positioning model to obtain predicted position information indicating the control position; determining an error between the predicted position information and the annotated position information; adjusting parameters of the control position prediction network based on the error; and determining the current initial control positioning model as a trained control positioning model in response to the current initial control positioning model meeting a preset first training end condition.

[0007] In one possible embodiment, the attention feature extraction network includes an image attention feature extraction subnetwork, a text attention feature extraction subnetwork and a first deconvolution layer; using the pre-trained attention feature extraction network included in the initial control positioning model, attention feature extraction is performed on sample image features and sample text features to obtain attention features, including: using the image attention feature extraction subnetwork and the text attention feature extraction subnetwork to perform attention feature extraction on sample image features and sample text features for a preset number of times in a loop to obtain image attention features and text attention features, wherein after each attention feature extraction, the first deconvolution layer is used to enlarge the size of the obtained image attention features to obtain the enlarged image attention features.

[0008] In one possible implementation, the image attention feature extraction subnetwork includes a first cross-attention subnetwork and a first self-attention subnetwork, and the text attention feature extraction subnetwork includes a second cross-attention subnetwork and a second self-attention subnetwork; the image attention feature extraction subnetwork and the text attention feature extraction subnetwork are used to perform attention feature extraction on sample image features and sample text features for a preset number of cycles, including: using the first cross-attention subnetwork to perform cross-attention feature extraction on sample image features and sample text features to obtain a first cross-attention feature; using the first self-attention subnetwork to perform self-attention feature extraction on the first cross-attention feature to obtain an initial image attention feature. feature; using the first deconvolution layer, deconvolve the first self-attention feature to obtain the image attention feature after the size is enlarged; using the second cross-attention sub-network, cross-attention feature extraction is performed on the sample image feature and the sample text feature to obtain the second cross-attention feature; using the second self-attention sub-network, self-attention feature extraction is performed on the second cross-attention feature to obtain the initial text attention feature; using the initial image attention feature and the initial text attention feature as new image features and text features, and reusing the image attention feature extraction sub-network and the text attention feature extraction sub-network to extract attention features from the new image features and text features until the number of executions reaches a preset number.

[0009] In one possible implementation, the control position prediction network includes a feature fusion subnetwork and a heat map prediction subnetwork; the control position prediction network included in the initial control positioning model is used to predict the control position of the attention feature to obtain predicted position information representing the control position, including: using the feature fusion subnetwork to fuse the image attention feature and the text attention feature to obtain a fused feature; using the heat map prediction subnetwork to perform heat map prediction on the fused feature to obtain a predicted heat map; based on the predicted heat map, generating predicted position information representing the control position.

[0010] In one possible implementation, the feature fusion subnetwork includes a third cross-attention network, and the heat map prediction subnetwork includes a second deconvolution layer and a classifier; the image attention feature and the text attention feature are fused using the feature fusion subnetwork to obtain a fused feature, including: using the third cross-attention network to extract attention features from the image attention feature and the text attention feature to obtain a third cross-attention feature as a fused feature; using the heat map prediction subnetwork to perform heat map prediction on the fused feature to obtain a predicted heat map, including: using the second deconvolution layer to perform a deconvolution operation on the third cross-attention feature to obtain a heat map feature of the same size as the sample interface image; using the classifier to classify the pixel features contained in the heat map feature to obtain a predicted heat map.

[0011] In one possible implementation, the annotated position information includes an annotated heat map; determining the error between the predicted position information and the annotated position information includes: using a preset regression loss function to calculate a first loss value representing the error between the predicted heat map and the annotated heat map, and determining the first loss value as a numerical value representing the error between the predicted position information and the annotated position information.

[0012] In one possible implementation, before using the pre-trained attention feature extraction network included in the initial control positioning model to perform attention feature extraction on sample image features and sample text features to obtain attention features, the method also includes: obtaining a set of sample image-text pairs; using the image feature extraction network and the text feature extraction network to perform image feature extraction and text feature extraction on the sample image-text pairs in the sample image-text pair set in turn to obtain a sample image feature set and a sample text feature set; using the initial attention feature extraction network included in the initial control positioning model to perform attention extraction on any pair of sample image features and sample text features in the sample image feature set and the sample text feature set. Feature extraction to obtain an image attention feature set and a text attention feature set; determine the similarity between the matching image attention features and the text attention features in the image attention feature set and the text attention feature set, as well as the similarity between the mismatched image attention features and the text attention features; based on a preset contrast loss function, calculate the loss value for each similarity obtained to obtain a second loss value; based on the second loss value, adjust the parameters of the initial attention feature extraction network; in response to the initial attention feature extraction network after adjusting the parameters meeting the preset second training end condition, determine the current initial attention feature extraction network as the trained attention feature extraction network.

[0013] In one possible implementation, obtaining sample image-text pairs and annotation position information includes: obtaining a sample interface image; using a pre-trained text conversion model to perform text conversion on a target control in the sample interface image to obtain text for describing the target control; obtaining annotation position information for annotating the position of the target control; and generating a sample image-text pair based on the sample interface image, the annotation position information, and the text.

[0014] In one possible implementation, obtaining sample image-text pairs and annotation position information includes: obtaining an annotation box containing a target control; generating an initial heat map of the same size as the sample interface image; performing Gaussian blur processing on the area contained in the annotation box in the sample interface image to obtain heat map label data; setting the heat map label data to the area corresponding to the initial heat map to obtain an annotation heat map indicating the position of the target control; and generating annotation position information based on the annotation heat map.

[0015] In the second aspect, an embodiment of the present application provides a control positioning and triggering method, which includes: obtaining a target interface image, and obtaining a voice signal collected from a target user; recognizing the voice signal to obtain recognized text; using an image feature extraction network and a text feature extraction network included in a pre-trained control positioning model to perform image feature extraction and text feature extraction on the target interface image and the recognized text to obtain image features and text features; using an attention feature extraction network included in the control positioning model to perform attention feature extraction on image features and text features to obtain attention features; using a control position prediction network included in the control positioning model to predict the control position on the attention features to obtain predicted position information representing the control position; triggering the target control corresponding to the predicted position information to perform the corresponding function.

[0016] In one possible implementation, a control position prediction network included in a control positioning model is used to predict the control position of attention features to obtain predicted position information representing the control position, including: using the control position prediction network to predict a heat map of the attention features to obtain a predicted heat map representing the control position; determining whether the predicted heat map meets a preset threshold condition; if the threshold condition is met, determining whether a target control in the target interface image that is closest to a response center of the predicted heat map meets a preset distance condition; if the distance condition is met, generating predicted position information based on the predicted heat map, and determining the target control as the control corresponding to the predicted position information.

[0017] In a third aspect, an embodiment of the present application provides a control positioning model training device, the device comprising: a first acquisition module, used to acquire sample image-text pairs and annotated position information, wherein the sample image-text pairs include a sample interface image and a sample text, and the annotated position information indicates the position of a target control in the sample interface image; a first extraction module, used to perform image feature extraction and text feature extraction on the sample image-text pairs using an image feature extraction network and a text feature extraction network included in an initial control positioning model, to obtain sample image features and sample text features; a second extraction module, used to perform attention feature extraction on sample image features and sample text features using a pre-trained attention feature extraction network included in the initial control positioning model, to obtain attention features; a first prediction module, used to perform control position prediction on the attention features using a control position prediction network included in the initial control positioning model, to obtain predicted position information indicating the control position; a first determination module, used to determine an error between the predicted position information and the annotated position information; a first adjustment module, used to adjust the parameters of the control position prediction network based on the error; and a second determination module, used to determine the current initial control positioning model as a trained control positioning model in response to the current initial control positioning model meeting a preset first training end condition.

[0018] In a fourth aspect, an embodiment of the present application provides a control positioning and triggering device, which includes: a third acquisition module, used to acquire a target interface image and a voice signal collected from a target user; a recognition module, used to recognize the voice signal to obtain a recognized text; a fifth extraction module, used to use an image feature extraction network and a text feature extraction network included in a pre-trained control positioning model to perform image feature extraction and text feature extraction on the target interface image and the recognized text to obtain image features and text features; a sixth extraction module, used to use an attention feature extraction network included in the control positioning model to perform attention feature extraction on image features and text features to obtain attention features; a second prediction module, used to use a control position prediction network included in the control positioning model to predict the control position on the attention feature to obtain predicted position information representing the control position; a trigger module, used to trigger the target control corresponding to the predicted position information to perform a corresponding function.

[0019] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: a memory for storing a computer program; a processor for executing the computer program stored in the memory, and when the computer program is executed, the method described in any embodiment of the first or second aspect of the present application is implemented.

[0020] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method described in any embodiment of the first aspect or the second aspect described above is implemented.

[0021] In the seventh aspect, an embodiment of the present application provides a computer program, which includes a computer readable code. When the computer readable code runs on a device, the processor in the device implements the method described in any embodiment of the first or second aspect above.

[0022] The control positioning model training method, control positioning and triggering method, device, electronic device and storage medium provided in the embodiment of the present application, by using the image feature extraction network and the text feature extraction network, feature extraction is performed on the sample image and text pairs to obtain sample image features and sample text features, and the attention feature extraction network is used to extract the attention features of the sample image features and sample text features to obtain the attention features, and the control position prediction network is used to predict the control position of the attention features to obtain the predicted position information representing the control position, and then the error between the predicted position information and the annotated position information is determined, and based on the error, the parameters of the control position prediction network are adjusted, and finally a control positioning model including the image feature extraction network, the text feature extraction network, the attention feature extraction network and the control position prediction network is obtained. The embodiment of the present application realizes that when training the model, the region of interest is annotated with the annotated position information, and the attention features are fully utilized to analyze the association between the region of interest and the text, thereby improving the matching accuracy of the model for the interface image and text. When using the model, the interface image and text can be directly input to achieve end-to-end image and text matching. As long as the control appears in the image, it can be matched with the text without setting the text information corresponding to each control, thereby improving the scene adaptability of the image and text matching. In addition, the embodiments of the present application can make full use of the characteristic information of the data itself without introducing additional knowledge, making the model more generalizable. At the same time, it simplifies the entire engineering chain, reduces development costs, adapts to different data distributions and scenarios, and quickly adapts to new recognition tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0025] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0026] Figure 1 A flowchart of a control positioning model training method provided in an embodiment of the present application;

[0027] Figure 2A schematic diagram of the structure of the initial control positioning model provided in an embodiment of the present application;

[0028] Figure 3 Another structural diagram of the initial control positioning model provided in an embodiment of the present application;

[0029] Figure 4 Another structural diagram of the initial control positioning model provided in an embodiment of the present application;

[0030] Figure 5 A flowchart of another control positioning model training method provided in an embodiment of the present application;

[0031] Figure 6 A flowchart of another control positioning model training method provided in an embodiment of the present application;

[0032] Figure 7 Another structural diagram of the initial control positioning model provided in an embodiment of the present application;

[0033] Figure 8 A flowchart of another control positioning model training method provided in an embodiment of the present application;

[0034] Fig. 9 A flowchart of another control positioning model training method provided in an embodiment of the present application;

[0035] Fig.10 A flowchart of another control positioning model training method provided in an embodiment of the present application;

[0036] Fig.11 A flowchart of a control positioning and triggering method provided in an embodiment of the present application;

[0037] Fig.12 A flowchart of another control positioning and triggering method provided in an embodiment of the present application;

[0038] Fig.13 A schematic diagram of a prediction heat map provided in an embodiment of the present application;

[0039] Fig.14 A schematic diagram of the structure of a control positioning model training device provided in an embodiment of the present application;

[0040] Fig.15 A schematic diagram of the structure of a control positioning and triggering device provided in an embodiment of the present application;

[0041] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. It should be noted that unless otherwise specifically stated, the relative arrangement of the components and steps, the numerical expressions and the numerical values ​​described in these embodiments do not limit the scope of the present application.

[0043] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present application are only used to distinguish between different steps, devices, modules and other objects, and do not represent any specific technical meanings, nor do they indicate the logical order between them.

[0044] It should also be understood that in this embodiment, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.

[0045] It should also be understood that any component, data or structure mentioned in the embodiments of the present application can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0046] In addition, the term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the associated objects before and after are in an "or" relationship.

[0047] It should also be understood that the description of the various embodiments in this application focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.

[0048] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.

[0049] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above-mentioned technologies, methods, and equipment should be considered as part of the specification.

[0050] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0051] It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other. To facilitate the understanding of the embodiments of the present application, the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0052] In order to solve the technical problems in the prior art of matching controls in the interface with input text, which have high requirements on data type and description accuracy and low scene adaptability, the present application provides a control positioning model training method, which can fully extract the features of the image's region of interest, perform attention feature matching on text features and image features, thereby improving the accuracy of image-text matching of the trained model and improving the scene adaptability of the model.

[0053] Figure 1 A flow chart of a control positioning model training method provided for an embodiment of the present application. This method can be applied to terminal devices such as vehicles, household appliances, smart phones, laptops, desktop computers, portable computers, and can also be applied to servers. For example, when applied on a terminal device, the terminal device can collect training samples, train the control positioning model and save it locally or send it to other electronic devices; when applied on a server, the server can train the control positioning model and send the trained model to the terminal device or save it locally.

[0054] In addition, the execution subject of the present method may be hardware or software. When the execution subject is hardware, the execution subject may be one or more of the electronic devices. For example, a single electronic device may execute the present method, or a plurality of electronic devices may cooperate with each other to execute the present method. When the execution subject is software, the present method may be implemented as a plurality of software or software modules, or as a single software or software module. No specific limitation is made herein.

[0055] like Figure 1 As shown, the method specifically includes:

[0056] Step 101, obtaining sample image-text pairs and annotation position information.

[0057] In this embodiment, the sample image-text pair includes a sample interface image and a sample text, and the annotated position information indicates the position of the target control in the sample interface image. The sample interface image can be an image captured from various types of operating interfaces. For example, an operating interface image displayed on a screen on a vehicle. The sample text can be manually set text (such as text after user voice recognition) corresponding to a target control (such as a button, text box, etc.) in the sample interface image, or it can be text automatically generated by an image recognition model to describe the content of a certain area in the image. The above-mentioned annotated position information can be in the form of coordinates, rectangular boxes, etc., which indicates the position of a certain control in the interface image, that is, the region of interest (ROI) is annotated.

[0058] Step 102, using the image feature extraction network and the text feature extraction network included in the initial control positioning model, image feature extraction and text feature extraction are performed on the sample image-text pairs to obtain sample image features and sample text features.

[0059] In this embodiment, the image feature extraction network and the text feature extraction network can be constructed using neural networks of various structures. For example, the image feature extraction network can be a pre-trained image feature encoder such as ViT-L, and the text feature extraction network can be a pre-trained language model such as BERT (Bidirectional Encoder Representations from Transformers). Figure 2 As shown, it shows a schematic diagram of the structure of the initial control positioning model 200. The sample interface image and sample text included in the sample image-text pair are input into the image feature extraction network 201 and the text feature extraction network 202, and the sample image features and sample text features are output.

[0060] Step 103, using the pre-trained attention feature extraction network included in the initial control positioning model, extract attention features from the sample image features and the sample text features to obtain attention features.

[0061] In this embodiment, if Figure 2 As shown, the sample image features output by the image feature extraction network and the sample text features output by the text feature extraction network are input into the attention feature extraction network 203, and the attention feature extraction network 203 outputs the attention features.

[0062] Optionally, the above-mentioned attention feature extraction network can adopt a self-attention mechanism to extract self-attention features of sample image features and sample text features respectively, or can adopt a cross-attention mechanism to extract cross-attention features between sample image features and sample text features.

[0063] Step 104, using the control position prediction network included in the initial control positioning model, predict the control position of the attention feature to obtain predicted position information representing the control position.

[0064] In this embodiment, if Figure 2 As shown, the attention feature output by the attention feature extraction network 203 can be input to the control position prediction network 204, and the control position prediction network 204 outputs the predicted position information. The control position prediction network can be constructed by a neural network of various structures, which can realize the regression of the predicted position. For example, a target detector can be used as a control position prediction network, and each pixel in the sample interface image can be classified using the above-mentioned attention feature to determine whether each pixel belongs to the predicted pixel corresponding to the sample text, so as to use the area composed of pixels corresponding to the sample text as the predicted control position.

[0065] Step 105, determining the error between the predicted position information and the marked position information.

[0066] In this embodiment, the error between the predicted position information and the marked position information can be calculated by a loss function for regression prediction, and the calculated loss value represents the error. For example, the loss function can be a focal loss function.

[0067] Step 106, adjusting the parameters of the control position prediction network based on the error.

[0068] In this embodiment, the gradient descent method and the back propagation method can be used to iteratively update the parameters of the control position prediction network so that the loss value representing the error gradually decreases. Usually, each iteration requires executing the above steps 101 to 106 once, that is, iteratively training the model using multiple sets of training samples. The adjusted model obtained after each iteration is used as the initial control positioning model for the next iteration, and the iteration is repeated multiple times until the adjusted initial control positioning model meets the preset first training end condition.

[0069] In this embodiment, the image feature extraction network, text feature extraction network, and attention feature extraction network can be pre-trained to determine their respective weight parameters. When training according to the steps of this embodiment, the parameters of the image feature extraction network, text feature extraction network, and attention feature extraction network are fixed, and only the parameters of the control position prediction network need to be adjusted.

[0070] Step 107 , in response to the current initial control positioning model meeting a preset first training end condition, determining the current initial control positioning model as a trained control positioning model.

[0071] In this embodiment, the above-mentioned first training end condition may include but is not limited to at least one of the following: the training time exceeds the preset duration; the number of training times exceeds the preset number of times; the calculated loss value converges; the positioning accuracy obtained by testing the model using the test sample exceeds the accuracy threshold.

[0072] The control positioning model training method provided in the embodiment of the present application, by using the image feature extraction network and the text feature extraction network, the sample image and text pairs are subjected to feature extraction, the sample image features and the sample text features are obtained, the attention feature extraction network is used to extract the attention features of the sample image features and the sample text features, the attention features are obtained, the control position prediction network is used to predict the control position, and the predicted position information representing the control position is obtained, and then the error between the predicted position information and the annotated position information is determined, and based on the error, the parameters of the control position prediction network are adjusted, and finally a control positioning model including the image feature extraction network, the text feature extraction network, the attention feature extraction network and the control position prediction network is obtained. The embodiment of the present application realizes that when training the model, the region of interest is annotated with the annotated position information, the attention features are fully utilized, the association between the region of interest and the text is analyzed, and the matching accuracy of the model for the interface image and the text is improved. When using the model, the interface image and the text can be directly input to achieve end-to-end image and text matching. As long as the control appears in the image, it can be matched with the text without setting the text information corresponding to each control, thereby improving the scene adaptability of the image and text matching.

[0073] Furthermore, the embodiment of the present application adopts a trained control position prediction model, which can jointly identify the interface image and the user voice, without relying on a specific independent APP (application) to realize the "see and say" function. That is, using a multimodal large model as a powerful support, the relevant interaction and processing capabilities can be directly integrated into various general platforms or interfaces. In various scenarios of daily use, such as the interface and web pages of intelligent operating systems, this function can be configured at any time. It breaks the limitations of traditional APPs, making user interactions more natural and smooth, without switching between different APPs. At the same time, it also reduces the troubles caused by APP version updates, compatibility and other issues. By integrating functions into a wider system or platform, wider coverage and more convenient access are achieved, greatly improving the user experience. Moreover, this de-APP model is conducive to the centralized management and optimization of resources, reduces the complexity and cost of technical implementation, and promotes the efficient use and promotion of technology.

[0074] In some optional implementations of this embodiment, such as Figure 3 As shown, the attention feature extraction network includes an image attention feature extraction subnetwork, a text attention feature extraction subnetwork and a first deconvolution layer.

[0075] Step 103 includes:

[0076] Using the image attention feature extraction subnetwork and the text attention feature extraction subnetwork, the sample image features and the sample text features are cyclically extracted for a preset number of times to obtain image attention features and text attention features. After each attention feature extraction, the first deconvolution layer is used to enlarge the size of the obtained image attention features to obtain the enlarged image attention features.

[0077] Specifically, Figure 3 As shown, the size of the sample image feature is reduced by a certain multiple compared with the original sample interface image. The sample image feature is input into the image attention feature extraction subnetwork 2031 to obtain the image attention feature. The first deconvolution layer 2032 upsamples the image attention feature to enlarge the size of the image attention feature. The sample text feature is input into the text attention feature extraction subnetwork 2033 to obtain the text attention feature. The output image attention feature and text attention feature are input into the above-mentioned image attention feature extraction subnetwork and text attention feature extraction subnetwork respectively again. After Q times of processing, the current image attention feature and text attention feature are input into the control position prediction network.

[0078] Optionally, the above-mentioned image attention feature extraction subnetwork and text attention feature extraction subnetwork can execute a self-attention mechanism or a cross-attention mechanism, and the number of executions Q is determined by the size ratio of the input sample image features and the original sample interface image.

[0079] This embodiment implements multiple executions of attention feature extraction operations by setting an image attention feature extraction subnetwork, a text attention feature extraction subnetwork and a first deconvolution layer in the attention feature extraction network, fully analyzing the control positions expressed by image features and text features. The output image attention features and text attention features can more accurately represent the connection between the text and the controls in the interface image, thereby helping to improve the accuracy of control positioning.

[0080] In some optional implementations of this embodiment, such as Figure 4 As shown, the image attention feature extraction subnetwork 2031 includes a first cross attention subnetwork 20311 and a first self-attention subnetwork 20312, and the text attention feature extraction subnetwork 2033 includes a second cross attention subnetwork 20331 and a second self-attention subnetwork 20332;

[0081] Based on the above image attention feature extraction subnetwork and text attention feature extraction subnetwork, as Figure 5As shown, step 103 includes:

[0082] Step 1031, using the first cross-attention sub-network, perform cross-attention feature extraction on the sample image features and the sample text features to obtain the first cross-attention features.

[0083] like Figure 4 As shown, the sample image features and the sample text features are input into the first cross-attention sub-network 20311, and the first cross-attention sub-network 20311 performs a cross-attention mechanism, which is shown in the following formula (1):

[0084]

[0085] Among them, q(·), k(·), and v(·) represent the linear transformation layers of the input features, for query, key, and value, respectively. k The number of attention heads used for normalization, represents the input of the text feature layer l, Represents the input of the image feature layer l.

[0086] Step 1032, using the first self-attention sub-network, perform self-attention feature extraction on the first cross-attention feature to obtain the initial image attention feature.

[0087] like Figure 4 As shown, the first cross-attention feature output by the first cross-attention sub-network is input into the first self-attention sub-network 20312, and the first self-attention sub-network performs the self-attention mechanism and outputs the initial image attention feature. The self-attention mechanism is shown in the following formula (2):

[0088]

[0089] Step 1033, using the first deconvolution layer, performs a deconvolution operation on the first self-attention feature to obtain an enlarged image attention feature.

[0090] like Figure 4 As shown, the initial image attention feature is input into the first deconvolution layer 2032, and the first deconvolution layer 2032 performs a deconvolution operation to output the image attention feature after the size is enlarged.

[0091] Step 1034, using the second cross-attention sub-network, cross-attention feature extraction is performed on the sample image features and the sample text features to obtain second cross-attention features.

[0092] like Figure 4As shown, the sample image features and the sample text features are input into the second cross-attention sub-network 20331, and the second cross-attention sub-network performs a cross-attention mechanism, and the cross-attention mechanism is shown in the following formula (3):

[0093]

[0094] The difference between formula (3) and formula (1) is that q(·), k(·), and v(·) are respectively targeted at different feature data.

[0095] Step 1035, using the second self-attention sub-network, perform self-attention feature extraction on the second cross-attention feature to obtain the initial text attention feature.

[0096] like Figure 4 As shown, the second cross attention feature output by the second cross attention sub-network is input into the second self-attention sub-network 20332, and the second self-attention sub-network 20332 executes the self-attention mechanism and outputs the initial text attention feature. The self-attention mechanism is shown in the following formula (4):

[0097]

[0098] The difference between formula (4) and formula (2) is that q(·), k(·), and v(·) are respectively targeted at different feature data.

[0099] Step 1036, using the initial image attention features and the initial text attention features as new image features and text features, reusing the image attention feature extraction subnetwork and the text attention feature extraction subnetwork to extract attention features from the new image features and text features until the number of executions reaches a preset number.

[0100] like Figure 4 As shown, the first cross-attention sub-network, the first self-attention sub-network, the first deconvolution layer, the second cross-attention sub-network, and the second self-attention sub-network are repeatedly executed Q times to output image attention features and text attention features to the control position prediction network.

[0101] This embodiment sets a self-attention mechanism and a cross-attention mechanism in the image attention feature extraction subnetwork and the text attention feature extraction subnetwork. The self-attention mechanism can help the model understand the semantic information and contextual relationship in the text, and the cross-attention mechanism can allow the model to focus on the key areas in the image, so that it can more accurately understand the semantic relationship between text and image. The output image attention features and text attention features can accurately reflect the association between the visual features and text features of the control position, which helps to improve the accuracy of control position prediction.

[0102] In some optional implementations of this embodiment, such as Figure 7 As shown, the control position prediction network 204 includes a feature fusion subnetwork 2041 and a heat map prediction subnetwork 2042.

[0103] like Figure 6 As shown, step 104 includes:

[0104] Step 1041, using the feature fusion sub-network, fuses the image attention feature and the text attention feature to obtain a fused feature.

[0105] like Figure 7 As shown, the feature fusion subnetwork 2041 receives the input image attention features and text attention features, and outputs fusion features. The feature fusion subnetwork can be implemented by neural networks of various structures. For example, the image attention features and text attention features can be merged, and a convolutional neural network can perform convolution operations to achieve feature fusion.

[0106] Step 1042, using the heat map prediction sub-network, perform heat map prediction on the fused features to obtain a predicted heat map.

[0107] like Figure 7 As shown, the heat map prediction subnetwork 2042 receives the input fusion features and outputs a predicted heat map. The heat map prediction subnetwork may include a classifier, which can extract feature data corresponding to each pixel in the original sample interface image from the fusion features, and the classifier can classify the feature data corresponding to each pixel to determine the probability that each pixel belongs to the control corresponding to the sample text. The point with the highest probability is taken as the center of the response area of ​​the heat map, and a heat map response area can be formed around the center point using a Gaussian blur algorithm. The response area in the predicted heat map represents the position of the control corresponding to the sample text in the sample interface image.

[0108] Step 1043: Generate predicted position information representing the position of the control based on the predicted heat map.

[0109] Specifically, information in the form of a coordinate set, a rectangular box, etc. may be generated as the predicted position information according to the response area in the predicted heat map.

[0110] This embodiment predicts the control position in the form of a heat map by setting a feature fusion subnetwork and a heat map prediction subnetwork in the control position prediction network. The fused features can more accurately represent the correlation between image features and text features, so that the predicted heat map can more accurately represent the position of the control.

[0111] In some optional implementations of this embodiment, such as Figure 7As shown, the feature fusion subnetwork 2041 includes a third cross-attention network 20411, and the heat map prediction subnetwork 2042 includes a second deconvolution layer 20421 and a classifier 20422.

[0112] The above step 1041 may include:

[0113] The third cross attention network is used to extract attention features from image attention features and text attention features, and the third cross attention features are obtained as fusion features.

[0114] like Figure 7 As shown, the image attention feature and the text attention feature are input into the third cross-attention network 20411. The third cross-attention network executes the cross-attention mechanism according to an algorithm similar to the above formula (1) to obtain the third cross-attention feature as the fusion feature.

[0115] The above step 1042 may be performed as follows:

[0116] First, the third cross-attention feature is deconvolved using the second deconvolution layer to obtain a heat map feature with the same size as the sample interface image.

[0117] like Figure 7 As shown, the second deconvolution layer 20421 receives the input third cross-attention feature, upsamples the third cross-attention feature, and the size of the obtained feature map is the same as the size of the sample interface image, that is, W*H. The feature of each pixel in the sample interface image is included in the above-mentioned heat map feature.

[0118] Then, the classifier 20422 is used to classify the pixel features contained in the heat map features to obtain a predicted heat map.

[0119] The classification method can be implemented using algorithms such as softmax. The size of the prediction heat map is the same as that of the sample interface image, that is, W*H*1. Each point in the prediction heat map corresponds to a response probability, that is, the probability of belonging to the control corresponding to the sample text. The point where the maximum response probability is located is the prediction center point of the control.

[0120] This embodiment further integrates the image attention features and the text attention features by setting a third cross-attention network, a second deconvolution layer and a classifier in the control position prediction network. The obtained third cross-attention features can more accurately reflect the correlation between the image features and the text features, thereby further improving the accuracy of generating the prediction heat map.

[0121] In some optional implementations of this embodiment, the annotated position information includes an annotated heat map, which is a heat map calculated based on the coordinates included in the annotated position information.

[0122] Specifically, the marked location information may include the coordinates of an area of ​​interest. The center position is calculated according to the following formula (5):

[0123]

[0124] The heat map of the point (x, y) in the region of interest can be determined using the Gaussian blur algorithm, as shown in the following formula (6):

[0125]

[0126] Among them, σ c Represents standard deviation.

[0127] The above step 105 includes:

[0128] Using a preset regression loss function, a first loss value representing an error between the predicted heat map and the annotated heat map is calculated, and the first loss value is determined as a numerical value representing an error between the predicted position information and the annotated position information.

[0129] As an example, since the region of interest occupies a relatively small area of ​​the entire interface image, there is an imbalance problem between positive and negative samples. Therefore, a focal loss function can be used, and its specific form is shown in the following formula (7):

[0130]

[0131] Among them, I ′ map (x, y) represents the predicted heat map, α, β represent the hyperparameters of focal loss, which is used to increase the weight of inaccurately predicted pixels in the loss function, and M represents the number of pixels in the original image.

[0132] This embodiment achieves a more targeted update of the parameters of the control position prediction network by setting a labeled heat map and a regression loss function. The control position prediction network can output a more accurate prediction heat map, thereby improving the accuracy of control positioning.

[0133] In some optional implementations of this embodiment, such as Figure 8 As shown, before step 103, the method further includes:

[0134] Step 108: Obtain a set of sample image-text pairs.

[0135] The sample image-text pairs in the sample image-text pair set can be compared with the above Figure 1The sample image-text pairs used in the corresponding embodiments may be the same or different. Each sample image-text pair in the sample image-text pair set includes a sample interface image and a sample text, as well as corresponding annotated position information indicating the position of the control described by the sample text in the sample interface image.

[0136] Step 109 , using the image feature extraction network and the text feature extraction network, perform image feature extraction and text feature extraction on the sample image-text pairs in the sample image-text pair set in sequence to obtain a sample image feature set and a sample text feature set.

[0137] The method of extracting the sample image feature set and the sample text feature set in this step is basically the same as the above step 102, and will not be repeated here.

[0138] Step 110, using the initial attention feature extraction network included in the initial control positioning model, perform attention feature extraction on any pair of sample image features and sample text features in the sample image feature set and the sample text feature set, respectively, to obtain an image attention feature set and a text attention feature set.

[0139] That is, the sample interface image and sample text corresponding to any pair of sample image features and sample text features may match or may not match. For example, suppose a pair of matching sample image features and sample text features is N represents the number of sample image-text pairs. Then any pair of sample image features and sample text features is expressed as {(v i ,t k )}, where i and k are any values ​​less than or equal to N. The corresponding extracted image attention features and text attention features are expressed as {(va i ,ta k )}. i That is, the image attention feature set contains the image attention features, ta k That is, the text attention features contained in the text attention feature set.

[0140] Step 111, determining the similarity between the matching image attention features and text attention features in the image attention feature set and the text attention feature set, and the similarity between the mismatched image attention features and text attention features.

[0141] Specifically, the similarity between the matching image attention features and text attention features is expressed as s(va i ,ta i ), the similarity between the mismatched image attention features and text attention features is denoted as s(va i ,ta k ).

[0142] Among them, the similarity can be determined by calculating the distance between the image attention feature and the text attention feature, that is, the larger the distance, the lower the similarity, and the smaller the distance, the higher the similarity.

[0143] Step 112: Based on a preset contrast loss function, a loss value is calculated for each similarity obtained to obtain a second loss value.

[0144] As an example, the contrast loss function may adopt the NCE (Noise Contrastive Estimation) loss function. The specific form is shown in the following formula (8):

[0145]

[0146] The optimization goal of this loss function is to make s(v i ,t i ) as large as possible, and at the same time make s(v i ,t K ) is as small as possible, that is, the more similar the matching features are, the more dissimilar the unmatched features are, and the smaller the second loss value is.

[0147] Step 113, based on the second loss value, adjust the parameters of the initial attention feature extraction network.

[0148] Specifically, the gradient descent method and the back propagation method can be used to iteratively update the parameters of the initial attention feature extraction network so that the above-mentioned second loss value gradually decreases. Usually, each iteration requires executing the above-mentioned steps 108 to 113 once, that is, iteratively training the network using multiple sets of training samples. The adjusted network obtained after each iteration is used as the initial attention feature extraction network for the next iteration, and it is iterated repeatedly multiple times until the adjusted initial attention feature extraction network meets the preset training end condition.

[0149] Step 114, in response to the initial attention feature extraction network after adjusting parameters meeting the preset second training end condition, the current initial attention feature extraction network is determined as the trained attention feature extraction network.

[0150] In this embodiment, the above-mentioned second training end condition may include but is not limited to at least one of the following: the training time exceeds the preset duration; the number of training times exceeds the preset number of times; the calculated loss value converges; the positioning accuracy obtained by testing the model using the test sample exceeds the accuracy threshold.

[0151] This embodiment uses a set of sample image-text pairs to pre-train the attention feature extraction network, so that the attention feature extraction network can accurately perform attention feature analysis on the input image features and text features. The obtained image attention features and text attention features can accurately express the relationship between the image and the text, thereby improving the accuracy of extracting image attention features and text attention features, and further improving the accuracy of the entire spatial positioning model.

[0152] In some optional implementations of this embodiment, such as Fig. 9 As shown, step 101 includes:

[0153] Step 1011, obtaining a sample interface image.

[0154] The sample interface image may be an image captured from various types of operation interfaces, such as an operation interface image displayed on a screen of a vehicle.

[0155] Step 1012, using a pre-trained text conversion model, performs text conversion on the target control in the sample interface image to obtain text for describing the target control.

[0156] The text conversion model can be implemented using an existing large model of image-to-text conversion, such as a GPT model. The text conversion model can analyze the characteristics of the target control according to the marked area of ​​the target control, i.e., the region of interest, and convert it into a corresponding text description, the text description content and the generated text.

[0157] Step 1013, obtaining the marked position information for marking the position of the target control.

[0158] The annotation location information can be expressed in the form of coordinate data or a rectangular frame.

[0159] Step 1014, generating a sample image-text pair based on the sample interface image, the annotated position information and the text.

[0160] Specifically, according to the marked position information, the sensing interest area can be determined in the sample interface image, thereby serving as a sample for training the control positioning model.

[0161] The number of text conversion models in this embodiment can be multiple, that is, different description texts can be generated for the same control to increase the number of sample image-text pairs. In addition, the same sample interface image can contain multiple regions of interest, and accordingly, the same sample interface image can generate multiple sample image-text pairs.

[0162] This embodiment can greatly improve the efficiency of obtaining training samples by using a text conversion model to generate sample image-text pairs. At the same time, the text conversion model can generate more sample image-text pairs, thereby helping to improve the generalization ability of the trained control positioning model.

[0163] In some optional implementations of this embodiment, such as Fig.10 As shown, in the above step 101, the marked position information can be obtained according to the following sub-steps:

[0164] Step 1015, obtaining a label box containing the target control.

[0165] The above-mentioned annotation box can be a rectangular box, and the area within the rectangular box is the display area of ​​the target control. The position of the annotation box can be set manually or automatically generated by a target detection model or the like.

[0166] Step 1016, generating an initial heat map having the same size as the sample interface image.

[0167] The size of the initial heat map is W*H*1, where W*H is the size of the sample interface image. Each point in the initial heat map can have a default value, such as 0.

[0168] Step 1017, perform Gaussian blur processing on the area included in the annotation box in the sample interface image to obtain heat map label data.

[0169] Specifically, the Gaussian blur processing method can refer to the above formula (6).

[0170] Step 1018, setting the heat map label data to the area corresponding to the initial heat map, and obtaining a labeled heat map representing the location of the target control.

[0171] That is, according to the center point of the region of interest included in the above-mentioned annotated position information, the center of the heat map after Gaussian blur is determined, and then the heat map label data is set to the corresponding area of ​​the initial heat map.

[0172] Step 1019: Generate annotation location information based on the annotation heat map.

[0173] The annotation location information may include the annotation heat map mentioned above, and may also include an annotation box, coordinate data, etc.

[0174] This embodiment generates a labeled heat map according to the labeled box in advance, so that accurate reference information can be provided when predicting the heat map, thereby improving the accuracy of generating the predicted heat map during and after model training.

[0175] Fig.11A flow chart of a control positioning and triggering method provided for an embodiment of the present application. This method can be applied to terminal devices such as vehicles, household appliances, smart phones, laptops, desktop computers, portable computers, and can also be applied to servers. For example, when applied on a terminal device, the terminal device can capture the currently displayed interface image and use the control positioning model to determine the control that matches the user's voice; when applied on a server, the server can receive the interface image and voice signal sent by the terminal device, use the control positioning model to determine the target control, and send the execution instruction corresponding to the target control to the terminal device.

[0176] In addition, the execution subject of the present method may be hardware or software. When the execution subject is hardware, the execution subject may be one or more of the electronic devices. For example, a single electronic device may execute the present method, or a plurality of electronic devices may cooperate with each other to execute the present method. When the execution subject is software, the present method may be implemented as a plurality of software or software modules, or as a single software or software module. No specific limitation is made herein.

[0177] like Fig.11 As shown, the method specifically includes:

[0178] Step 1101, obtaining a target interface image, and obtaining a voice signal collected from a target user.

[0179] In this embodiment, the target interface image may be various types of interface images, for example, an image of an operation interface displayed on a screen of a vehicle. The target user may be a user in a certain space, and a microphone is provided in the space to collect the voice signal of the target user.

[0180] Step 1102: recognize the speech signal to obtain recognized text.

[0181] In this embodiment, the method for recognizing the voice signal can be implemented by using the existing ASR (Automatic Speech Recognition) technology.

[0182] Step 1103, using the image feature extraction network and the text feature extraction network included in the pre-trained control positioning model, image feature extraction and text feature extraction are performed on the target interface image and the recognition text to obtain image features and text features.

[0183] In this embodiment, the control positioning model is a model trained according to the control positioning model training method described in the above embodiments. The structure and function of the image feature extraction network, text feature extraction network, attention feature extraction network, and control position prediction network included in the control positioning model can refer to the above embodiments and will not be repeated here.

[0184] Step 1104, using the attention feature extraction network included in the control positioning model, extract attention features from the image features and text features to obtain attention features.

[0185] Step 1105, using the control position prediction network included in the control positioning model, predict the control position of the attention feature to obtain predicted position information representing the control position.

[0186] Step 1106, triggering the target control corresponding to the predicted position information to execute a corresponding function.

[0187] In this embodiment, after determining the position of the target control on the operation interface corresponding to the target interface image, an operation on the target control can be triggered. For example, a click operation on the target control can be triggered to execute a corresponding function.

[0188] As an example, the target user in the vehicle looks at the multimedia playback interface displayed on the screen and says "next song". The control positioning model can match the text "next song" with the current interface image, locate the corresponding control, trigger a click operation on the control, and thus switch to the next song.

[0189] The control positioning and triggering method provided in the embodiment of the present application realizes the extraction of attention features from images and texts by using the control positioning model obtained through training in the above embodiment, and makes full use of the attention features to analyze the association between the region of interest in the interface image and the text, thereby improving the matching accuracy of the model for the interface image and text, that is, realizing a high-precision see-and-speak function. When matching images and texts, the interface image and text can be directly input to realize end-to-end image-text matching. As long as the control appears in the image, it can be matched with the text without setting the text information corresponding to each control, thereby improving the scene adaptability of image-text matching.

[0190] In some optional implementations of this embodiment, such as Fig.12 As shown, step 1105 includes:

[0191] Step 11051, using the control position prediction network, performs heat map prediction on the attention feature to obtain a predicted heat map representing the control position.

[0192] Specifically, the control position prediction network in this embodiment may include a feature fusion subnetwork and a heat map prediction subnetwork. For the content of the feature fusion subnetwork and the heat map prediction subnetwork, please refer to the above Figure 6 The corresponding embodiments are not described in detail here. The feature fusion sub-network and the heat map prediction sub-network can be used to perform heat map prediction on the attention feature to obtain a predicted heat map.

[0193] like Fig.13 As shown, the control positioning model receives an input target interface image and simultaneously receives text converted from a user's voice description of a target control. The control positioning model can output a prediction heat map in which the response area represents the location of the target control.

[0194] Step 11052, determine whether the predicted heat map meets the preset threshold condition.

[0195] Generally, the value of each point in the prediction heat map can represent grayscale, and a grayscale threshold can be pre-set. When the grayscale of each point in the prediction heat map is less than the grayscale threshold, it is determined that the threshold condition is not met, otherwise it is determined that the threshold condition is met. For another example, if the average grayscale of the prediction heat map is greater than the grayscale threshold, it is determined that the threshold condition is met.

[0196] Step 11053, if the threshold condition is met, determine whether the target control in the target interface image that is closest to the response center of the predicted heat map meets the preset distance condition.

[0197] That is, when the distance between the response center of the prediction heat map and its nearest target control is less than or equal to the distance threshold, it is determined that the distance condition is met.

[0198] Step 11054, if the distance condition is met, generate predicted position information based on the predicted heat map, and determine the target control as the control corresponding to the predicted position information.

[0199] Specifically, the predicted position information representing the position of the target control may be determined according to the coverage of the response area in the predicted heat map.

[0200] In this embodiment, the control positioning model outputs a prediction heat map, which can represent the probability of the target control's location in the interface image. Based on the probability, the location of the target control can be predicted, and no requirement is made on whether the interface image needs corresponding display text. This allows the model to adapt to various types of interface images, thereby improving the adaptability of control positioning application scenarios.

[0201] Fig.14A schematic diagram of the structure of a control positioning model training device provided in an embodiment of the present application. Specifically comprising: a first acquisition module 1401, used to obtain sample image-text pairs and annotation position information, wherein the sample image-text pairs include a sample interface image and sample text, and the annotation position information indicates the position of the target control in the sample interface image; a first extraction module 1402, used to perform image feature extraction and text feature extraction on the sample image-text pairs using the image feature extraction network and the text feature extraction network included in the initial control positioning model to obtain sample image features and sample text features; a second extraction module 1403, used to perform image feature extraction and text feature extraction on the sample image features and sample text features using the pre-trained attention feature extraction network included in the initial control positioning model Attention feature extraction is performed to obtain attention features; a first prediction module 1404 is used to use the control position prediction network included in the initial control positioning model to predict the control position of the attention features to obtain predicted position information representing the control position; a first determination module 1405 is used to determine the error between the predicted position information and the annotated position information; a first adjustment module 1406 is used to adjust the parameters of the control position prediction network based on the error; a second determination module 1407 is used to determine the current initial control positioning model as the trained control positioning model in response to the current initial control positioning model meeting the preset first training end condition.

[0202] In one possible embodiment, the attention feature extraction network includes an image attention feature extraction subnetwork, a text attention feature extraction subnetwork and a first deconvolution layer; the second extraction module is further used to: use the image attention feature extraction subnetwork and the text attention feature extraction subnetwork to perform attention feature extraction on sample image features and sample text features for a preset number of times in a loop to obtain image attention features and text attention features, wherein after each attention feature extraction, the first deconvolution layer is used to enlarge the size of the obtained image attention features to obtain the enlarged image attention features.

[0203] In one possible implementation, the image attention feature extraction subnetwork includes a first cross-attention subnetwork and a first self-attention subnetwork, and the text attention feature extraction subnetwork includes a second cross-attention subnetwork and a second self-attention subnetwork; the second extraction module includes: a first extraction unit, used to use the first cross-attention subnetwork to perform cross-attention feature extraction on sample image features and sample text features to obtain first cross-attention features; a second extraction unit, used to use the first self-attention subnetwork to perform self-attention feature extraction on the first cross-attention features to obtain initial image attention features; a deconvolution unit, used to use the first deconvolution layer to perform a deconvolution operation on the first self-attention features to obtain the enlarged image attention features; a third extraction unit is used to use the second cross-attention sub-network to perform cross-attention feature extraction on the sample image features and the sample text features to obtain the second cross-attention features; a fourth extraction unit is used to use the second self-attention sub-network to perform self-attention feature extraction on the second cross-attention features to obtain the initial text attention features; an execution unit is used to use the initial image attention features and the initial text attention features as new image features and text features, and reuse the image attention feature extraction sub-network and the text attention feature extraction sub-network to perform attention feature extraction on the new image features and text features until the number of executions reaches a preset number.

[0204] In one possible implementation, the control position prediction network includes a feature fusion subnetwork and a heat map prediction subnetwork; the first prediction module includes: a fusion unit, used to use the feature fusion subnetwork to fuse the image attention feature and the text attention feature to obtain a fused feature; a first prediction unit, used to use the heat map prediction subnetwork to perform heat map prediction on the fused feature to obtain a predicted heat map; a first generation unit, used to generate predicted position information representing the control position based on the predicted heat map.

[0205] In one possible implementation, the feature fusion subnetwork includes a third cross-attention network, and the heat map prediction subnetwork includes a second deconvolution layer and a classifier; the fusion unit includes: an extraction subunit, which uses the third cross-attention network to extract attention features from image attention features and text attention features, and obtains third cross-attention features as fusion features; the first prediction unit includes: a deconvolution subunit, which uses the second deconvolution layer to perform a deconvolution operation on the third cross-attention features to obtain heat map features of the same size as the sample interface image; and a classification subunit, which uses a classifier to classify pixel features contained in the heat map features to obtain a predicted heat map.

[0206] In one possible embodiment, the annotated position information includes an annotated heat map; the first determination module is further used to: use a preset regression loss function to calculate a first loss value representing the error between the predicted heat map and the annotated heat map, and determine the first loss value as a numerical value representing the error between the predicted position information and the annotated position information.

[0207] In a possible embodiment, the device further includes: a second acquisition module for acquiring a sample image-text pair set; a third extraction module for using an image feature extraction network and a text feature extraction network to sequentially perform image feature extraction and text feature extraction on sample image-text pairs in the sample image-text pair set to obtain a sample image feature set and a sample text feature set; a fourth extraction module for using an initial attention feature extraction network included in the initial control positioning model to perform attention feature extraction on any pair of sample image features and sample text features in the sample image feature set and the sample text feature set to obtain an image attention feature set and a text attention feature set; a third determination module, Used to determine the similarity between the matching image attention features and text attention features in the image attention feature set and the text attention feature set, as well as the similarity between the mismatched image attention features and text attention features; a calculation module, used to calculate the loss value of each similarity obtained based on a preset contrast loss function to obtain a second loss value; a second adjustment module, used to adjust the parameters of the initial attention feature extraction network based on the second loss value; a fourth determination module, used to determine the current initial attention feature extraction network as the trained attention feature extraction network in response to the initial attention feature extraction network after adjusting the parameters meeting the preset second training end condition.

[0208] In one possible embodiment, the first acquisition module includes: a first acquisition unit, used to acquire a sample interface image; a conversion unit, used to use a pre-trained text conversion model to perform text conversion on a target control in the sample interface image to obtain text for describing the target control; a second acquisition unit, used to acquire annotation position information for marking the position of the target control; and a second generation unit, used to generate a sample image-text pair based on the sample interface image, the annotation position information and the text.

[0209] In one possible embodiment, the first acquisition module includes: a third acquisition unit, used to acquire a labeling box containing a target control; a third generation unit, used to generate an initial heat map of the same size as the sample interface image; a processing unit, used to perform Gaussian blur processing on the area contained in the labeling box in the sample interface image to obtain heat map label data; a third generation unit, used to set the heat map label data to the area corresponding to the initial heat map to obtain a labeled heat map indicating the position of the target control; and a fourth generation unit, used to generate labeled position information based on the labeled heat map.

[0210] The control positioning model training device provided in this embodiment can be as follows Fig.14 The control positioning model training device shown in can execute all steps of the above control positioning model training methods, thereby achieving the technical effects of the above control positioning model training methods. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.

[0211] Fig.15 A schematic diagram of the structure of a control positioning and triggering device provided in an embodiment of the present application. Specifically comprising: a third acquisition module 1501, used to acquire a target interface image and acquire a voice signal collected from a target user; a recognition module 1502, used to recognize the voice signal and obtain a recognized text; a fifth extraction module 1503, used to use the image feature extraction network and the text feature extraction network included in the pre-trained control positioning model to perform image feature extraction and text feature extraction on the target interface image and the recognized text to obtain image features and text features; a sixth extraction module 1504, used to use the attention feature extraction network included in the control positioning model to perform attention feature extraction on the image features and text features to obtain attention features; a second prediction module 1505, used to use the control position prediction network included in the control positioning model to predict the control position on the attention features to obtain predicted position information representing the control position; a trigger module 1506, used to trigger the target control corresponding to the predicted position information to perform a corresponding function.

[0212] In one possible embodiment, the second prediction module includes: a second prediction unit, used to use the control position prediction network to perform heat map prediction on the attention feature to obtain a predicted heat map representing the control position; a first determination unit, used to determine whether the predicted heat map meets a preset threshold condition; a second determination unit, used to determine whether the target control in the target interface image that is closest to the response center of the predicted heat map meets a preset distance condition if the threshold condition is met; a third determination unit, used to generate predicted position information based on the predicted heat map if the distance condition is met, and determine the target control as the control corresponding to the predicted position information.

[0213] The control positioning model training device provided in this embodiment can be as follows Fig.15 The control positioning and triggering device shown in can execute all steps of the above control positioning and triggering methods, thereby achieving the technical effects of the above control positioning and triggering methods. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.

[0214] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, Fig.16The electronic device 1600 shown includes: at least one processor 1601, a memory 1602, at least one network interface 1604 and other user interfaces 1603. The various components in the electronic device 1600 are coupled together via a bus system 1605. It is understood that the bus system 1605 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 1605 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 1605 is not described in detail. Fig.16 Various buses are labeled as bus system 1605.

[0215] The user interface 1603 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).

[0216] It can be understood that the memory 1602 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can 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), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (DRRAM). The memory 1602 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0217] In some embodiments, the memory 1602 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 16021 and an application program 16022 .

[0218] The operating system 16021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 16022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present application can be included in the application 16022.

[0219] In this embodiment, by calling the program or instruction stored in the memory 1602, specifically, the program or instruction stored in the application 16022, the processor 1601 is used to execute the method steps provided by each method embodiment, for example, including:

[0220] Obtain sample image-text pairs and annotated position information, wherein the sample image-text pairs include a sample interface image and sample text, and the annotated position information indicates the position of a target control in the sample interface image; utilize the image feature extraction network and the text feature extraction network included in the initial control positioning model to perform image feature extraction and text feature extraction on the sample image-text pairs to obtain sample image features and sample text features; utilize the pre-trained attention feature extraction network included in the initial control positioning model to perform attention feature extraction on the sample image features and the sample text features to obtain attention features; utilize the control position prediction network included in the initial control positioning model to predict the control position on the attention features to obtain predicted position information indicating the control position; determine the error between the predicted position information and the annotated position information; based on the error, adjust the parameters of the control position prediction network; in response to the current initial control positioning model meeting the preset first training end condition, determine the current initial control positioning model as the trained control positioning model.

[0221] The method disclosed in the above embodiment of the present application can be applied to the processor 1601, or implemented by the processor 1601. The processor 1601 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 or software instructions in the processor 1601. The above processor 1601 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1602, and the processor 1601 reads the information in the memory 1602 and completes the steps of the above method in combination with its hardware.

[0222] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the above functions of the present application, or a combination thereof.

[0223] For software implementation, the technology described above in this article can be implemented by a unit that performs the functions described above in this article. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0224] The electronic device provided in this embodiment may be Fig.16 The electronic device shown in can execute all steps of the above-mentioned control positioning model training methods or control positioning and triggering methods, thereby achieving the technical effects of the above-mentioned control positioning model training methods. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.

[0225] The embodiment of the present application also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.

[0226] When one or more programs in the storage medium can be executed by one or more processors, the control positioning model training method executed on the electronic device side can be implemented.

[0227] The processor is used to execute the program stored in the memory to implement the following steps of the control positioning model training method executed on the electronic device side:

[0228] Obtain sample image-text pairs and annotated position information, wherein the sample image-text pairs include a sample interface image and sample text, and the annotated position information indicates the position of a target control in the sample interface image; utilize the image feature extraction network and the text feature extraction network included in the initial control positioning model to perform image feature extraction and text feature extraction on the sample image-text pairs to obtain sample image features and sample text features; utilize the pre-trained attention feature extraction network included in the initial control positioning model to perform attention feature extraction on the sample image features and the sample text features to obtain attention features; utilize the control position prediction network included in the initial control positioning model to predict the control position on the attention features to obtain predicted position information indicating the control position; determine the error between the predicted position information and the annotated position information; based on the error, adjust the parameters of the control position prediction network; in response to the current initial control positioning model meeting the preset first training end condition, determine the current initial control positioning model as the trained control positioning model.

[0229] The professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. 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 can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0230] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0231] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0232] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A control positioning model training method, characterized in that: The method comprises: Acquire a sample image-text pair and annotation position information, wherein the sample image-text pair includes a sample interface image and sample text, and the annotation position information indicates the position of a target control in the sample interface image; Using the image feature extraction network and the text feature extraction network included in the initial control positioning model, image feature extraction and text feature extraction are performed on the sample image-text pair to obtain sample image features and sample text features; Using the pre-trained attention feature extraction network included in the initial control positioning model, extract attention features from the sample image features and the sample text features to obtain attention features; Using the control position prediction network included in the initial control positioning model, predicting the control position of the attention feature to obtain predicted position information representing the control position; Determining an error between the predicted position information and the marked position information; Based on the error, adjusting parameters of the control position prediction network; In response to the current initial control positioning model meeting a preset first training end condition, the current initial control positioning model is determined as a trained control positioning model.

2. The method according to claim 1, characterized in that The attention feature extraction network includes an image attention feature extraction subnetwork, a text attention feature extraction subnetwork and a first deconvolution layer; The using of the pre-trained attention feature extraction network included in the initial control positioning model to extract attention features from the sample image features and the sample text features to obtain attention features includes: The image attention feature extraction subnetwork and the text attention feature extraction subnetwork are used to perform attention feature extraction on the sample image features and the sample text features for a preset number of times to obtain image attention features and text attention features, wherein after each attention feature extraction, the first deconvolution layer is used to enlarge the size of the obtained image attention features to obtain enlarged image attention features.

3. The method according to claim 2, characterized in that The image attention feature extraction subnetwork includes a first cross attention subnetwork and a first self-attention subnetwork, and the text attention feature extraction subnetwork includes a second cross attention subnetwork and a second self-attention subnetwork; The method of using the image attention feature extraction subnetwork and the text attention feature extraction subnetwork to extract attention features from the sample image features and the sample text features for a preset number of cycles includes: Using the first cross-attention sub-network, performing cross-attention feature extraction on the sample image feature and the sample text feature to obtain a first cross-attention feature; Using the first self-attention sub-network, performing self-attention feature extraction on the first cross-attention feature to obtain an initial image attention feature; Using the first deconvolution layer, performing a deconvolution operation on the first self-attention feature to obtain an enlarged image attention feature; Using the second cross-attention sub-network, performing cross-attention feature extraction on the sample image features and the sample text features to obtain second cross-attention features; Using the second self-attention sub-network, performing self-attention feature extraction on the second cross-attention feature to obtain an initial text attention feature; The initial image attention features and the initial text attention features are used as new image features and text features, and the image attention feature extraction subnetwork and the text attention feature extraction subnetwork are reused to perform attention feature extraction on the new image features and text features until the number of executions reaches a preset number.

4. The method according to claim 2, characterized in that: The control position prediction network includes a feature fusion subnetwork and a heat map prediction subnetwork; The using the control position prediction network included in the initial control positioning model to predict the control position of the attention feature to obtain predicted position information representing the control position includes: Using the feature fusion subnetwork, the image attention feature and the text attention feature are fused to obtain a fused feature; Using the heat map prediction subnetwork, performing heat map prediction on the fusion features to obtain a predicted heat map; Based on the predicted heat map, predicted position information representing the position of the control is generated.

5. The method according to claim 4, characterized in that The feature fusion subnetwork includes a third cross attention network, and the heat map prediction subnetwork includes a second deconvolution layer and a classifier; The method of using the feature fusion subnetwork to fuse the image attention feature and the text attention feature to obtain a fused feature includes: Using the third cross attention network, extracting attention features from the image attention feature and the text attention feature, and obtaining a third cross attention feature as a fusion feature; The step of using the heat map prediction subnetwork to perform heat map prediction on the fusion features to obtain a predicted heat map includes: Using the second deconvolution layer, performing a deconvolution operation on the third cross-attention feature to obtain a heat map feature having the same size as the sample interface image; The classifier is used to classify the pixel features included in the heat map features to obtain the predicted heat map.

6. The method according to claim 5, characterized in that The annotated position information includes an annotated heat map; The determining an error between the predicted position information and the marked position information includes: A first loss value representing an error between the predicted heat map and the annotated heat map is calculated using a preset regression loss function, and the first loss value is determined as a numerical value representing an error between the predicted position information and the annotated position information.

7. The method according to claim 1, characterized in that Before extracting attention features from the sample image features and the sample text features using the pre-trained attention feature extraction network included in the initial control positioning model to obtain attention features, the method further includes: Get a set of sample image-text pairs; Using the image feature extraction network and the text feature extraction network, sequentially perform image feature extraction and text feature extraction on the sample image-text pairs in the sample image-text pair set to obtain a sample image feature set and a sample text feature set; Using the initial attention feature extraction network included in the initial control positioning model, attention feature extraction is performed on any pair of sample image features and sample text features in the sample image feature set and the sample text feature set to obtain an image attention feature set and a text attention feature set; Determine the similarity between the matching image attention features and the text attention features in the image attention feature set and the text attention feature set, and the similarity between the mismatched image attention features and the text attention features; Based on a preset contrast loss function, a loss value is calculated for each similarity obtained to obtain a second loss value; Based on the second loss value, adjusting the parameters of the initial attention feature extraction network; In response to the initial attention feature extraction network after adjusting parameters meeting a preset second training end condition, the current initial attention feature extraction network is determined as the trained attention feature extraction network.

8. The method according to claim 1, characterized in that The obtaining of sample image-text pairs and annotation position information includes: Get sample interface image; Using a pre-trained text conversion model, performing text conversion on a target control in the sample interface image to obtain text for describing the target control; Obtaining the marked position information for marking the position of the target control; The sample image-text pair is generated based on the sample interface image, the annotation position information and the text.

9. The method according to claim 6, characterized in that The obtaining of sample image-text pairs and annotation position information includes: Get the annotation box containing the target control; Generate an initial heat map having the same size as the sample interface image; Performing Gaussian blur processing on the area included in the annotation box in the sample interface image to obtain heat map label data; Setting the heat map label data to the area corresponding to the initial heat map to obtain a labeled heat map representing the position of the target control; The annotation position information is generated based on the annotation heat map.

10. A control positioning and triggering method, characterized in that: The method comprises: Acquire a target interface image and obtain a voice signal collected from a target user; Recognizing the speech signal to obtain a recognized text; Using the image feature extraction network and the text feature extraction network included in the pre-trained control positioning model, image feature extraction and text feature extraction are performed on the target interface image and the recognition text to obtain image features and text features; Using the attention feature extraction network included in the control positioning model, extracting attention features from the image features and the text features to obtain attention features; Using the control position prediction network included in the control positioning model, predicting the control position of the attention feature to obtain predicted position information representing the control position; The target control corresponding to the predicted position information is triggered to execute a corresponding function.

11. The method according to claim 10, characterized in that The using the control position prediction network included in the control positioning model to predict the control position of the attention feature to obtain predicted position information representing the control position includes: Using the control position prediction network, performing heat map prediction on the attention feature to obtain a predicted heat map representing the control position; Determining whether the predicted heat map meets a preset threshold condition; If the threshold condition is met, determining whether the target control in the target interface image that is closest to the response center of the predicted heat map meets a preset distance condition; If the distance condition is met, the predicted position information is generated based on the predicted heat map, and the target control is determined as the control corresponding to the predicted position information.

12. A control positioning model training device, characterized in that: The device comprises: A first acquisition module is used to acquire a sample image-text pair and annotated position information, wherein the sample image-text pair includes a sample interface image and a sample text, and the annotated position information indicates the position of a target control in the sample interface image; A first extraction module is used to extract image features and text features from the sample image-text pairs using an image feature extraction network and a text feature extraction network included in the initial control positioning model, so as to obtain sample image features and sample text features; A second extraction module is used to extract attention features from the sample image features and the sample text features using a pre-trained attention feature extraction network included in the initial control positioning model to obtain attention features; A first prediction module, configured to predict the control position of the attention feature using the control position prediction network included in the initial control positioning model, and obtain predicted position information representing the control position; A first determination module, used to determine the error between the predicted position information and the marked position information; A first adjustment module, used for adjusting parameters of the control position prediction network based on the error; The second determination module is configured to determine the current initial control positioning model as a trained control positioning model in response to the current initial control positioning model meeting a preset first training end condition.

13. A control positioning and triggering device, characterized in that: The device comprises: The third acquisition module is used to acquire the target interface image and acquire the voice signal collected from the target user; A recognition module, used to recognize the voice signal to obtain a recognition text; A fifth extraction module, used to perform image feature extraction and text feature extraction on the target interface image and the recognized text using an image feature extraction network and a text feature extraction network included in a pre-trained control positioning model, to obtain image features and text features; A sixth extraction module, configured to extract attention features from the image features and the text features using the attention feature extraction network included in the control positioning model to obtain attention features; A second prediction module, configured to use a control position prediction network included in the control positioning model to predict the control position of the attention feature, and obtain predicted position information representing the control position; A trigger module is used to trigger the target control corresponding to the predicted position information to perform a corresponding function.

14. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute a computer program stored in the memory, and when the computer program is executed, implement the method described in any one of claims 1 to 11.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method described in any one of claims 1 to 11 is implemented.

Citation Information

Cited By

  • Model training and intelligent cockpit visible-to-speak method

    CN119993147A