WO2021056621A1 - 文本序列的识别方法及装置、电子设备和存储介质 - Google Patents
文本序列的识别方法及装置、电子设备和存储介质 Download PDFInfo
- Publication number
- WO2021056621A1 WO2021056621A1 PCT/CN2019/111170 CN2019111170W WO2021056621A1 WO 2021056621 A1 WO2021056621 A1 WO 2021056621A1 CN 2019111170 W CN2019111170 W CN 2019111170W WO 2021056621 A1 WO2021056621 A1 WO 2021056621A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- text
- binary tree
- sequence
- feature
- text sequence
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 83
- 238000012545 processing Methods 0.000 claims abstract description 107
- 230000011218 segmentation Effects 0.000 claims description 87
- 238000000605 extraction Methods 0.000 claims description 35
- 239000012634 fragment Substances 0.000 claims description 25
- 230000015654 memory Effects 0.000 claims description 25
- 239000011159 matrix material Substances 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 22
- 230000008569 process Effects 0.000 description 30
- 238000013527 convolutional neural network Methods 0.000 description 24
- 238000010586 diagram Methods 0.000 description 22
- 230000001788 irregular Effects 0.000 description 21
- 238000013528 artificial neural network Methods 0.000 description 19
- 230000007246 mechanism Effects 0.000 description 18
- 230000006870 function Effects 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 230000000306 recurrent effect Effects 0.000 description 9
- 230000009471 action Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000001419 dependent effect Effects 0.000 description 3
- 238000003062 neural network model Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000007787 long-term memory Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000011176 pooling Methods 0.000 description 2
- 230000001902 propagating effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 108010076504 Protein Sorting Signals Proteins 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000006403 short-term memory Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/60—Type of objects
- G06V20/62—Text, e.g. of license plates, overlay texts or captions on TV images
- G06V20/63—Scene text, e.g. street names
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/211—Selection of the most significant subset of features
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F18/2148—Generating training patterns; Bootstrap methods, e.g. bagging or boosting characterised by the process organisation or structure, e.g. boosting cascade
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/2163—Partitioning the feature space
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/243—Classification techniques relating to the number of classes
- G06F18/24323—Tree-organised classifiers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/56—Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/14—Image acquisition
- G06V30/148—Segmentation of character regions
- G06V30/153—Segmentation of character regions using recognition of characters or words
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/19—Recognition using electronic means
- G06V30/191—Design or setup of recognition systems or techniques; Extraction of features in feature space; Clustering techniques; Blind source separation
- G06V30/19173—Classification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
- G06F40/284—Lexical analysis, e.g. tokenisation or collocates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
Definitions
- the present disclosure relates to the field of data processing technology, and in particular to a method and device for recognizing text sequences, electronic equipment and storage media.
- the recognition of irregular text plays an important role in fields such as visual understanding and autonomous driving.
- a large number of irregular texts exist in natural scenes such as traffic signs and storefront signs. Due to factors such as viewing angle changes and lighting changes, the recognition difficulty is higher than that of regular texts, and its recognition performance needs to be improved.
- the present disclosure proposes a technical solution for text sequence recognition.
- a method for recognizing a text sequence including:
- a to-be-processed image containing a text sequence is obtained. Since the text sequence is recognized according to the recognition network, multiple single characters that constitute the text sequence can be obtained. The semantic relationship between the characters is not dependent on the multiple single characters. Characters are processed in parallel to obtain recognition results, which can improve recognition accuracy, and parallel processing can improve processing efficiency.
- the recognition of the text sequence in the image to be processed according to the recognition network to obtain a plurality of single characters constituting the text sequence includes:
- the multiple single characters constituting the text sequence in the image to be processed are recognized.
- the binary tree-based processing can achieve the effect of parallel encoding and decoding of multiple single characters, which greatly improves the recognition accuracy of single characters.
- the recognizing the plurality of single characters constituting the text sequence in the image to be processed according to the binary tree set in the recognition network includes:
- the text sequence in the image to be processed can be coded to obtain the binary tree node characteristics of the corresponding text segment in the text sequence, that is, a text sequence is converted into a node of the binary tree through coding Feature to facilitate subsequent decoding processing based on the binary tree.
- the method further includes:
- the image features of the text sequence in the image to be processed are extracted to obtain a feature map, so as to recognize the text sequence according to the feature map to obtain a plurality of single characters constituting the text sequence.
- the image features of the text sequence in the image to be processed can be extracted through the recognition network to obtain a feature map. Since the image features are processed according to the image features, subsequent semantic analysis can be performed instead of directly extracting semantics. In other words, the result of semantic analysis is more accurate, which improves the recognition accuracy.
- the extracting image features of the text sequence in the image to be processed through the recognition network to obtain a feature map includes:
- the feature map is obtained.
- feature extraction can be performed by the feature extraction module in the recognition network. Since the network is self-adapting parameter adjustment, the feature map obtained by the feature extraction is more accurate, thereby improving the recognition accuracy.
- the encoding process of the text sequence in the image to be processed according to the binary tree to obtain the binary tree node feature of the corresponding text segment in the text sequence includes:
- the attention module in the process of binary tree coding, can be encoded by segmenting the attention module in the recognition network to obtain the binary tree node characteristics of the corresponding text segment in the text sequence, that is, a text sequence is divided by the sequence of the binary tree in the attention module.
- the encoding is converted into the node characteristics of the binary tree to facilitate subsequent decoding processing based on the binary tree. Since the network is self-adapting, the coding result obtained by the sequence segmentation attention module is more accurate, thereby improving the recognition accuracy.
- the multi-channel selection of the feature map based on the binary tree included in the sequence segmentation attention module includes:
- the feature map is processed based on the sequence segmentation attention rule, and after the attention feature matrix is obtained, multi-channel selection is performed on the attention feature matrix according to the binary tree.
- the attention feature matrix in the process of segmenting the binary tree encoding in the attention module by sequence, after the attention feature matrix can be obtained, the attention feature matrix can be multi-channel selected according to the binary tree, so as to obtain multiple text segmentation. Target channel group.
- the performing text segmentation according to the multiple target channel groups to obtain the binary tree node feature of the corresponding text segment in the text sequence includes:
- the multiple attention feature maps and the convolution processing result are weighted, and the binary tree node feature of the corresponding text segment in the text sequence is obtained according to the weighting result.
- text segmentation is performed according to the multiple target channel groups to obtain multiple attention feature maps, and the multiple attention feature maps are combined with the feature maps.
- the convolution processing result obtained by the product processing is weighted, and then the binary tree node characteristics of the corresponding text segment in the text sequence can be obtained according to the weighting result, so as to facilitate subsequent decoding processing based on the binary tree.
- the decoding processing on the node characteristics of the binary tree according to the binary tree to recognize the plurality of single characters constituting the text segment includes:
- the plurality of single characters constituting the text segment are recognized.
- the binary tree-based decoding process can use a classification module for classification processing.
- the classification process may input the binary tree and the previously encoded binary tree node characteristics into the classification module in the recognition network to perform node classification, and obtain the classification result, and according to the classification result, recognize the plurality of single characters constituting the text segment.
- the decoding process based on the binary tree is also parallel, and the network is adaptively adjusted. Therefore, the decoding result obtained by the classification module is more accurate, thereby improving the recognition accuracy.
- the recognizing the multiple single characters constituting the text segment according to the classification result includes:
- the text semantics of the feature corresponding to the single character is determined to identify the semantic classification corresponding to the single character feature.
- the binary tree-based decoding process can use a classification module for classification processing.
- the classification result obtained by the classification process is a single character corresponding feature
- the semantic classification corresponding to the single character feature can be identified, because the semantic classification is not directly extracted, but the semantic classification is obtained through analysis , Thereby improving the recognition accuracy.
- a text sequence recognition device comprising:
- the acquiring unit is used to acquire a to-be-processed image containing a text sequence
- the recognition unit is configured to recognize the text sequence in the image to be processed according to the recognition network to obtain multiple single characters constituting the text sequence, and perform character parallel processing on the multiple single characters to obtain a recognition result.
- the identification unit is configured to:
- the multiple single characters constituting the text sequence in the image to be processed are recognized.
- the identification unit is configured to:
- the identification unit is configured to:
- the image features of the text sequence in the image to be processed are extracted to obtain a feature map, so as to recognize the text sequence according to the feature map to obtain a plurality of single characters constituting the text sequence.
- the identification unit is configured to:
- the feature map is obtained.
- the identification unit is configured to:
- the identification unit is configured to:
- the feature map is processed based on the sequence segmentation attention rule, and after the attention feature matrix is obtained, multi-channel selection is performed on the attention feature matrix according to the binary tree.
- the identification unit is configured to:
- the multiple attention feature maps and the convolution processing result are weighted, and the binary tree node feature of the corresponding text segment in the text sequence is obtained according to the weighting result.
- the identification unit is configured to:
- the plurality of single characters constituting the text segment are recognized.
- the identification unit is configured to:
- the text semantics of the feature corresponding to the single character is determined to identify the semantic classification corresponding to the single character feature.
- an electronic device including:
- a memory for storing processor executable instructions
- the processor is configured to execute the above-mentioned text sequence recognition method.
- a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the above-mentioned text sequence recognition method is realized.
- a computer program wherein the computer program includes computer-readable code, and when the computer-readable code runs in an electronic device, a processor in the electronic device executes To realize the above-mentioned text sequence recognition method.
- the text sequence in the to-be-processed image is recognized according to a recognition network to obtain a plurality of single characters constituting the text sequence, and the plurality of single characters are obtained.
- Parallel processing of a single character is performed to obtain the recognition result.
- a to-be-processed image containing a text sequence is obtained. Since the text sequence is recognized according to the recognition network, multiple single characters that constitute the text sequence can be obtained. The semantic relationship between the characters is not dependent on the multiple single characters. Characters are processed in parallel to obtain recognition results, which can improve recognition accuracy, and parallel processing can improve processing efficiency.
- Fig. 1 shows a flowchart of a method for recognizing a text sequence according to an embodiment of the present disclosure.
- Fig. 2 shows a flowchart of a method for recognizing a text sequence according to an embodiment of the present disclosure.
- Fig. 3 shows a schematic diagram of a convolutional neural network based on an attention mechanism according to an embodiment of the present disclosure.
- FIGS. 4a-4d show schematic diagrams of binary trees included in a convolutional neural network based on an attention mechanism according to an embodiment of the present disclosure.
- Fig. 5 shows a schematic diagram of a sequence segmentation attention module in a convolutional neural network based on an attention mechanism according to an embodiment of the present disclosure.
- Fig. 6 shows a block diagram of a processing device according to an embodiment of the present disclosure.
- FIG. 7 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
- FIG. 8 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
- regular text can be recognized, and irregular text can also be recognized.
- irregular text Take the recognition of irregular characters as an example.
- the store name or logo on the store is irregular characters
- the traffic signs are irregular characters.
- the recognition of irregular characters plays an important role in fields such as visual understanding and autonomous driving.
- Irregular text recognition technology can use an encoding-decoding framework, where the encoder and decoder parts can use recurrent neural networks.
- Recursive neural network is a serial processing network, its essence is to input once at each step, and get an output result accordingly. Regardless of whether it is for regular or irregular text, encoding and decoding using recurrent neural networks must encode and decode output character by character.
- a convolutional neural network can be used to downsample the input image, and finally a feature map with a height of 1 pixel and a width of w pixels is obtained, and then long and short-term memory (LSTM Recursive neural networks such as long term memory) encode the characters in the text sequence from left to right to obtain a feature vector, and then use the connectionist temporal classification (CTC, connectionist temporal classification) algorithm to perform the decoding operation to obtain the final Character output.
- CTC connectionist temporal classification
- the characters in the text sequence can be encoded from left to right.
- the attention module can be combined with the recurrent neural network to analyze the image features.
- the network can be a convolutional neural network structure.
- the convolutional neural network structure is basically the same as the above-mentioned method for regular text recognition, but the downsampling magnification is controlled so that the height of the final feature map is not 1. h. After that, a maximum pooling layer is used to make the height of the feature map to 1, and then the recurrent neural network is still used for encoding, and the last output of the recurrent neural network is taken as the encoding result.
- the decoder is replaced with another recursive neural network, the first recursive input is the output of the encoder, and then each recursive output will be input to the attention module to weight the feature map, thereby obtaining the text output of each step .
- the text output of each step corresponds to a character, and the last output is the end character.
- recurrent neural networks are used as encoders or decoders, and text recognition is essentially a serialized task. If recursive neural networks are used to encode or decode Because the recursive neural network can only be processed in series, the output of each recursion is often dependent on the previous output, which is easy to cause cumulative errors, resulting in low accuracy of text recognition, and serial processing is also limited to a large extent Improve the processing efficiency of text recognition. It can be seen that the serial processing characteristics of the recurrent neural network are applied to serialized text recognition tasks, but are not applicable. Especially for the recognition of irregular text, it largely depends on the decoder's encoding of contextual semantics, rather than image feature encoding. This can lead to scenes with repeated characters or text without semantics, such as license plate number recognition. The recognition accuracy is lower.
- the recognition network of the present disclosure (which may be a convolutional neural network based on the attention mechanism) is used to recognize the text sequence in the image to be processed to obtain multiple single characters that constitute the text sequence.
- the multiple single characters are processed in parallel to obtain a recognition result (for example, the above-mentioned text sequence composed of multiple single characters is included). Therefore, through the recognition network and parallel processing, the recognition accuracy and the recognition efficiency of the text sequence recognition task are improved.
- the process of recognition through the recognition network may include: encoding based on a binary tree to obtain binary tree node characteristics of text segments in the text sequence; and, in the case of decoding based on the binary tree, performing single character recognition based on the binary tree node characteristics. Encoding and decoding based on a binary tree is also a parallel processing mechanism, so that the recognition accuracy and efficiency of text sequence recognition tasks can be further improved.
- the present disclosure is based on the parallel processing of binary trees, which can decompose a serial processing task and assign it to one or more binary trees for simultaneous processing.
- the binary tree is a data structure in a tree connection mode.
- the present disclosure is not limited to encoding and decoding based on binary trees, but can also be tree-shaped network structures such as tri-trees, and other non-tree-shaped network structures, as long as the network structures that can implement parallel encoding and decoding are within the protection scope of the present disclosure.
- FIG. 1 shows a flowchart of a text sequence recognition method according to an embodiment of the present disclosure.
- the method is applied to a text sequence recognition device.
- the terminal equipment can be user equipment (UE, User Equipment), mobile equipment, cellular phones, cordless phones, personal digital assistants (PDAs, Personal Digital Assistant), handheld devices, computing devices, vehicle-mounted devices, wearable devices, and so on.
- the processing method may be implemented by a processor invoking a computer-readable instruction stored in the memory. As shown in Figure 1, the process includes:
- Step S101 Obtain a to-be-processed image containing a text sequence.
- the image to be processed containing a text sequence can be obtained by image collection of a target object (such as a store name).
- a target object such as a store name
- Irregular text sequences can be store names or logos on stores, and can also be various traffic signs and so on. Whether the text sequence is regular can be judged by the shape of the text line, for example, the single line level is regular.
- the curved lines, such as the Starbucks logo, are irregular.
- Step S102 Recognizing the text sequence in the image to be processed according to the recognition network to obtain multiple single characters constituting the text sequence, and performing character parallel processing on the multiple single characters to obtain a recognition result.
- the multiple single characters in the text sequence in the image to be processed may be recognized according to a binary tree set in the recognition network.
- the recognition network may be: a convolutional neural network based on the attention mechanism.
- the present disclosure is not limited to the specific network structure.
- a binary tree may be provided and a neural network that recognizes multiple single characters based on the binary tree is within the protection scope of the present disclosure. .
- the parallel processing of the multiple single characters is performed according to the recognition network to obtain a text sequence composed of multiple single characters.
- the text sequence is the recognition result.
- the text sequence can be cut into text fragments to recognize multiple single characters in the text fragment.
- After recognizing multiple single characters continue to apply the recognition network for character parallel processing. Because the essence of the recognition network is a neural network model based on artificial neural networks, and one of the characteristics of the neural network model is that it can realize parallel distributed processing. Therefore, Multiple single characters can be processed separately in parallel based on the neural network model to obtain a text sequence composed of multiple single characters.
- the recognition process may include: 1) encoding based on a binary tree to obtain binary tree node characteristics of text segments in a text sequence; and 2) in the case of decoding based on a binary tree, performing single character recognition based on the binary tree node characteristics.
- the feature map can be obtained through the feature extraction module, and then the feature map is input into the attention mechanism-based sequence segmentation attention module for encoding to generate the features of the corresponding node of the binary segmentation tree, that is, the feature of the binary tree node of the above text fragment , And then output the binary tree node characteristics of the text segment to the classification module for decoding.
- the classification can be performed twice in the decoding process to recognize the meaning of a single character in the text segment.
- a recursive neural network is used for serial processing.
- characters are encoded from left to right, and the encoding depends on the semantic relationship between the characters.
- the text sequence is obtained.
- a recognition network such as a convolutional neural network based on the attention mechanism
- the semantic relationship between characters can be processed in parallel after multiple single characters are obtained, thereby improving the recognition accuracy and processing efficiency of the character recognition task.
- Fig. 2 shows a flowchart of a text sequence recognition method according to an embodiment of the present disclosure. As shown in Fig. 2, the process includes:
- Step S201 Perform image acquisition on the target object to obtain a to-be-processed image containing a text sequence.
- the target image can be collected by a collection device including a collection processor (such as a camera) to obtain a to-be-processed image containing a text sequence, such as an irregular text sequence.
- a collection processor such as a camera
- Step S202 Extract the image features of the text sequence in the image to be processed through the recognition network to obtain a feature map.
- the image feature of the text sequence in the image to be processed is extracted through the recognition network (such as a convolutional neural network based on the attention mechanism) to obtain an image convolution feature map.
- the recognition network such as a convolutional neural network based on the attention mechanism
- recursive neural networks can only be used for serial processing. For example, for irregular text, characters are encoded from left to right. In this way, image features cannot be extracted well, and the extraction is usually Context semantics, while the image convolution feature map is extracted by the recognition network of the present disclosure. Compared with the context semantics, it contains more feature information, which is helpful for subsequent recognition processing.
- the attention mechanism of the convolutional neural network based on the attention mechanism may be a sequence segmentation attention rule.
- the attention mechanism is widely used in at least one of different types of deep learning tasks such as natural language processing, image recognition, and speech recognition. Its purpose is to select information that is more critical to the current task goal from a large number of information. Improve the accuracy and processing efficiency of screening high-value information from a large amount of information.
- it is similar to the human attention mechanism. For example, humans obtain the area that needs to be focused on by quickly scanning the text, that is, the focus of attention, and then invest more attention resources in this area to obtain more attention. Need to pay attention to the detailed information of the target, so as to suppress other useless information, and achieve the purpose of filtering out high-value information.
- the sequence segmentation attention rule is used to characterize the position of a single character in the text sequence. Since this rule can characterize the position of a single character in the text sequence, and the purpose of binary tree encoding is to not rely on the semantics between characters, it is to split the text sequence into text fragments, and then identify multiple single characters in the text fragment. Characters, and in order to correspond to the binary tree encoding and subsequent decoding, the text segment is described by the binary tree node characteristics of the text segment in the text sequence through this encoding. Therefore, the rule is followed and the width of the binary tree is traversed first according to the rule, thus , Parallel coding is realized under the condition that the coding does not depend on the semantics between characters, which improves the recognition accuracy and processing efficiency.
- the attention rule and the binary tree can be segmented by the sequence, and these sequences can be converted into an intermediate description (for example, the description of the node characteristics of the binary tree of the text fragment ), and then get the final recognition result based on the information provided by the description of the middle layer.
- searching and traversing along the width of the binary tree from the root node traversing at least one node of the tree in depth, so as to search for at least one branch of the binary tree. For example, starting from a node of the binary tree (which may be a root node or a leaf node), check other nodes connected to this node to obtain the at least one visit branch.
- a node of the binary tree which may be a root node or a leaf node
- the attention mechanism-based convolutional neural network includes at least: a feature extraction module for extracting feature maps (which can be implemented by a graph convolutional neural network), and a sequence segmentation attention rule implemented in combination with a binary tree The sequence segmentation attention module.
- the text sequence in the image to be processed may be input into a feature extraction module for feature extraction to obtain a feature map, and the feature extraction module is a backbone module of the front end of the recognition network.
- the feature map can be input to the sequence segmentation attention module containing the binary tree, and the sequence segmentation attention module is used to encode the input feature map to generate the feature corresponding to each node of the binary segmentation tree, that is, the text sequence
- the binary tree node feature of the Chinese text segment is the character position discrimination module of the convolutional neural network based on the sequence segmentation attention rule.
- the sequence segmentation attention module can also be connected to the classification module, so that the binary tree node characteristics of the text fragments in the text sequence are input into the classification module for decoding processing.
- FIG. 3 shows a schematic diagram of a convolutional neural network based on an attention mechanism according to an embodiment of the present disclosure, including: a feature extraction module 11, a sequence segmentation attention module 12, and a classification module 13.
- the sequence segmentation attention module 12 contains a preset binary tree (also called a binary segmentation tree or a binary selection tree).
- the feature extraction module 11 can generate corresponding feature maps (such as image convolution feature maps) according to the input image. ).
- the feature map output by the feature extraction module can be used as input, and the binary tree contained in the sequence segmentation attention module can be coded, and feature extraction is performed on text fragments at different positions of the text sequence to generate each binary tree node Corresponding features, such as the feature of the binary tree node of the corresponding text segment in the text sequence.
- the output result 121 of the sequence segmentation attention module can be classified by the classification module 13 to obtain the final recognition result, that is, after the classification processing, the text sequence composed of text fragments is recognized and used as the recognition result.
- the feature extraction module may be a convolutional neural network (CNN, convolutional neural network) or a graph convolutional network (GCN, graph convolutional network).
- the sequence segmentation attention module can be a sequence segmentation attention network (SPA2Net, sequence partition-aware attention network)
- each node of the binary tree is a vector with the same dimension as the number of channels of the image convolution feature map
- each node of the image convolution feature map is processed through the binary tree.
- the attention position of the currently focused character sequence part can be obtained from the selected channel group.
- the node channel value of the binary tree corresponding to the selected channel is 1, and the others are 0.
- you can change "Continuous segment 1" means a group of channels.
- Each node of the binary tree is a vector, and 1 and 0 can represent the node characteristics of the binary tree.
- the attention position of the character sequence part of the current attention is described by encoding based on the node characteristics. It is also possible to perform the process of selecting each channel after obtaining the attention matrix according to the image convolution feature map. After performing the process of selecting each channel, the different attention feature maps thus obtained and the image convolution feature maps are weighted, and the weighted sum can be based on a neural network fully connected layer (Full Connected layer, FC layer) (FC layer in Figure 3) twice classification. Among them, according to the first classification, it can be judged whether the character sequence position contains only one text. If not, perform the next text segmentation encoding process based on binary trees. If yes, perform the second classification, and perform the second classification according to the second classification. Single-character categories are classified to learn their semantic characteristics, so that the meaning of a single character can be identified based on the semantic characteristics.
- FC layer Fully connected layer
- each node of the binary tree set in the sequence segmentation attention module can be calculated in parallel, and the prediction of each character does not depend on the prediction of the characters before and after it, the leaf nodes of the binary tree are encoded to obtain multiple single After the characters, follow the above sequence segmentation attention rules based on the sequence segmentation attention module to carry out the width-first traversal of the binary tree, and then you can get at least one character output, so that parallel coding can be realized without the semantics of the characters. , Improve the recognition accuracy and processing efficiency.
- 4a-4d show schematic diagrams of binary trees included in a convolutional neural network based on an attention mechanism according to an embodiment of the present disclosure.
- the encoding formats used in Figures 4a to 4d respectively encode character strings of different lengths according to different binary trees, and the text segment can be encoded via the binary tree shown in Figure 4a, and the text segment contains a single character "a”; and
- the text segment is encoded via the binary tree shown in Figure 4b, the text segment is “ab” and contains multiple single characters “a” and “b”; and the text segment is encoded via the binary tree shown in Figure 4c, the text segment Is “abc”, which contains multiple single characters "a", "b”, and “c”; and the text segment is encoded via the binary tree shown in Figure 4d.
- the text segment is “abcd” and contains multiple single characters " a", "b", "c” and "d”.
- At least one binary tree is calculated in parallel for each node. In a specific application, a width-first traversal can be added as above to obtain at least one access branch.
- Step S203 Perform encoding processing on the text sequence in the image to be processed according to the binary tree set in the recognition network to obtain the binary tree node feature of the corresponding text segment in the text sequence.
- the text sequence in the image to be processed may be subjected to encoding processing for text segmentation of the text sequence according to the binary tree set in the recognition network, which may be referred to as the encoding processing of text segmentation.
- Step S204 decode the node characteristics of the binary tree corresponding to the text segment in the text sequence, and recognize multiple single characters in the text segment.
- the process of decoding the node features of the binary tree according to the binary tree can be realized by a classification module.
- the present disclosure is not limited to the realization of decoding processing and a specific module structure through classification processing, and a processing module that can realize decoding based on the binary tree All are within the protection scope of the present disclosure.
- the first classification of the classification module is used to determine whether the corresponding text segment in the text sequence contains only a single character. If it only contains a single character, the second classification is performed; if it does not contain only a single character, the next text segmentation is performed Encoding processing. For the second classification, the semantic feature of a single character is recognized. Finally, the multiple single characters in the text segment are all recognized.
- the text sequence in the image to be processed can be recognized according to the recognition network to obtain multiple single characters that constitute the text sequence.
- Step S205 Perform character parallel processing on the multiple single characters according to the recognition network to obtain a recognition result.
- the multiple single characters are processed in parallel according to the recognition network (such as a convolutional neural network based on the attention mechanism) to obtain a text sequence composed of multiple single characters.
- the text sequence is the recognition result.
- the text sequence in the image to be processed can be encoded and correspondingly decoded according to the binary tree set in the recognition network.
- the recognition network can perform parallel processing based on the sequence segmentation attention rule, that is, the present disclosure is based on
- the encoding and decoding processes performed by the recognition network including the binary tree are also parallel, and through the binary tree in the recognition network, a fixed proportion of channels can be used to encode text line positions of the same proportion of length.
- the dichotomy is to compare a text sequence with a number in the middle of the text sequence at a "fixed ratio of 1/2" each time to determine how the text sequence is Divide into two text fragments, and continue to compare the divided text fragments at a "fixed ratio of 1/2" to obtain the comparison result until there is only one single character left, and the segmentation process ends.
- the structure of the binary tree includes: the root node, the leaf nodes under the root node, and the child nodes of the leaf node under the leaf node, and the channel connecting at least one node is called the node channel Therefore, from the perspective of binary tree coding, it can be understood as: divide the text sequence with "1/2 fixed-proportion channel” each time and determine how to remove half of the text fragment each time as the node feature of the next node corresponding to the text fragment. And continue to compare the text fragments obtained by the "1/2 fixed ratio channel” to obtain the comparison result until there is only one single character left, and the segmentation process ends.
- the root node of a binary tree is used to represent the entire text sequence "abcdf", and the root node encodes 5 characters.
- the left and right children after the root node correspond to the first half of the text fragment "abc" of the text sequence "abcdf" represented by the root node. "And the latter half of the text fragment "df”.
- the encoding process of the segmentation is based on the "1/2 fixed-proportion channel" for segmentation, but for the characters in which specific text line position in the text sequence, the same ratio length is used for encoding
- Fig. 5 shows a schematic diagram of a sequence segmentation attention module in a convolutional neural network based on an attention mechanism according to an embodiment of the present disclosure.
- a feature extraction module such as CNN or GCN
- a corresponding feature map such as an image convolution feature map
- X in Figure 5 is the feature map.
- the sequence segmentation attention module (such as SPA2Net) takes the feature map output by the feature extraction module as input, encodes the binary tree contained in the sequence segmentation attention module, and performs feature extraction on text fragments at different positions in the text sequence to generate each binary tree
- the feature corresponding to the node such as the binary tree node feature of the corresponding text fragment in the text sequence, can be specifically obtained from a text fragment to obtain a binary tree, or from a text sequence to obtain a binary tree, and then a binary tree node is a text fragment.
- the a module and the b module in the sequence segmentation attention module can be a convolutional neural network, for example, a CNN containing two convolutional layers, which can be used to predict attention and change the feature map respectively.
- the a module is used to obtain the output of the attention after obtaining the feature map X.
- Activation function such as Sigmoid's nonlinear operation to obtain the attention matrix x a
- the b module is used to continue to extract features to update the feature map
- x a is the attention matrix output by the a module
- x a will be used by the c module ( For example, a module containing a binary tree) is used for multi-channel selection.
- the c module is used to multiply x a channel by channel to obtain the attention feature map d of each channel.
- the selected different attention feature maps d will be It is used to weight and sum the output of the b module to extract the feature e of each part, and use the feature e as the output result 121 obtained by the sequence segmentation attention module and provide it to the classification module for classification processing.
- the feature e is used to characterize the feature of a certain text segment in the entire sequence of text, which can be called the feature corresponding to each binary tree node, such as the feature of the binary tree node of the corresponding text segment in the text sequence.
- the feature In the process of classification processing through the classification module, the feature will first be classified whether it is a feature for single character recognition, if it is, it will be directly classified into the category of the word to know its semantic feature, and then recognize it based on the semantic feature The meaning of a single character.
- the processing of the above sequence segmentation attention module is mainly realized by the following formula (1)-formula (3), where formula (1) is used to calculate the attention matrix x a output by module a; formula (2) is used to calculate the attention
- the matrix x a is the different attention feature maps d selected after multi-channel selection by the c module (such as the module containing the binary tree); the formula (3) is used to calculate the different attention feature maps d to perform the output of the b module
- the weighted sum is used to extract the feature e of each part, and use the feature e as the output result 121 obtained by the sequence segmentation attention module.
- X is the convolution feature map of the input image obtained by the feature extraction module
- w a1 and w a2 are the convolution kernels of the convolution operation
- * is the convolution operator
- T(X) In order to calculate the output feature of the feature map X through the relative position self-attention module, ⁇ is the operation using an activation function such as the Sigmoid function, and finally the attention matrix x a output by the a module is obtained.
- x a is the attention matrix output by module a;
- ⁇ is the channel-by-channel multiplication operator, and
- X is the feature map obtained by the feature extraction module of the input image
- W f1 and W f2 are the convolution kernels of the convolution operation respectively
- H and W are the height information and width of the attention feature map d, respectively Information
- d is the different attention feature maps selected after multi-channel selection
- e is the feature vector obtained by weighting the different attention maps d and the convolution feature map (the output of module b);
- the i in (3) is the traversal parameter used for breadth-first traversal based on the binary tree.
- d i D may be, d i to a feature specific to traverse the binary tree of FIG positions corresponding to node i
- e i e may be, especially i e i obtained according to D Feature vector.
- the encoding process of performing text segmentation on the text sequence in the image to be processed according to the binary tree to obtain the binary tree node feature of the corresponding text segment in the text sequence includes: inputting the feature map to include all The sequence segmentation attention module of the binary tree, the sequence segmentation attention module is the character position discrimination module of the recognition network; multi-channel (such as each channel) selection is performed on the feature map according to the binary tree to obtain multiple Target channel group; encoding of text segmentation according to the multiple target channel groups to obtain the binary tree node feature of the corresponding text segment in the text sequence.
- the multi-channel selection of the feature map according to the binary tree includes: processing the feature map based on the sequence segmentation attention rule to obtain an attention feature matrix (as shown in Figure 5). After x a ), multi-channel selection is performed on the attention feature matrix according to the binary tree. For example, the attention matrix is obtained after prediction by the sequence segmentation attention rule, and then the attention matrix is provided to the binary tree for multi-channel selection, and finally multiple different attention feature maps are output (d in Figure 5).
- performing text segmentation according to the multiple target channel groups to obtain binary tree node features of corresponding text fragments in the text sequence includes: performing multi-channel selection on the feature map according to the binary tree.
- the target channel group is encoded for text segmentation to obtain multiple attention feature maps (as shown in d in Figure 5); convolution processing is performed on the feature maps that are initially input to the recognition network, and the convolution processing result is obtained (as shown in Figure 5).
- the decoding part of the present disclosure is relatively simple in terms of encoding.
- Two classifiers (such as a node classifier and a character classifier) can be included in the classification module to perform two classifications, and the node classifier is used to perform the first classification.
- the binary tree node features are classified, and the output of the node classifier is obtained, and the output result (single character) is input into the character classifier for the second classification, which is to classify the text semantics corresponding to the single character.
- performing decoding processing on the feature of the binary tree node according to the binary tree to recognize the plurality of single characters in the text segment includes: inputting the feature of the binary tree and the node of the binary tree The classification module classifies nodes to obtain a classification result; according to the classification result, recognizes the multiple single characters in the text segment.
- recognizing the plurality of single characters in the text segment includes: in the case that the classification result is a feature corresponding to a single character, explaining the text segment corresponding to the feature of the binary tree node If a single character is contained in the single character, the text semantics corresponding to the single character is determined (to know the meaning corresponding to the single character), so as to identify the semantic classification corresponding to the single character.
- the writing order of the steps does not mean a strict execution order but constitutes any limitation on the implementation process.
- the specific execution order of each step should be based on its function and possibility.
- the inner logic is determined.
- the present disclosure also provides text sequence recognition devices, electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any text sequence recognition method provided in the present disclosure.
- text sequence recognition devices electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any text sequence recognition method provided in the present disclosure.
- the corresponding technical solutions and descriptions and refer to methods Part of the corresponding records will not be repeated here.
- Fig. 6 shows a block diagram of a text sequence recognition device according to an embodiment of the present disclosure.
- the device includes: an acquisition unit 31 for acquiring a to-be-processed image containing a text sequence; and a recognition unit 32 for Recognizing the text sequence in the image to be processed according to the recognition network to obtain a plurality of single characters constituting the text sequence, and performing character parallel processing on the multiple single characters to obtain a recognition result.
- the recognition unit is configured to: according to a binary tree set in the recognition network, recognize the multiple single characters that constitute the text sequence in the image to be processed.
- the recognition unit is configured to: encode the text sequence in the image to be processed according to the binary tree to obtain the binary tree node characteristics of the corresponding text segment in the text sequence; The binary tree node features are decoded, and the multiple single characters constituting the text segment are recognized.
- the recognition unit is configured to: extract image features of the text sequence in the image to be processed through the recognition network to obtain a feature map, so as to recognize the text sequence according to the feature map, Obtain a plurality of single characters constituting the text sequence.
- the recognition unit is configured to: input the text sequence in the image to be processed into a feature extraction module; obtain the feature map after feature extraction by the feature extraction module.
- the recognition unit is configured to: input the feature map into a sequence segmentation attention module based on sequence segmentation attention rules; segment the attention module according to the sequence of the binary tree included in the feature
- the graph performs multi-channel selection to obtain multiple target channel groups; performs text segmentation according to the multiple target channel groups to obtain the binary tree node characteristics of the corresponding text fragments in the text sequence.
- the recognition unit is configured to: process the feature map based on the sequence segmentation attention rule, and after obtaining the attention feature matrix, multiply the attention feature matrix according to the binary tree. Channel selection.
- the recognition unit is configured to: perform text segmentation according to the multiple target channel groups to obtain multiple attention feature maps; perform convolution processing on the feature maps to obtain a convolution processing result;
- the multiple attention feature maps and the convolution processing result are weighted, and the binary tree node feature of the corresponding text segment in the text sequence is obtained according to the weighting result.
- the recognition unit is configured to: input the binary tree and the node characteristics of the binary tree into a classification module to perform node classification, and obtain a classification result; according to the classification result, identify all components that constitute the text segment Describe multiple single characters.
- the recognition unit is configured to: when the classification result is a feature corresponding to a single character, determine the text semantics of the feature corresponding to the single character to identify the semantic classification corresponding to the feature of the single character .
- the functions or modules contained in the device provided in the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments.
- the functions or modules contained in the device provided in the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments.
- the embodiments of the present disclosure also provide a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above-mentioned method when executed by a processor.
- the computer-readable storage medium may be a volatile computer-readable storage medium or a non-volatile computer-readable storage medium.
- the embodiments of the present disclosure also provide a computer program product, which includes computer-readable code.
- the processor in the device executes the recognition of the text sequence provided by any of the above embodiments. instruction.
- the embodiments of the present disclosure also provide another computer program product for storing computer-readable instructions, which when executed, cause the computer to perform the operations of the text sequence recognition method provided by any of the foregoing embodiments.
- the computer program product can be specifically implemented by hardware, software, or a combination thereof.
- the computer program product is specifically embodied as a computer storage medium.
- the computer program product is specifically embodied as a software product, such as a software development kit (SDK, Software Development Kit), etc. Wait.
- SDK software development kit
- Software Development Kit Software Development Kit
- An embodiment of the present disclosure also provides an electronic device, including: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured as the above method.
- the electronic device can be provided as a terminal, server or other form of device.
- Fig. 7 is a block diagram showing an electronic device 800 according to an exemplary embodiment.
- the electronic device 800 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and other terminals.
- the electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, and a sensor component 814 , And communication component 816.
- the processing component 802 generally controls the overall operations of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
- the processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the foregoing method.
- the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components.
- the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
- the memory 804 is configured to store various types of data to support operations in the electronic device 800. Examples of these data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc.
- the memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable and Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
- SRAM static random access memory
- EEPROM electrically erasable programmable read-only memory
- EPROM erasable and Programmable read only memory
- PROM programmable read only memory
- ROM read only memory
- magnetic memory flash memory
- flash memory magnetic disk or optical disk.
- the power supply component 806 provides power for various components of the electronic device 800.
- the power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
- the multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user.
- the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
- the touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure related to the touch or slide operation.
- the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
- the audio component 810 is configured to output and/or input audio signals.
- the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal.
- the received audio signal may be further stored in the memory 804 or transmitted via the communication component 816.
- the audio component 810 further includes a speaker for outputting audio signals.
- the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module.
- the peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: home button, volume button, start button, and lock button.
- the sensor component 814 includes one or more sensors for providing the electronic device 800 with various aspects of state evaluation.
- the sensor component 814 can detect the on/off status of the electronic device 800 and the relative positioning of the components.
- the component is the display and the keypad of the electronic device 800.
- the sensor component 814 can also detect the electronic device 800 or the electronic device 800.
- the position of the component changes, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration/deceleration of the electronic device 800, and the temperature change of the electronic device 800.
- the sensor component 814 may include a proximity sensor configured to detect the presence of nearby objects when there is no physical contact.
- the sensor component 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- the communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices.
- the electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof.
- the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel.
- the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication.
- the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field-available A programmable gate array (FPGA), controller, microcontroller, microprocessor, or other electronic components are implemented to implement the above methods.
- ASIC application-specific integrated circuits
- DSP digital signal processors
- DSPD digital signal processing devices
- PLD programmable logic devices
- FPGA field-available A programmable gate array
- controller microcontroller, microprocessor, or other electronic components are implemented to implement the above methods.
- a computer-readable storage medium is also provided, such as the memory 804 including computer program instructions, which can be executed by the processor 820 of the electronic device 800 to complete the foregoing method.
- Fig. 8 is a block diagram showing an electronic device 900 according to an exemplary embodiment.
- the electronic device 900 may be provided as a server.
- the electronic device 900 includes a processing component 922, which further includes one or more processors, and a memory resource represented by a memory 932, for storing instructions that can be executed by the processing component 922, such as an application program.
- the application program stored in the memory 932 may include one or more modules each corresponding to a set of instructions.
- the processing component 922 is configured to execute instructions to perform the above-mentioned methods.
- the electronic device 900 may also include a power supply component 926 configured to perform power management of the electronic device 900, a wired or wireless network interface 950 configured to connect the electronic device 900 to a network, and an input output (I/O) interface 958 .
- the electronic device 900 can operate based on an operating system stored in the memory 932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
- a computer-readable storage medium such as a memory 932 including computer program instructions, which can be executed by the processing component 922 of the electronic device 900 to complete the foregoing method.
- the present disclosure may be a system, method and/or computer program product.
- the computer program product may include a computer-readable storage medium loaded with computer-readable program instructions for enabling a processor to implement various aspects of the present disclosure.
- the computer-readable storage medium may be a tangible device that can hold and store instructions used by the instruction execution device.
- the computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
- Non-exhaustive list of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a printer with instructions stored thereon
- RAM random access memory
- ROM read-only memory
- EPROM erasable programmable read-only memory
- flash memory flash memory
- SRAM static random access memory
- CD-ROM compact disk read-only memory
- DVD digital versatile disk
- memory stick floppy disk
- mechanical encoding device such as a printer with instructions stored thereon
- the computer-readable storage medium used here is not interpreted as the instantaneous signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, light pulses through fiber optic cables), or through wires Transmission of electrical signals.
- the computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
- the network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
- the network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device .
- the computer program instructions used to perform the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or in one or more programming languages.
- Source code or object code written in any combination, the programming language includes object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages.
- Computer-readable program instructions can be executed entirely on the user's computer, partly on the user's computer, executed as a stand-alone software package, partly on the user's computer and partly executed on a remote computer, or entirely on the remote computer or server carried out.
- the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect to the user's computer) connection).
- LAN local area network
- WAN wide area network
- an electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by using the status information of the computer-readable program instructions.
- FPGA field programmable gate array
- PDA programmable logic array
- the computer-readable program instructions are executed to realize various aspects of the present disclosure.
- These computer-readable program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine that makes these instructions when executed by the processor of the computer or other programmable data processing device , A device that implements the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams is produced. It is also possible to store these computer-readable program instructions in a computer-readable storage medium. These instructions make computers, programmable data processing apparatuses, and/or other devices work in a specific manner. Thus, the computer-readable medium storing the instructions includes An article of manufacture, which includes instructions for implementing various aspects of the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
- each block in the flowchart or block diagram may represent a module, program segment, or part of an instruction, and the module, program segment, or part of an instruction contains one or more components for realizing the specified logical function.
- Executable instructions may also occur in a different order than the order marked in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
- each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or actions Or it can be realized by a combination of dedicated hardware and computer instructions.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Character Discrimination (AREA)
- Image Analysis (AREA)
- Character Input (AREA)
Abstract
Description
Claims (23)
- 一种文本序列的识别方法,其中,所述方法包括:获取包含文本序列的待处理图像;根据识别网络对所述待处理图像中的文本序列进行识别,得到构成所述文本序列的多个单字符,对所述多个单字符进行字符并行处理,得到识别结果。
- 根据权利要求1所述的方法,其中,所述根据识别网络对所述待处理图像中的文本序列进行识别,得到构成所述文本序列的多个单字符,包括:根据所述识别网络中设置的二叉树,识别出所述待处理图像中构成所述文本序列的所述多个单字符。
- 根据权利要求2所述的方法,其中,所述根据所述识别网络中设置的二叉树,识别出所述待处理图像中构成所述文本序列的所述多个单字符,包括:根据所述二叉树对所述待处理图像中的文本序列进行编码处理,得到文本序列中对应文本片段的二叉树节点特征;根据所述二叉树对所述二叉树节点特征进行解码处理,识别出构成所述文本片段的所述多个单字符。
- 根据权利要求1-3任一项所述的方法,其中,所述获取包含文本序列的待处理图像之后,所述方法还包括:通过所述识别网络,提取所述待处理图像中的文本序列的图像特征,得到特征图,以根据所述特征图识别所述文本序列,得到构成所述文本序列的多个单字符。
- 根据权利要求4所述的方法,其中,所述通过所述识别网络,提取所述待处理图像中的文本序列的图像特征,得到特征图,包括:将所述待处理图像中的文本序列输入特征提取模块;经所述特征提取模块的特征提取,得到所述特征图。
- 根据权利要求4或5所述的方法,其中,所述根据所述二叉树对所述待处理图像中的文本序列进行编码处理,得到文本序列中对应文本片段的二叉树节点特征,包括:将所述特征图输入基于序列分割注意力规则的序列分割注意力模块;根据所述序列分割注意力模块包含的所述二叉树对所述特征图进行多通道选择,得到多个目标通道组;根据所述多个目标通道组进行文本分割,得到文本序列中对应文本片段的二叉树节点特征。
- 根据权利要求6所述的方法,其中,所述根据所述序列分割注意力模块包含的所述二叉树对所述特征图进行多通道选择,包括:对所述特征图基于所述序列分割注意力规则进行处理,得到注意力特征矩阵后,根据所述二叉树对所述注意力特征矩阵进行多通道选择。
- 根据权利要求6或7所述的方法,其中,所述根据所述多个目标通道组进行文本分割,得到文本序列中对应文本片段的二叉树节点特征,包括:根据所述多个目标通道组进行文本分割,得到多个注意力特征图;对所述特征图进行卷积处理,得到卷积处理结果;将所述多个注意力特征图与所述卷积处理结果进行加权,根据加权结果得到文本序列中对应文本片段的二叉树节点特征。
- 根据权利要求4-8任一项所述的方法,其中,所述根据所述二叉树对所述二叉树节点特征进行解码处理,识别出构成所述文本片段的所述多个单字符,包括:将所述二叉树和所述二叉树节点特征输入分类模块进行节点分类,得到分类结果;根据所述分类结果,识别出构成所述文本片段的所述多个单字符。
- 根据权利要求9所述的方法,其中,所述根据所述分类结果,识别出构成所述文本片段的所述多个单字符,包括:所述分类结果为单字符对应特征的情况下,判断所述单字符对应特征的文本语义,以识别出所述单字符特征对应的语义分类。
- 一种文本序列的识别装置,其中,所述装置包括:获取单元,用于获取包含文本序列的待处理图像;识别单元,用于根据识别网络对所述待处理图像中的文本序列进行识别,得到构成所述文本序列的多个单字符,对所述多个单字符进行字符并行处理,得到识别结果。
- 根据权利要求11所述的装置,其中,所述识别单元,用于:根据所述识别网络中设置的二叉树,识别出所述待处理图像中构成所述文本序列的所述多个单字符。
- 根据权利要求12所述的装置,其中,所述识别单元,用于:根据所述二叉树对所述待处理图像中的文本序列进行编码处理,得到文本序列中对应文本片段的二叉树节点特征;根据所述二叉树对所述二叉树节点特征进行解码处理,识别出构成所述文本片段的所述多个单字符。
- 根据权利要求11-13任一项所述的装置,其中,所述识别单元,用于:通过所述识别网络,提取所述待处理图像中的文本序列的图像特征,得到特征图,以根据所述特征图识别所述文本序列,得到构成所述文本序列的多个单字符。
- 根据权利要求14所述的装置,其中,所述识别单元,用于:将所述待处理图像中的文本序列输入特征提取模块;经所述特征提取模块的特征提取,得到所述特征图。
- 根据权利要求14或15所述的装置,其中,所述识别单元,用于:将所述特征图输入基于序列分割注意力规则的序列分割注意力模块;根据所述序列分割注意力模块包含的所述二叉树对所述特征图进行多通道选择,得到多个目标通道组;根据所述多个目标通道组进行文本分割,得到文本序列中对应文本片段的二叉树节点特征。
- 根据权利要求16所述的装置,其中,所述识别单元,用于:对所述特征图基于所述序列分割注意力规则进行处理,得到注意力特征矩阵后,根据所述二叉树对所述注意力特征矩阵进行多通道选择。
- 根据权利要求16或17所述的装置,其中,所述识别单元,用于:根据所述多个目标通道组进行文本分割,得到多个注意力特征图;对所述特征图进行卷积处理,得到卷积处理结果;将所述多个注意力特征图与所述卷积处理结果进行加权,根据加权结果得到文本序列中对应文本片段的二叉树节点特征。
- 根据权利要求14-18任一项所述的装置,其中,所述识别单元,用于:将所述二叉树和所述二叉树节点特征输入分类模块进行节点分类,得到分类结果;根据所述分类结果,识别出构成所述文本片段的所述多个单字符。
- 根据权利要求19所述的装置,其中,所述识别单元,用于:所述分类结果为单字符对应特征的情况下,判断所述单字符对应特征的文本语义,以识别出所述单字符特征对应的语义分类。
- 一种电子设备,其中,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:执行权利要求1至权利要求10中任意一项所述的方法。
- 一种计算机可读存储介质,其上存储有计算机程序指令,其中,所述计算机程序指令被处理 器执行时实现权利要求1至权利要求10中任意一项所述的方法。
- [根据细则26改正05.11.2019]
一种计算机程序,其中,所述计算机程序包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行用于实现权利要求1至权利要求10中任意一项所述的方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021518910A JP7123255B2 (ja) | 2019-09-27 | 2019-10-15 | テキストシーケンス認識方法及びその装置、電子機器並びに記憶媒体 |
SG11202105174XA SG11202105174XA (en) | 2019-09-27 | 2019-10-15 | Text sequence recognition method and apparatus, electronic device, and storage medium |
KR1020217010064A KR20210054563A (ko) | 2019-09-27 | 2019-10-15 | 텍스트 시퀀스 인식 방법 및 장치, 전자 기기 및 저장 매체 |
US17/232,278 US20210232847A1 (en) | 2019-09-27 | 2021-04-16 | Method and apparatus for recognizing text sequence, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910927338.4 | 2019-09-27 | ||
CN201910927338.4A CN110659640B (zh) | 2019-09-27 | 2019-09-27 | 文本序列的识别方法及装置、电子设备和存储介质 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/232,278 Continuation US20210232847A1 (en) | 2019-09-27 | 2021-04-16 | Method and apparatus for recognizing text sequence, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021056621A1 true WO2021056621A1 (zh) | 2021-04-01 |
Family
ID=69039586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/111170 WO2021056621A1 (zh) | 2019-09-27 | 2019-10-15 | 文本序列的识别方法及装置、电子设备和存储介质 |
Country Status (7)
Country | Link |
---|---|
US (1) | US20210232847A1 (zh) |
JP (1) | JP7123255B2 (zh) |
KR (1) | KR20210054563A (zh) |
CN (1) | CN110659640B (zh) |
SG (1) | SG11202105174XA (zh) |
TW (1) | TWI732338B (zh) |
WO (1) | WO2021056621A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113569839A (zh) * | 2021-08-31 | 2021-10-29 | 重庆紫光华山智安科技有限公司 | 证件识别方法、系统、设备及介质 |
CN115497106A (zh) * | 2022-11-14 | 2022-12-20 | 合肥中科类脑智能技术有限公司 | 基于数据增强和多任务模型的电池激光喷码识别方法 |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11494616B2 (en) * | 2019-05-09 | 2022-11-08 | Shenzhen Malong Technologies Co., Ltd. | Decoupling category-wise independence and relevance with self-attention for multi-label image classification |
US11763433B2 (en) * | 2019-11-14 | 2023-09-19 | Samsung Electronics Co., Ltd. | Depth image generation method and device |
CN111539410B (zh) * | 2020-04-16 | 2022-09-06 | 深圳市商汤科技有限公司 | 字符识别方法及装置、电子设备和存储介质 |
CN111626293A (zh) * | 2020-05-21 | 2020-09-04 | 咪咕文化科技有限公司 | 图像文本识别方法、装置、电子设备及存储介质 |
CN111814796A (zh) * | 2020-06-29 | 2020-10-23 | 北京市商汤科技开发有限公司 | 字符序列识别方法及装置、电子设备和存储介质 |
CN111860506B (zh) * | 2020-07-24 | 2024-03-29 | 北京百度网讯科技有限公司 | 识别文字的方法和装置 |
CN112132150B (zh) * | 2020-09-15 | 2024-05-28 | 上海高德威智能交通系统有限公司 | 文本串识别方法、装置及电子设备 |
CN112560862B (zh) | 2020-12-17 | 2024-02-13 | 北京百度网讯科技有限公司 | 文本识别方法、装置及电子设备 |
CN112837204A (zh) * | 2021-02-26 | 2021-05-25 | 北京小米移动软件有限公司 | 序列处理方法、序列处理装置及存储介质 |
CN113313127B (zh) * | 2021-05-18 | 2023-02-14 | 华南理工大学 | 文本图像识别方法、装置、计算机设备和存储介质 |
CN113343981A (zh) * | 2021-06-16 | 2021-09-03 | 北京百度网讯科技有限公司 | 一种视觉特征增强的字符识别方法、装置和设备 |
CN113504891B (zh) * | 2021-07-16 | 2022-09-02 | 爱驰汽车有限公司 | 一种音量调节方法、装置、设备以及存储介质 |
CN113723094B (zh) * | 2021-09-03 | 2022-12-27 | 北京有竹居网络技术有限公司 | 文本处理方法、模型训练方法、设备及存储介质 |
AU2021290429A1 (en) * | 2021-12-20 | 2022-02-10 | Sensetime International Pte. Ltd. | Sequence recognition method and apparatus, electronic device, and storage medium |
CN114207673A (zh) * | 2021-12-20 | 2022-03-18 | 商汤国际私人有限公司 | 序列识别方法及装置、电子设备和存储介质 |
CN115546810B (zh) * | 2022-11-29 | 2023-04-11 | 支付宝(杭州)信息技术有限公司 | 图像元素类别的识别方法及装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10032072B1 (en) * | 2016-06-21 | 2018-07-24 | A9.Com, Inc. | Text recognition and localization with deep learning |
CN109615006A (zh) * | 2018-12-10 | 2019-04-12 | 北京市商汤科技开发有限公司 | 文字识别方法及装置、电子设备和存储介质 |
US10262235B1 (en) * | 2018-02-26 | 2019-04-16 | Capital One Services, Llc | Dual stage neural network pipeline systems and methods |
CN109871843A (zh) * | 2017-12-01 | 2019-06-11 | 北京搜狗科技发展有限公司 | 字符识别方法和装置、用于字符识别的装置 |
CN110135427A (zh) * | 2019-04-11 | 2019-08-16 | 北京百度网讯科技有限公司 | 用于识别图像中的字符的方法、装置、设备和介质 |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5748807A (en) * | 1992-10-09 | 1998-05-05 | Panasonic Technologies, Inc. | Method and means for enhancing optical character recognition of printed documents |
JPH08147417A (ja) * | 1994-11-22 | 1996-06-07 | Oki Electric Ind Co Ltd | 単語照合装置 |
US6741749B2 (en) * | 2001-01-24 | 2004-05-25 | Advanced Digital Systems, Inc. | System, device, computer program product, and method for representing a plurality of electronic ink data points |
US8549399B2 (en) * | 2011-01-18 | 2013-10-01 | Apple Inc. | Identifying a selection of content in a structured document |
CN102509112A (zh) * | 2011-11-02 | 2012-06-20 | 珠海逸迩科技有限公司 | 车牌识别方法及其识别系统 |
AU2014230809B2 (en) * | 2013-03-14 | 2019-05-02 | Ventana Medical Systems, Inc. | Whole slide image registration and cross-image annotation devices, systems and methods |
US10354168B2 (en) * | 2016-04-11 | 2019-07-16 | A2Ia S.A.S. | Systems and methods for recognizing characters in digitized documents |
CN107527059B (zh) * | 2017-08-07 | 2021-12-21 | 北京小米移动软件有限公司 | 文字识别方法、装置及终端 |
CN108108746B (zh) * | 2017-09-13 | 2021-04-09 | 湖南理工学院 | 基于Caffe深度学习框架的车牌字符识别方法 |
CN110276342B (zh) * | 2018-03-14 | 2023-04-18 | 台达电子工业股份有限公司 | 车牌辨识方法以及其系统 |
JP7181761B2 (ja) * | 2018-10-30 | 2022-12-01 | 株式会社三井E&Sマシナリー | 読取システム及び読取方法 |
TWM583989U (zh) * | 2019-04-17 | 2019-09-21 | 洽吧智能股份有限公司 | 序號檢測系統 |
CN110163206B (zh) * | 2019-05-04 | 2023-03-24 | 苏州科技大学 | 车牌识别方法、系统、存储介质和装置 |
CN110245557B (zh) * | 2019-05-07 | 2023-12-22 | 平安科技(深圳)有限公司 | 图片处理方法、装置、计算机设备及存储介质 |
CN110097019B (zh) * | 2019-05-10 | 2023-01-10 | 腾讯科技(深圳)有限公司 | 字符识别方法、装置、计算机设备以及存储介质 |
-
2019
- 2019-09-27 CN CN201910927338.4A patent/CN110659640B/zh active Active
- 2019-10-15 WO PCT/CN2019/111170 patent/WO2021056621A1/zh active Application Filing
- 2019-10-15 KR KR1020217010064A patent/KR20210054563A/ko active Search and Examination
- 2019-10-15 SG SG11202105174XA patent/SG11202105174XA/en unknown
- 2019-10-15 JP JP2021518910A patent/JP7123255B2/ja active Active
- 2019-11-13 TW TW108141128A patent/TWI732338B/zh active
-
2021
- 2021-04-16 US US17/232,278 patent/US20210232847A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10032072B1 (en) * | 2016-06-21 | 2018-07-24 | A9.Com, Inc. | Text recognition and localization with deep learning |
CN109871843A (zh) * | 2017-12-01 | 2019-06-11 | 北京搜狗科技发展有限公司 | 字符识别方法和装置、用于字符识别的装置 |
US10262235B1 (en) * | 2018-02-26 | 2019-04-16 | Capital One Services, Llc | Dual stage neural network pipeline systems and methods |
CN109615006A (zh) * | 2018-12-10 | 2019-04-12 | 北京市商汤科技开发有限公司 | 文字识别方法及装置、电子设备和存储介质 |
CN110135427A (zh) * | 2019-04-11 | 2019-08-16 | 北京百度网讯科技有限公司 | 用于识别图像中的字符的方法、装置、设备和介质 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113569839A (zh) * | 2021-08-31 | 2021-10-29 | 重庆紫光华山智安科技有限公司 | 证件识别方法、系统、设备及介质 |
CN113569839B (zh) * | 2021-08-31 | 2024-02-09 | 重庆紫光华山智安科技有限公司 | 证件识别方法、系统、设备及介质 |
CN115497106A (zh) * | 2022-11-14 | 2022-12-20 | 合肥中科类脑智能技术有限公司 | 基于数据增强和多任务模型的电池激光喷码识别方法 |
CN115497106B (zh) * | 2022-11-14 | 2023-01-24 | 合肥中科类脑智能技术有限公司 | 基于数据增强和多任务模型的电池激光喷码识别方法 |
Also Published As
Publication number | Publication date |
---|---|
KR20210054563A (ko) | 2021-05-13 |
JP2022504404A (ja) | 2022-01-13 |
TWI732338B (zh) | 2021-07-01 |
JP7123255B2 (ja) | 2022-08-22 |
CN110659640B (zh) | 2021-11-30 |
US20210232847A1 (en) | 2021-07-29 |
TW202113660A (zh) | 2021-04-01 |
CN110659640A (zh) | 2020-01-07 |
SG11202105174XA (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021056621A1 (zh) | 文本序列的识别方法及装置、电子设备和存储介质 | |
JP6926339B2 (ja) | 画像のクラスタリング方法及び装置、電子機器並びに記憶媒体 | |
TWI740309B (zh) | 圖像處理方法及裝置、電子設備和電腦可讀儲存介質 | |
JP7097513B2 (ja) | 画像処理方法及び装置、電子機器並びに記憶媒体 | |
WO2021008023A1 (zh) | 图像处理方法及装置、电子设备和存储介质 | |
WO2020029966A1 (zh) | 视频处理方法及装置、电子设备和存储介质 | |
CN111612070B (zh) | 基于场景图的图像描述生成方法及装置 | |
WO2021208666A1 (zh) | 字符识别方法及装置、电子设备和存储介质 | |
WO2021012564A1 (zh) | 视频处理方法及装置、电子设备和存储介质 | |
CN109615006B (zh) | 文字识别方法及装置、电子设备和存储介质 | |
KR20210114511A (ko) | 얼굴 이미지 인식 방법 및 장치, 전자 기기 및 저장 매체 | |
CN110659690B (zh) | 神经网络的构建方法及装置、电子设备和存储介质 | |
WO2020220807A1 (zh) | 图像生成方法及装置、电子设备及存储介质 | |
WO2020173115A1 (zh) | 网络模块和分配方法及装置、电子设备和存储介质 | |
CN111242303B (zh) | 网络训练方法及装置、图像处理方法及装置 | |
CN111259967B (zh) | 图像分类及神经网络训练方法、装置、设备及存储介质 | |
CN110232181B (zh) | 评论分析方法及装置 | |
WO2023092975A1 (zh) | 图像处理方法及装置、电子设备、存储介质及计算机程序产品 | |
CN114842404A (zh) | 时序动作提名的生成方法及装置、电子设备和存储介质 | |
CN117150066B (zh) | 汽车传媒领域的智能绘图方法和装置 | |
CN113822020B (zh) | 文本处理方法、设备、存储介质 | |
CN114168807A (zh) | 字符串匹配方法及装置 | |
CN111382810A (zh) | 字符串的识别方法、装置及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 20217010064 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2021518910 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19946414 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 30.08.2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19946414 Country of ref document: EP Kind code of ref document: A1 |