CN112883966A - Image character recognition method, device, medium and electronic equipment - Google Patents

Image character recognition method, device, medium and electronic equipment Download PDF

Info

Publication number
CN112883966A
CN112883966A CN202110209444.6A CN202110209444A CN112883966A CN 112883966 A CN112883966 A CN 112883966A CN 202110209444 A CN202110209444 A CN 202110209444A CN 112883966 A CN112883966 A CN 112883966A
Authority
CN
China
Prior art keywords
image
character recognition
character
submodel
language
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110209444.6A
Other languages
Chinese (zh)
Other versions
CN112883966B (en
Inventor
卢永晨
王长虎
蔡悦
毛晓飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202110209444.6A priority Critical patent/CN112883966B/en
Publication of CN112883966A publication Critical patent/CN112883966A/en
Application granted granted Critical
Publication of CN112883966B publication Critical patent/CN112883966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2415Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Abstract

The present disclosure relates to an image character recognition method, apparatus, medium, and electronic device, the method comprising: receiving an image to be recognized, wherein the image to be recognized comprises characters of a plurality of languages; determining a character recognition result and a language classification result corresponding to the image to be recognized according to the image to be recognized and the character recognition model; the character recognition model comprises a character recognition submodel and a language classification submodel, wherein the language classification submodel is used for carrying out language classification on the characters of the languages, and the character recognition submodel is used for recognizing the characters of the languages; the character recognition model is obtained by parallel combined training based on the character recognition submodel and the language classification submodel. Therefore, the image to be recognized containing characters in multiple languages can be accurately recognized on the basis of the character recognition model, the accuracy of character recognition results is improved, and application scenes in multiple languages are fitted.

Description

Image character recognition method, device, medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an image character recognition method, an image character recognition device, an image character recognition medium, and an electronic device.
Background
In the related art, a deep learning neural network is usually adopted to learn the mapping relationship between an image and a text based on a large amount of labeled data, so that the recognition of characters in the image can be realized. However, in a multi-language scene, the recognition accuracy of the model for the characters in the image is insufficient, and the model is difficult to adapt to character recognition in the multi-language scene.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides an image character recognition method, including:
receiving an image to be recognized, wherein the image to be recognized comprises characters of a plurality of languages;
determining a character recognition result and a language classification result corresponding to the image to be recognized according to the image to be recognized and the character recognition model;
the character recognition model comprises a character recognition submodel and a language classification submodel, wherein the language classification submodel is used for carrying out language classification on the characters of the languages, and the character recognition submodel is used for recognizing the characters of the languages; the character recognition model is obtained by parallel combined training based on the character recognition submodel and the language classification submodel.
In a second aspect, the present disclosure provides an image character recognition apparatus, the apparatus comprising:
the device comprises a receiving module, a recognition module and a processing module, wherein the receiving module is used for receiving an image to be recognized, and the image to be recognized comprises characters of a plurality of languages;
the determining module is used for determining a character recognition result and a language classification result corresponding to the image to be recognized according to the image to be recognized and the character recognition model;
the character recognition model comprises a character recognition submodel and a language classification submodel, wherein the language classification submodel is used for carrying out language classification on the characters of the languages, and the character recognition submodel is used for recognizing the characters of the languages; the character recognition model is obtained by parallel combined training based on the character recognition submodel and the language classification submodel.
In a third aspect, a computer-readable medium is provided, on which a computer program is stored which, when being executed by a processing device, carries out the steps of the method of the first aspect.
In a fourth aspect, an electronic device is provided, comprising:
a storage device having one or more computer programs stored thereon;
one or more processing devices for executing the one or more computer programs in the storage device to implement the steps of the method of the first aspect.
In the above technical solution, in a multi-language scene, the character recognition result and the language classification result in the image to be recognized may be determined simultaneously by using a character recognition model including a character recognition submodel and a language classification submodel. Therefore, by the technical scheme, the image to be recognized containing the characters in multiple languages can be accurately subjected to character recognition based on the character recognition model, the accuracy of the character recognition result is improved, and the corresponding language classification result can be obtained while the character recognition result is obtained, so that more comprehensive data support can be provided for the subsequent processing process, the application scene in multiple languages is fitted, and the application range of the image character recognition method is widened.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale. In the drawings:
FIG. 1 is a flow chart of an image character recognition method provided according to one embodiment of the present disclosure;
FIG. 2 is a flow diagram of an exemplary implementation for determining a character recognition result and a language classification result corresponding to an image to be recognized according to the image to be recognized and a character recognition model according to an embodiment of the present disclosure;
FIG. 3 is a schematic illustration of an image to be recognized;
fig. 4 is a schematic display diagram of a recognition result of character recognition based on the image to be recognized in fig. 3;
FIG. 5 is a block diagram of an image character recognition apparatus provided in accordance with one embodiment of the present disclosure;
FIG. 6 shows a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a flowchart of an image character recognition method according to an embodiment of the present disclosure, and as shown in fig. 1, the method may include:
in step 11, an image to be recognized is received, wherein the image to be recognized includes characters of a plurality of languages. The image to be recognized may be an image uploaded by a user needing character recognition, and may include character texts in a plurality of languages.
In step 12, according to the image to be recognized and the character recognition model, a character recognition result and a language classification result corresponding to the image to be recognized are determined.
The character recognition model comprises a character recognition submodel and a language classification submodel, wherein the language classification submodel is used for carrying out language classification on the characters of the languages, and the character recognition submodel is used for recognizing the characters of the languages; the character recognition model is obtained by parallel combined training based on the character recognition submodel and the language classification submodel.
In this embodiment, the character recognition model may include a character recognition submodel and a language classification submodel, and the character recognition submodel and the language classification submodel are parallel submodels, that is, the two submodels may perform character recognition and language classification at the same time, so as to avoid an influence of an error of an output result of a previous submodel on an output result of another submodel when the output result of one of the submodels is input into the other submodel to obtain the output result of the other submodel, for example, to avoid an error propagation problem that an accuracy of a character recognition result is reduced due to an error of a language classification result when the language classification result of the language classification submodel is input into the character recognition model to obtain the character recognition result. And the two submodels obtain the character recognition model through combined training, so that in the training process of the character recognition model, the loss of the language classification submodel and the character recognition submodel can be referred simultaneously in the adjustment process of the model parameters, and the accuracy of character recognition and multi-language compatibility can be further improved.
Therefore, in the technical scheme, in a multi-language scene, the character recognition result and the language classification result in the image to be recognized can be determined simultaneously through the character recognition model comprising the character recognition submodel and the language classification submodel. Therefore, by the technical scheme, the image to be recognized containing the characters in multiple languages can be accurately subjected to character recognition based on the character recognition model, the accuracy of the character recognition result is improved, and the corresponding language classification result can be obtained while the character recognition result is obtained, so that more comprehensive data support can be provided for the subsequent processing process, the application scene in multiple languages is fitted, and the application range of the image character recognition method is widened.
In a possible embodiment, the character recognition model further comprises a feature extraction submodel;
in step 12, according to the image to be recognized and the character recognition model, an exemplary implementation manner of determining the character recognition result and the language classification result corresponding to the image to be recognized is as follows, as shown in fig. 2, and this step may include:
in step 21, each character line information in the image to be recognized is determined. A detection network may be trained in advance, and the detection network is used to identify the character line in the image to obtain the character line information. For example, the character line information may include coordinate information of four points of an area corresponding to the character line, as shown in fig. 3, which is a schematic diagram of an image to be recognized, where 4 character lines, each of which is A, B, C, D, are included, the character line information of the character line A, B, C, D may be determined through the detection network, and as shown in fig. 3, the determined character line information of the character line a may be coordinate information of the points a1, a2, A3, and a 4. The determination method of other character line information is similar, and is not described herein again.
The detection network can be obtained by labeling the character lines in the original image in advance, so that the original image can be used as the input of the neural network model, and the labeled image can be used as the target output of the neural network model, so that the neural network model is trained. The training may be performed by using a neural network learning algorithm in the art, which is not limited by the present disclosure.
As an example, the detection network may be a component in the character recognition model, and the detection network may also be independent of the character recognition model, which is not limited by the present disclosure, and the detection network is configured to determine information of each character row in the image to be recognized so as to detect the character row in the image to be recognized.
In step 22, each character line image is determined from the image to be recognized according to each character line information.
As described above, in step 21, each character line information, such as the coordinate information of 4 points of the character line a, can be determined, and accordingly in step 22, image extraction can be performed from the image to be recognized based on the coordinate information of 4 points. For example, the image in the region formed by the 4 points in the image to be recognized may be determined as the character line image corresponding to the character line a, so that image extraction may be performed from the image to be recognized based on the character line information to obtain the character line image. The determination manner of other character line images is similar, and is not described herein again.
In step 23, the image features of each character line image are extracted by the feature extraction submodel.
The feature extraction submodel may include a plurality of feature layers, and may be composed of CNN (Convolutional Neural Networks) and LSTM (Long Short-Term Memory Neural Networks). For example, convolution calculation may be performed on a plurality of convolution layers to obtain convolution features, and then a text sequence feature may be further extracted on the basis of the convolution features through a deep bidirectional LSTM circulation network, and the extracted feature may be determined as an image feature of the character line image.
In step 24, the image features are processed by the character recognition submodel to obtain a character recognition result, and the image features are processed by the language classification submodel to obtain a language classification result.
In this step, the extracted image features are respectively input into a character recognition submodel and a language classification submodel, and the two submodels respectively perform respective calculation operations based on the image features to obtain a character recognition result and a language classification result, so that the character recognition submodel and the language classification submodel can be processed by multiplexing the same image features.
Therefore, by the technical scheme, in the process of image character recognition, the character rows in the image to be recognized can be detected firstly, so that the characters in the image to be recognized and the languages corresponding to the character rows can be recognized in a character row unit, the accuracy of image character recognition and language classification is improved, and the use requirements of users are met. Meanwhile, the same image characteristics can be multiplexed by the character recognition submodel and the language classification submodel, so that the utilization rate of the image characteristics can be improved, the accuracy and the efficiency of character recognition can be improved, and the expansibility of the character recognition method can be improved.
In one possible embodiment, the character recognition model may be determined by:
determining each training character row image of a training image in a training sample, wherein the training sample comprises the training image, and a character labeling result and a language labeling result corresponding to the training image.
Wherein, each character row information in the training image can be determined through the detection network, and then each training character row image is determined from the training image. The specific implementation manner of this step is the same as the above-described manner of determining each character row image of the image to be recognized, and details are not repeated here.
In this embodiment, a plurality of images containing characters of a plurality of languages may be obtained in advance as training images, and then the languages and the characters may be labeled on the plurality of training images in a character row unit, so as to obtain the training sample.
Then, aiming at each training character row image in the training image, the training image characteristic of each training character row image can be extracted through a characteristic extraction sub-model in a preset model; and processing the training image features through a character recognition submodel in the preset model to obtain a training character recognition result, and processing the training image features through a language classification submodel in the preset model to obtain a training language classification result. The specific implementation of the process has been described in detail above, and is not described herein again.
And then, determining the target loss of the preset model according to the training character recognition result, the training language classification result, the character marking result and the language marking result, finishing the training when the target loss of the preset model is less than or equal to a preset threshold value, and determining the obtained preset model as the character recognition model. The preset threshold value can be set according to an actual use scene, and the higher the accuracy of the character recognition model is required to be, the smaller the value of the preset threshold value is.
In this step, when it is determined that the target loss of the preset model is greater than the preset threshold, the step of determining each training character row image of the training images in the training sample, the step of extracting the training image features of each training character row image through the feature extraction submodel in the preset model, and the step of processing the training image features through the character recognition submodel in the preset model to obtain a training character recognition result, and the step of processing the training image features through the language classification submodel in the preset model to obtain a training language classification result may be re-executed. In the process of re-executing the steps, different training samples can be selected for training, so that the comprehensiveness and the universality of learnable features in the character recognition model can be improved, and the learning efficiency of the character recognition model is improved. And finishing training when the target loss is less than or equal to a preset threshold value, which indicates that the recognition accuracy of the preset model is higher at the moment, and meets the use requirement of a user, and the preset model can be used as the character recognition model at the moment.
Therefore, in the above technical scheme, after the image features are extracted, branches of the language classification submodel for language classification can be added, so that the character recognition model in the present disclosure can be expanded based on the character recognition model in the related technology, that is, the structure of the character recognition submodel in the present disclosure can be created by adopting the structure of the recognition model in the related technology, on one hand, the language classification and the character recognition can be trained jointly, the character recognition submodel is trained auxiliarily by the language classification submodel, the accuracy of character recognition when characters in multiple languages are similar can be effectively solved, and the accuracy of character recognition is improved. On the other hand, the data calculation amount required when the language is classified independently can be effectively reduced through a joint training mode, the use scene of the character recognition model is further improved, and the use experience of a user is improved.
In a possible embodiment, the exemplary implementation manner of determining the target loss of the preset model according to the training character recognition result, the training language classification result, and the character labeling result and the language labeling result may include:
and determining the first loss of the character recognition submodel of the preset model based on a CTC loss function according to the training character recognition result and the character marking result.
In the theoretical case, the lengths of the character sequence corresponding to the training character recognition result and the character sequence corresponding to the character labeling result should be the same, and a case of recognizing the same character as two characters or a case of recognizing two characters as one character may occur in the process of performing character recognition by the character recognition submodel. Therefore, in the embodiment of the present disclosure, when determining the loss of the character recognition submodel, the CTC loss function may be used in a training process of unaligned serialized data, and may automatically align unaligned data, so that when determining the loss of the character recognition submodel, the CTC loss function is used for calculation, which may effectively ensure the accuracy of the determined first loss, thereby ensuring the accuracy of subsequent parameter adjustment of the character recognition model.
And determining a second loss of the language classification submodel of the preset model based on a cross entropy loss function according to the training language classification result and the language labeling result.
In the language classification process, calculation may be performed based on the feature softmax of the full connection layer, so as to obtain the probability that the character line corresponds to each language, and determine the language classification result corresponding to the character line. Therefore, in this embodiment, when determining the loss corresponding to the language classification submodel, the cross entropy loss function is used for calculation, so that derivation of the loss function is simpler, the second loss is only related to the probability of the correct category, and the efficiency of determining the loss and the accuracy of subsequently updating the model parameters are further improved.
And determining the target loss of the character recognition model according to the first loss and the second loss.
For example, the target loss may be determined as a result of weighted summation of the first loss and the second loss. The sum of the weights corresponding to the first loss and the second loss is 1, and the values corresponding to the first loss and the second loss can be set according to an actual use scene, which is not limited by the disclosure.
Therefore, by the technical scheme, different loss functions can be adopted for calculation aiming at the language classification submodel and the character recognition submodel, so that the calculation mode of the loss of each submodel is matched with the actual calculation processing process of the submodel, the calculation efficiency of the loss can be improved, the accuracy of the loss calculation of each submodel can be ensured, the accuracy of the target loss of the character recognition model is further ensured, accurate data support is provided for the subsequent adjustment of the model parameters of the character recognition model based on the target loss, and the training efficiency of the character recognition model can be improved to a certain extent.
As an example, a character recognition sub-model and a language classification sub-model in the character recognition model may be coupled for training. For example, in the training process of the character recognition model, in the process of performing character recognition by the character recognition submodel, the vector output by the language classification submodel may be subjected to dot multiplication, and then the character recognition result is obtained. Illustratively, three languages correspond to the language classification submodel, each language has 100 characters, a 300(3 × 100) dimensional vector is output after passing through the full connection layer in the character recognition submodel, and the language classification submodel can obtain a3 dimensional vector after performing softmax calculation on the features of the full connection layer, so as to obtain a language classification result. Then, the language classification result may be expanded according to the number of word tables, for example, the language classification result may be expanded into 300 dimensions in this embodiment, and then the language classification result may be point-multiplied with a vector in the character recognition submodel, and then log softmax calculation is performed according to the point-multiplied result, so as to obtain a character recognition result. The softmax calculation and the vector dot product calculation method may be calculated according to a calculation method commonly used in the art, which is not limited in this disclosure.
As an example, the character recognition submodel and the language classification submodel in the character recognition model may be trained separately. In the above example, the character recognition submodel may directly obtain the character recognition result according to the 300(3 × 100) dimensional vector output by the fully connected layer, and the language classification submodel obtains the language classification result according to the 3 dimensional vector.
The character recognition submodel and the language classification submodel may be subjected to decoupling training or coupling training, and after the character recognition result and the language recognition result are obtained in the training process, the corresponding target loss calculation and the mode of adjusting the model parameters of the character recognition model based on the target loss are consistent, and are not repeated herein.
In one possible embodiment, the method may further comprise:
and outputting the recognition result of the image to be recognized according to the character recognition result and the language classification result, wherein the recognition result comprises each character line text in the image to be recognized and the language identification corresponding to the character line text.
In this embodiment, after the character recognition result and the language classification result are determined, the result may be output and displayed to the user to prompt the user. For example, as shown in fig. 4, the display diagram of the recognition result of character recognition based on the image to be recognized in fig. 3 is shown, where each text of a character line may be displayed correspondingly, so that a user may view and compare the texts line by line, so that when a character recognition error is determined, the error position may be determined simply and accurately, and at the same time, a language identifier corresponding to the character line may be displayed behind each character line, so as to prompt the user with language classification, so that the user may know the texts in the image to be recognized more comprehensively, for example, a reference may be provided for a dictionary type related to a subsequent query of the user. It should be noted that the display manner shown in fig. 4 is only an exemplary illustration and is not limited to the disclosure, and the display manner of the language identifier may be a floating display on the corresponding character line text or may be a hovering display manner by using a mouse.
Therefore, by the technical scheme, the character recognition result and the language classification result can be output and displayed, so that the recognition result of the image to be recognized is accurately and conveniently prompted to the user, the user can conveniently check the recognition result, the user can conveniently use the text in the image to be recognized or subsequently edit the text, the text is displayed in a character row mode, the user can conveniently compare the character recognition result, and the user use experience is further improved.
In one possible embodiment, the method may further comprise:
and responding to the received confirmation operation of the user aiming at the recognition result, and performing language conversion on the character line text according to the language identification corresponding to the character line text to obtain a converted text corresponding to the character line text in the target language.
The target language may be a language preset by a user and required to be converted, or a language determined according to a default language in the device. In this embodiment, after the recognition result is output, the user may check whether the recognition result is accurate, and may perform a confirmation operation when the recognition result is confirmed to be accurate, and at this time, the language of the recognized text in the character line may be converted, so as to provide a text more convenient for the user to read. The language conversion is carried out on the character line texts according to the language identifications corresponding to the character line texts, the corresponding character line texts in the image to be recognized can be spliced, and the continuous character line texts corresponding to the same language identifications are combined, so that the language conversion is carried out based on the combined texts, the semantic deviation of the converted texts caused by the language conversion of the single character line texts can be avoided, and the readability and the accuracy of the converted texts are improved. In the language conversion process, the translator interface in the related art may be called, which is not described herein again.
Alternatively or additionally, the method may further comprise: and in response to receiving a modification operation of a user for the language identification corresponding to the target character line text in the recognition result, determining the modified language identification as the language identification corresponding to the target character line text.
In this embodiment, when the recognized language classification result is inaccurate, the user may modify the language corresponding to the corresponding character line text, so that the language modified by the user may be used as the language corresponding to the target character line text, and the accuracy of the language corresponding to the character line text in the image to be recognized is further improved, so as to provide accurate data support for subsequent language conversion.
For example, the user may modify the language identifier corresponding to the corresponding character line text through a modification operation, and when the user finishes modifying the confirmation operation, the user may directly perform language conversion on the character line text according to the language identifier corresponding to the character line text in response to the confirmation operation, so as to obtain a converted text corresponding to the character line text in the target language. It should be noted that, in the process, if the language identifier of the character line text is modified by the user, the language conversion is performed according to the modified language identifier when performing the language conversion, so that the accuracy of the language conversion can be ensured, the user operation can be simplified, and the user experience can be improved.
Alternatively or additionally, the method may further comprise: and in response to receiving a modification operation of a user on the target character line text in the recognition result, replacing the character corresponding to the modified character in the target character line text with the modified character to obtain the modified target character line text. Therefore, in the embodiment, the modification of the recognition text in the character recognition result by the user can be supported, and the use requirement of the user is met. Similarly, when the user finishes modifying and confirming the operation, the user can directly respond to the confirmation operation to perform language conversion on the character line text according to the language identification corresponding to the character line text so as to obtain a converted text corresponding to the character line text in the target language. It should be noted that, in the process, if the user modifies the character line text, the language conversion is performed according to the modified character line text when performing the language conversion, so that the accuracy of the initial text for performing the language conversion can be ensured, the accuracy of the obtained converted text can be ensured, and the user experience can be further improved.
The present disclosure also provides an image character recognition apparatus, as shown in fig. 5, the apparatus 10 includes:
a receiving module 100, configured to receive an image to be recognized, where the image to be recognized includes characters of multiple languages;
a determining module 200, configured to determine, according to the image to be recognized and the character recognition model, a character recognition result and a language classification result corresponding to the image to be recognized;
the character recognition model comprises a character recognition submodel and a language classification submodel, wherein the language classification submodel is used for carrying out language classification on the characters of the languages, and the character recognition submodel is used for recognizing the characters of the languages; the character recognition model is obtained by parallel combined training based on the character recognition submodel and the language classification submodel.
Optionally, the character recognition model further includes a feature extraction submodel;
the determining module comprises:
the first determining submodule is used for determining the information of each character line in the image to be recognized;
the second determining submodule is used for determining each character line image from the image to be recognized according to each character line information;
the extraction submodule is used for extracting the image characteristics of each character line image through the characteristic extraction submodel;
and the processing submodule is used for processing the image characteristics through the character recognition submodel to obtain the character recognition result and processing the image characteristics through the language classification submodel to obtain the language classification result.
Optionally, the character recognition model is determined by:
determining each training character row image of a training image in a training sample, wherein the training sample comprises the training image, and a character labeling result and a language labeling result corresponding to the training image;
extracting the training image characteristics of each training character row image through a characteristic extraction sub-model in a preset model;
processing the training image features through a character recognition submodel in the preset model to obtain a training character recognition result, and processing the training image features through a language classification submodel in the preset model to obtain a training language classification result;
and determining the target loss of the preset model according to the training character recognition result, the training language classification result, the character marking result and the language marking result, finishing training when the target loss of the preset model is less than or equal to a preset threshold value, and determining the obtained preset model as the character recognition model.
Optionally, the determining the target loss of the preset model according to the training character recognition result, the training language classification result, the character labeling result, and the language labeling result includes:
determining a first loss of a character recognition submodel of the preset model based on a CTC loss function according to the training character recognition result and the character marking result;
determining a second loss of the language classification submodel of the preset model based on a cross entropy loss function according to the training language classification result and the language labeling result;
and determining the target loss of the character recognition model according to the first loss and the second loss.
Optionally, the apparatus further comprises:
and the output module is used for outputting the recognition result of the image to be recognized according to the character recognition result and the language classification result, wherein the recognition result comprises each character line text in the image to be recognized and the language identification corresponding to the character line text.
Optionally, the apparatus further comprises:
the conversion module is used for responding to the received confirmation operation of the user aiming at the recognition result, and performing language conversion on the character line text according to the language identification corresponding to the character line text to obtain a conversion text corresponding to the character line text in the target language; and/or the presence of a gas in the gas,
and the modification module is used for responding to the received modification operation of the user on the language identification corresponding to the target character line text in the recognition result and determining the modified language identification as the language identification corresponding to the target character line text.
Referring now to FIG. 6, a block diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving an image to be recognized, wherein the image to be recognized comprises characters of a plurality of languages; determining a character recognition result and a language classification result corresponding to the image to be recognized according to the image to be recognized and the character recognition model; the character recognition model comprises a character recognition submodel and a language classification submodel, wherein the language classification submodel is used for carrying out language classification on the characters of the languages, and the character recognition submodel is used for recognizing the characters of the languages; the character recognition model is obtained by parallel combined training based on the character recognition submodel and the language classification submodel.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases constitute a limitation of the module itself, and for example, the receiving module may also be described as a "module that receives an image to be recognized".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Example 1 provides an image character recognition method according to one or more embodiments of the present disclosure, wherein the method includes:
receiving an image to be recognized, wherein the image to be recognized comprises characters of a plurality of languages;
determining a character recognition result and a language classification result corresponding to the image to be recognized according to the image to be recognized and the character recognition model;
the character recognition model comprises a character recognition submodel and a language classification submodel, wherein the language classification submodel is used for carrying out language classification on the characters of the languages, and the character recognition submodel is used for recognizing the characters of the languages; the character recognition model is obtained by parallel combined training based on the character recognition submodel and the language classification submodel.
Example 2 provides the method of example 1, wherein the character recognition model further includes a feature extraction submodel;
determining a character recognition result and a language classification result corresponding to the image to be recognized according to the image to be recognized and the character recognition model, wherein the determining comprises the following steps:
determining information of each character line in the image to be recognized;
determining each character line image from the image to be recognized according to each character line information;
extracting the image characteristics of each character line image through the characteristic extraction sub-model;
and processing the image characteristics through the character recognition submodel to obtain the character recognition result, and processing the image characteristics through the language classification submodel to obtain the language classification result.
Example 3 provides the method of example 1, wherein the character recognition model is determined by:
determining each training character row image of a training image in a training sample, wherein the training sample comprises the training image, and a character labeling result and a language labeling result corresponding to the training image;
extracting the training image characteristics of each training character row image through a characteristic extraction sub-model in a preset model;
processing the training image features through a character recognition submodel in the preset model to obtain a training character recognition result, and processing the training image features through a language classification submodel in the preset model to obtain a training language classification result;
and determining the target loss of the preset model according to the training character recognition result, the training language classification result, the character marking result and the language marking result, finishing training when the target loss of the preset model is less than or equal to a preset threshold value, and determining the obtained preset model as the character recognition model.
Example 4 provides the method of example 3, wherein the determining the target loss of the preset model according to the training character recognition result, the training language classification result, the character labeling result and the language labeling result includes:
determining a first loss of a character recognition submodel of the preset model based on a CTC loss function according to the training character recognition result and the character marking result;
determining a second loss of the language classification submodel of the preset model based on a cross entropy loss function according to the training language classification result and the language labeling result;
and determining the target loss of the character recognition model according to the first loss and the second loss.
Example 5 provides the method of example 1, wherein the method further comprises:
and outputting the recognition result of the image to be recognized according to the character recognition result and the language classification result, wherein the recognition result comprises each character line text in the image to be recognized and the language identification corresponding to the character line text.
Example 6 provides the method of example 5, wherein the method further comprises:
in response to receiving a confirmation operation of a user aiming at the recognition result, performing language conversion on the character line text according to the language identification corresponding to the character line text to obtain a converted text corresponding to the character line text in a target language; and/or the presence of a gas in the gas,
and in response to receiving a modification operation of a user for the language identification corresponding to the target character line text in the recognition result, determining the modified language identification as the language identification corresponding to the target character line text.
Example 7 provides an image character recognition apparatus according to one or more embodiments of the present disclosure, the apparatus including:
the device comprises a receiving module, a recognition module and a processing module, wherein the receiving module is used for receiving an image to be recognized, and the image to be recognized comprises characters of a plurality of languages;
the determining module is used for determining a character recognition result and a language classification result corresponding to the image to be recognized according to the image to be recognized and the character recognition model;
the character recognition model comprises a character recognition submodel and a language classification submodel, wherein the language classification submodel is used for carrying out language classification on the characters of the languages, and the character recognition submodel is used for recognizing the characters of the languages; the character recognition model is obtained by parallel combined training based on the character recognition submodel and the language classification submodel.
Example 8 provides the apparatus of example 7, wherein the character recognition model further comprises a feature extraction submodel;
the determining module comprises:
the first determining submodule is used for determining the information of each character line in the image to be recognized;
the second determining submodule is used for determining each character line image from the image to be recognized according to each character line information;
the extraction submodule is used for extracting the image characteristics of each character line image through the characteristic extraction submodel;
and the processing submodule is used for processing the image characteristics through the character recognition submodel to obtain the character recognition result and processing the image characteristics through the language classification submodel to obtain the language classification result.
Example 9 provides the apparatus of example 7, wherein the character recognition model is determined by:
determining each training character row image of a training image in a training sample, wherein the training sample comprises the training image, and a character labeling result and a language labeling result corresponding to the training image;
extracting the training image characteristics of each training character row image through a characteristic extraction sub-model in a preset model;
processing the training image features through a character recognition submodel in the preset model to obtain a training character recognition result, and processing the training image features through a language classification submodel in the preset model to obtain a training language classification result;
and determining the target loss of the preset model according to the training character recognition result, the training language classification result, the character marking result and the language marking result, finishing training when the target loss of the preset model is less than or equal to a preset threshold value, and determining the obtained preset model as the character recognition model.
Example 10 provides the apparatus of example 9, wherein the determining the target loss of the preset model according to the training character recognition result and the training language classification result, and the character labeling result and the language labeling result includes:
determining a first loss of a character recognition submodel of the preset model based on a CTC loss function according to the training character recognition result and the character marking result;
determining a second loss of the language classification submodel of the preset model based on a cross entropy loss function according to the training language classification result and the language labeling result;
and determining the target loss of the character recognition model according to the first loss and the second loss.
Example 11 provides the apparatus of example 7, wherein the apparatus further comprises:
and the output module is used for outputting the recognition result of the image to be recognized according to the character recognition result and the language classification result, wherein the recognition result comprises each character line text in the image to be recognized and the language identification corresponding to the character line text.
Example 12 provides the apparatus of example 11, wherein the apparatus further comprises, in accordance with one or more embodiments of the present disclosure:
the conversion module is used for responding to the received confirmation operation of the user aiming at the recognition result, and performing language conversion on the character line text according to the language identification corresponding to the character line text to obtain a conversion text corresponding to the character line text in the target language; and/or the presence of a gas in the gas,
and the modification module is used for responding to the received modification operation of the user on the language identification corresponding to the target character line text in the recognition result and determining the modified language identification as the language identification corresponding to the target character line text.
Example 13 provides a computer readable medium having stored thereon a computer program that, when executed by a processing apparatus, performs the steps of the method of any of examples 1-6, in accordance with one or more embodiments of the present disclosure.
Example 14 provides, in accordance with one or more embodiments of the present disclosure, an electronic device, comprising:
a storage device having one or more computer programs stored thereon;
one or more processing devices for executing the one or more computer programs in the storage device to implement the steps of the method of any of examples 1-6.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims (10)

1. An image character recognition method, characterized in that the method comprises:
receiving an image to be recognized, wherein the image to be recognized comprises characters of a plurality of languages;
determining a character recognition result and a language classification result corresponding to the image to be recognized according to the image to be recognized and the character recognition model;
the character recognition model comprises a character recognition submodel and a language classification submodel, wherein the language classification submodel is used for carrying out language classification on the characters of the languages, and the character recognition submodel is used for recognizing the characters of the languages; the character recognition model is obtained by parallel combined training based on the character recognition submodel and the language classification submodel.
2. The method of claim 1, wherein the character recognition model further comprises a feature extraction submodel;
determining a character recognition result and a language classification result corresponding to the image to be recognized according to the image to be recognized and the character recognition model, wherein the determining comprises the following steps:
determining information of each character line in the image to be recognized;
determining each character line image from the image to be recognized according to each character line information;
extracting the image characteristics of each character line image through the characteristic extraction sub-model;
and processing the image characteristics through the character recognition submodel to obtain the character recognition result, and processing the image characteristics through the language classification submodel to obtain the language classification result.
3. The method of claim 1, wherein the character recognition model is determined by:
determining each training character row image of a training image in a training sample, wherein the training sample comprises the training image, and a character labeling result and a language labeling result corresponding to the training image;
extracting the training image characteristics of each training character row image through a characteristic extraction sub-model in a preset model;
processing the training image features through a character recognition submodel in the preset model to obtain a training character recognition result, and processing the training image features through a language classification submodel in the preset model to obtain a training language classification result;
and determining the target loss of the preset model according to the training character recognition result, the training language classification result, the character marking result and the language marking result, finishing training when the target loss of the preset model is less than or equal to a preset threshold value, and determining the obtained preset model as the character recognition model.
4. The method according to claim 3, wherein the determining the target loss of the preset model according to the training character recognition result and the training language classification result, and the character labeling result and the language labeling result comprises:
determining a first loss of a character recognition submodel of the preset model based on a CTC loss function according to the training character recognition result and the character marking result;
determining a second loss of the language classification submodel of the preset model based on a cross entropy loss function according to the training language classification result and the language labeling result;
and determining the target loss of the character recognition model according to the first loss and the second loss.
5. The method of claim 1, further comprising:
and outputting the recognition result of the image to be recognized according to the character recognition result and the language classification result, wherein the recognition result comprises each character line text in the image to be recognized and the language identification corresponding to the character line text.
6. The method of claim 5, further comprising:
in response to receiving a confirmation operation of a user aiming at the recognition result, performing language conversion on the character line text according to the language identification corresponding to the character line text to obtain a converted text corresponding to the character line text in a target language; and/or the presence of a gas in the gas,
and in response to receiving a modification operation of a user for the language identification corresponding to the target character line text in the recognition result, determining the modified language identification as the language identification corresponding to the target character line text.
7. An image character recognition apparatus, characterized in that the apparatus comprises:
the device comprises a receiving module, a recognition module and a processing module, wherein the receiving module is used for receiving an image to be recognized, and the image to be recognized comprises characters of a plurality of languages;
the determining module is used for determining a character recognition result and a language classification result corresponding to the image to be recognized according to the image to be recognized and the character recognition model;
the character recognition model comprises a character recognition submodel and a language classification submodel, wherein the language classification submodel is used for carrying out language classification on the characters of the languages, and the character recognition submodel is used for recognizing the characters of the languages; the character recognition model is obtained by parallel combined training based on the character recognition submodel and the language classification submodel.
8. The apparatus of claim 7, wherein the character recognition model further comprises a feature extraction submodel;
the determining module comprises:
the first determining submodule is used for determining the information of each character line in the image to be recognized;
the second determining submodule is used for determining each character line image from the image to be recognized according to each character line information;
the extraction submodule is used for extracting the image characteristics of each character line image through the characteristic extraction submodel;
and the processing submodule is used for processing the image characteristics through the character recognition submodel to obtain the character recognition result and processing the image characteristics through the language classification submodel to obtain the language classification result.
9. A computer-readable medium, on which a computer program is stored, characterized in that the program, when being executed by processing means, carries out the steps of the method of any one of claims 1 to 6.
10. An electronic device, comprising:
a storage device having one or more computer programs stored thereon;
one or more processing devices for executing the one or more computer programs in the storage device to implement the steps of the method of any one of claims 1-6.
CN202110209444.6A 2021-02-24 2021-02-24 Image character recognition method, device, medium and electronic equipment Active CN112883966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110209444.6A CN112883966B (en) 2021-02-24 2021-02-24 Image character recognition method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110209444.6A CN112883966B (en) 2021-02-24 2021-02-24 Image character recognition method, device, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112883966A true CN112883966A (en) 2021-06-01
CN112883966B CN112883966B (en) 2023-02-24

Family

ID=76054844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110209444.6A Active CN112883966B (en) 2021-02-24 2021-02-24 Image character recognition method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112883966B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113807987A (en) * 2021-07-29 2021-12-17 卡斯柯信号有限公司 Parameter dynamic calculation method and device based on CTC simulation training process
CN114187593A (en) * 2021-12-14 2022-03-15 北京有竹居网络技术有限公司 Image processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598937A (en) * 2015-10-16 2017-04-26 阿里巴巴集团控股有限公司 Language recognition method and device for text and electronic equipment
CN107203763A (en) * 2016-03-18 2017-09-26 北大方正集团有限公司 Character recognition method and device
US20180307679A1 (en) * 2017-04-23 2018-10-25 Voicebox Technologies Corporation Multi-lingual semantic parser based on transferred learning
CN110569830A (en) * 2019-08-01 2019-12-13 平安科技(深圳)有限公司 Multi-language text recognition method and device, computer equipment and storage medium
CN111563495A (en) * 2020-05-09 2020-08-21 北京奇艺世纪科技有限公司 Method and device for recognizing characters in image and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598937A (en) * 2015-10-16 2017-04-26 阿里巴巴集团控股有限公司 Language recognition method and device for text and electronic equipment
CN107203763A (en) * 2016-03-18 2017-09-26 北大方正集团有限公司 Character recognition method and device
US20180307679A1 (en) * 2017-04-23 2018-10-25 Voicebox Technologies Corporation Multi-lingual semantic parser based on transferred learning
CN110569830A (en) * 2019-08-01 2019-12-13 平安科技(深圳)有限公司 Multi-language text recognition method and device, computer equipment and storage medium
CN111563495A (en) * 2020-05-09 2020-08-21 北京奇艺世纪科技有限公司 Method and device for recognizing characters in image and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ADITYA MOGADALA 等: "Bilingual Word Embeddings from Parallel and Non-parallel Corpora for Cross-Language Text Classification", 《PROCEEDINGS OF NAACL-HLT 2016》, 17 June 2016 (2016-06-17), pages 692 - 702 *
张巍 等: "基于隐含狄利克雷分布的多语种文本的自动检测研究", 《中国海洋大学学报(自然科学版)》, vol. 47, no. 12, 15 December 2017 (2017-12-15), pages 130 - 136 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113807987A (en) * 2021-07-29 2021-12-17 卡斯柯信号有限公司 Parameter dynamic calculation method and device based on CTC simulation training process
CN114187593A (en) * 2021-12-14 2022-03-15 北京有竹居网络技术有限公司 Image processing method and device
CN114187593B (en) * 2021-12-14 2024-01-30 北京有竹居网络技术有限公司 Image processing method and device

Also Published As

Publication number Publication date
CN112883966B (en) 2023-02-24

Similar Documents

Publication Publication Date Title
CN109858445B (en) Method and apparatus for generating a model
CN112883968B (en) Image character recognition method, device, medium and electronic equipment
CN112883967B (en) Image character recognition method, device, medium and electronic equipment
CN110826567B (en) Optical character recognition method, device, equipment and storage medium
CN112509562B (en) Method, apparatus, electronic device and medium for text post-processing
CN110084317B (en) Method and device for recognizing images
CN112883966B (en) Image character recognition method, device, medium and electronic equipment
CN113313064A (en) Character recognition method and device, readable medium and electronic equipment
CN115578570A (en) Image processing method, device, readable medium and electronic equipment
CN110008926B (en) Method and device for identifying age
CN109829431B (en) Method and apparatus for generating information
CN110046571B (en) Method and device for identifying age
CN112309384A (en) Voice recognition method, device, electronic equipment and medium
CN114153959A (en) Key value matching method and device, readable medium and electronic equipment
CN114067327A (en) Text recognition method and device, readable medium and electronic equipment
CN113592033A (en) Oil tank image recognition model training method, oil tank image recognition method and oil tank image recognition device
CN111026849B (en) Data processing method and device
CN113191257B (en) Order of strokes detection method and device and electronic equipment
CN112685996B (en) Text punctuation prediction method and device, readable medium and electronic equipment
CN114758342A (en) Text recognition method, device, medium and electronic equipment
CN114612909A (en) Character recognition method and device, readable medium and electronic equipment
CN114495080A (en) Font identification method and device, readable medium and electronic equipment
CN114463768A (en) Form recognition method and device, readable medium and electronic equipment
CN114297409A (en) Model training method, information extraction method and device, electronic device and medium
CN114429629A (en) Image processing method and device, readable storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant