Training device, estimation device, training method, estimation method, and program

The learning device and method enhance scene character detection accuracy by training a model for both character and object detection, using shared feature extraction to improve object type awareness, thereby enhancing detection precision.

WO2024201819A1PCT designated stage expired Publication Date: 2024-10-03NT T INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/012913
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing scene character detection methods, such as those using neural networks, struggle to accurately identify character areas on specific objects due to a lack of consideration for the type of object, leading to reduced detection accuracy.

Method used

A learning device and method that simultaneously trains a model for character detection and object detection, using shared feature extraction to improve character area estimation by incorporating knowledge about the types of objects characters are likely to exist on, such as signboards versus animal textures, through a dual estimation approach with updated model parameters based on correct data.

Benefits of technology

This approach enhances the accuracy of character detection by providing the character detection model with information about the types of objects characters are likely to exist on, effectively improving spatial characterization and detection precision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023012913_03102024_PF_FP_ABST
    Figure JP2023012913_03102024_PF_FP_ABST
Patent Text Reader

Abstract

A training device (100) is provided with: a feature extraction unit (11) that uses a feature extraction model (111) to extract feature amounts from each image of training data; a first estimation unit (12) that uses a character estimation model (121) to estimate a character region of the image of the training data on the basis of the feature amounts; a second estimation unit (21) that uses an object estimation model (211) to estimate an object region of the image of the training data and an object label corresponding to the object region on the basis of the feature amounts; and a character estimation parameter update unit (30) and an object estimation parameter update unit (40) that update parameters of respective models on the basis of the result of estimation by the first estimation unit (12), the result of estimation by the second estimation unit (21), and ground truth data relating to the images of the training data.
Need to check novelty before this filing date? Find Prior Art

Description

Learning device, estimation device, learning method, estimation method, and program

[0001] The present invention relates to a learning device, an estimation device, a learning method, an estimation method, and a program.

[0002] Scenery images obtained by photographing a landscape contain a lot of text information, such as traffic signs and advertising billboards, that is necessary for understanding the image. Scene character detection is a task that takes such scene images as input and estimates and outputs character regions. In recent years, with the advancement of deep learning technology, a method has been proposed to realize scene character detection using a comprehensive model.

[0003] For example, Non-Patent Document 1 provides a method for detecting characters in scenes using a model that uses a neural network. The method described in Non-Patent Document 1 uses a scene image as input, and estimates and outputs a heat map (hereinafter referred to as a probability map) that represents the likelihood or score of each pixel in the scene image being a character region using colors or shades that correspond to the level of these values, and a heat map (hereinafter referred to as a threshold map) that represents the probability that each pixel in the scene image is a boundary region of a character region, using a neural network configured using a convolutional neural network or the like.

[0004] M. Liao, Z. Zou, Z. Wan, C. Yao, and X. Bai, “Real-Time Scene Text Detection With Differentiable Binarization and Adaptive Scale Fusion,” IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI), vol. 45, no. 1, pp. 919-931, 2023.

[0005] The scene character detection method described in Non-Patent Document 1 detects an area that is estimated to be a character in an input image. However, the method described in Non-Patent Document 1 does not take into consideration what type of object the detected area is located in.

[0006] For this reason, the scene character detection method described in Non-Patent Document 1 cannot use knowledge about what types of objects characters are likely to exist on, such as the fact that animal textures are not character regions and that character regions are likely to exist on signs, etc. For this reason, the scene character detection method described in Non-Patent Document 1 was unable to detect characters with high accuracy.

[0007] The present invention has been made in view of the above, and has an object to provide a learning device, an estimation device, a learning method, an estimation method, and a program that can improve the accuracy of character detection.

[0008] In order to solve the above-mentioned problems and achieve the object, a learning device according to the present invention includes a first extraction unit that uses a first feature extraction model to extract features from an image of teacher data; a first estimation unit that uses a first character estimation model to estimate a character region of the image of the teacher data based on the features; a second estimation unit that uses an object estimation model to estimate an object region of the image of the teacher data and an object label corresponding to the object region based on the features; and an update unit that updates parameters of the first feature extraction model, parameters of the first character estimation model, and parameters of the object estimation model based on estimation results by the first estimation unit and the second estimation unit, and ground truth data of the image of the teacher data.

[0009] Moreover, an estimation device according to the present invention includes a second extraction unit that extracts features from a first image using a second feature extraction model, and a third estimation unit that estimates a character region of the first image based on the features using a second character estimation model, wherein the second feature extraction model and the second character estimation model are models whose parameters are updated based on: a character region of the image of the teacher data estimated by the second character estimation model based on the features of the image of the teacher data extracted by the second feature extraction model; an object region of the image of the teacher data and an object label corresponding to the object region estimated by an object estimation model based on the features of the image of the teacher data extracted by the second feature extraction model; and ground truth data of the image of the teacher data.

[0010] According to the present invention, it is possible to improve the accuracy of character detection.

[0011] FIG. 1 is a diagram illustrating an outline of processing according to the first embodiment. FIG. 2 is a diagram illustrating an outline of processing according to the first embodiment. FIG. 3 is a diagram illustrating an example of the configuration of a learning device according to the first embodiment. FIG. 4 is a flowchart illustrating a processing procedure of learning processing according to the first embodiment. FIG. 5 is a diagram illustrating an example of the configuration of an estimation device according to the first embodiment. FIG. 6 is a flowchart illustrating a processing procedure of estimation processing according to the first embodiment. FIG. 7 is a diagram illustrating an example of the configuration of a learning device according to the second embodiment. FIG. 8 is a flowchart illustrating a processing procedure of learning processing according to the second embodiment. FIG. 9 is a diagram illustrating an example of the configuration of a learning device according to the third embodiment. FIG. 10 is a flowchart illustrating a processing procedure of learning processing according to the third embodiment. FIG. 11 is a diagram illustrating an example of a computer in which a learning device and an estimation device are implemented by executing a program.

[0012] Hereinafter, embodiments of a learning device, an estimation device, a learning method, an estimation method, and a program according to the present application will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to the embodiments described below.

[0013] In this embodiment, in scene character detection, knowledge about object types, such as objects where characters are likely to exist and objects where they are unlikely to exist, is utilized by learning a model that simultaneously performs character detection and object detection, and the character detection model is extracted and used for inference. Hereinafter, the process of detecting character regions will be referred to as character estimation, and the process of detecting object regions and estimating corresponding labels will be referred to as object estimation.

[0014] In the following description, we will mainly describe an application to scene character detection, in which a scene image is input and a character region is detected (estimated) using a heat map that represents the likelihood or score of each pixel in the scene image as a character region using a color or shade corresponding to the level of these values, but the embodiment is not limited to scene character detection using a heat map. In other words, the embodiment can be applied to any technology that estimates a character region from an image that includes a character region using any method that uses a neural network, and the present technology can also be applied to estimation of a character region for optical character recognition, etc.

[0015] First Embodiment First, a first embodiment will be described.

[0016] [Processing Overview] Next, an overview of each process according to embodiment 1 will be described. Figures 1 and 2 are diagrams for explaining the overview of the process according to embodiment 1.

[0017] In the learning phase (Fig. 1), when a training image G1 is input, the feature extraction model executes a feature extraction process to extract features (intermediate features) from the image (Fig. 1 (1)). As shown in image G1-1, the character estimation model executes a character estimation process to estimate character regions based on the intermediate features (Fig. 1 (2)).

[0018] Then, as shown in images G1-2 to G1-4, the object estimation model executes an object estimation process to estimate an object region of the image and an object label (e.g., person, car, sign) corresponding to the object region based on the intermediate features ((3) in FIG. 1). The character estimation model and the object estimation model share a feature extraction part.

[0019] In the learning phase, the parameters of the feature extraction model and the character estimation model are updated based on the correct character region of image G1 and the estimated character region of image G1-1. At the same time, in the learning phase, the parameters of the feature extraction model and the object estimation model are updated based on the correct object region and correct object label of image G1 and the estimated object regions and estimated object labels of images G1-2 to G1-4.

[0020] In the inference phase, from the feature extraction model, character estimation model, and object estimation model that were learned in the learning phase, the feature extraction model and character estimation model are extracted and used for inference.

[0021] In the inference phase (Fig. 2), when an image G2 to be estimated is input, the feature extraction model trained in the learning phase executes a feature extraction process to extract intermediate features from image G2 ((1) in Fig. 2). As shown in image G2-1, the character estimation model trained in the learning phase executes a character estimation process to estimate a character region based on the intermediate features ((2) in Fig. 2), and outputs the estimated character region.

[0022] [Learning Device] Next, a description will be given of a learning device according to embodiment 1. Fig. 3 is a diagram showing an example of the configuration of the learning device according to embodiment 1.

[0023] Learning device 100 according to the first embodiment is realized, for example, by loading a predetermined program into a computer or the like including a ROM (Read Only Memory), a RAM (Random Access Memory), a CPU (Central Processing Unit), etc., and having the CPU execute the predetermined program. Learning device 100 also has a communication interface for transmitting and receiving various types of information to and from other devices connected via a network, etc.

[0024] The learning device 100 includes a character estimation unit 10, an object estimation unit 20, a character estimation parameter update unit 30 (first update unit), and an object estimation parameter update unit 40 (second update unit). The learning device 100 receives input of teacher data D1 for character estimation and teacher data D2 for object estimation. The teacher data D1 for character estimation is data composed of a pair of an image and a correct character region corresponding to the image. The teacher data D2 for object estimation is data composed of a pair of an image and a correct object region and a correct object label corresponding to the image.

[0025] The character estimation unit 10 receives an image (second image) of character estimation training data D1 as input and estimates a character region in the image. The character estimation unit 10 outputs the estimated character region as an estimated character region. The correct character region of the character estimation training data D1 and the estimated character region estimated by the character estimation unit 10 are displayed using a heat map format represented by a probability map and a threshold map (see, for example, Non-Patent Document 1). The correct character region and estimated character region may also be displayed using a format represented by a set of coordinates of a figure surrounding the region. The character estimation unit 10 includes a feature extraction unit 11 (first extraction unit) and a first estimation unit 12.

[0026] The feature extraction unit 11 extracts features from an input image using a feature extraction model 111 (first feature extraction model). For example, the feature extraction unit 11 extracts features from an image (second image) of training data D1.

[0027] The first estimation unit 12 has a character estimation model 121 (first character estimation model) that estimates a character area of ​​an image when the feature amounts extracted from the image by the feature extraction unit 11 are input. The first estimation unit 12 uses the character estimation model 121 to estimate a character area of ​​the image of the teacher data D1 based on the feature amounts extracted from the image of the teacher data D1.

[0028] The feature extraction model 111 and the character estimation model 121 are configured, for example, by a convolutional neural network (see, for example, Non-Patent Document 1), and are defined by dividing the feature extraction model 111 and the character estimation model 121 with the output of a predetermined layer as the boundary. In other words, the feature extraction model 111 is configured by the front-stage part of a first neural network divided at a predetermined layer. The character estimation model 121 is configured by the rear-stage part of the first neural network. Hereinafter, the output of the feature extraction unit 11 will be referred to as an intermediate feature.

[0029] The object estimation unit 20 receives an image (third image) of object estimation training data D2 as input, estimates an object region of the image, and an object label corresponding to the object region. The object estimation unit 20 outputs the estimated object region and the object label corresponding to the object region as an estimated object region and an estimated object label.

[0030] The training data D2 for object estimation is data consisting of a set of an image and a corresponding correct object region and correct object label. The correct object region and correct object label, as well as the estimated object region and estimated object label, are represented using a heat map format expressed as an object center point map of the target object, and an object position offset map and object size map (map representing size) of the target object (see, for example, Reference 1). Reference 1: X. Zhou, D. Wang, P. Krahenbuhl, “Objects as Points,” arXiv preprint, arXiv:1904.07850, 2019.

[0031] The object center point map is a heat map that indicates the probability that each pixel in an image is the center point of an object in the image. The object position offset map is a map that indicates the offset of the position of an object centered on each pixel in the image. The object size map is a map that indicates the size of an object. Furthermore, the correct object region and correct object label, and the estimated object region and estimated object label may be represented using a format that represents a set of coordinates of four points of a rectangle surrounding the region and an object label.

[0032] The object estimation unit 20 has a feature extraction unit 11 shared with the character estimation unit 10 and a second estimation unit 21 .

[0033] The feature extraction unit 11 uses a feature extraction model 111 to extract feature amounts from the input image of the training data D2 for object estimation.

[0034] The second estimation unit 21 has an object estimation model 211 that, when input with the feature amounts (intermediate features) extracted from an image by the feature extraction unit 11, estimates an object region of the image and an object label corresponding to the object region. The second estimation unit 21 uses the object estimation model 211 to estimate the object region of the image and the object label corresponding to the object region based on the feature amounts (intermediate features) extracted from the image by the feature extraction unit 11. The object estimation model 211 is configured with a second neural network such as a convolutional neural network.

[0035] Character estimation parameter update unit 30 updates the parameters of feature extraction model 111 and character estimation model 121 by performing supervised learning. For example, character estimation parameter update unit 30 receives as input the estimated character region by first estimation unit 12 and the correct character region of the image in training data D1. Character estimation parameter update unit 30 updates the parameters of feature extraction model 111 and character estimation model 121 based on the correct character region and the estimated character region. Character estimation parameter update unit 30 updates the parameters of feature extraction model 111 and character estimation model 121 by performing supervised learning using the correct character region as correct data. This process is typical of supervised learning.

[0036] The character estimation parameter update unit 30 derives updated parameters of the neural network (feature extraction model 111 and character estimation model 121) of the character estimation unit 10 so as to reduce the value of a predefined error function, and outputs the updated parameters as the updated parameters of the feature extraction model 111 and the updated parameters of the character estimation model 121.

[0037] When the updated parameters of the feature extraction model 111 and the character estimation model 121 are input, the character estimation unit 10 updates the parameters of the feature extraction model 111 and the character estimation model 121 to the updated parameters.

[0038] The error function used by character estimation parameter update unit 30 may be any function whose value decreases as the difference between the estimated character region and the correct character region decreases. For example, when using a heat map format as in Non-Patent Document 1, the error function may be defined as the difference between each heat map corresponding to the estimated character region and each heat map corresponding to the correct character region.

[0039] The object estimation parameter update unit 40 updates the parameters of the feature extraction model 111 and the parameters of the object estimation model 211 by performing supervised learning. For example, the object estimation parameter update unit 40 receives as input the estimated object region and estimated object label by the second estimation unit 21, and the correct object region and correct object label of the image in the teacher data D2. The object estimation parameter update unit 40 updates the parameters of the feature extraction model 111 and the parameters of the object estimation model 211 based on the estimated object region and estimated object label, and the correct object region and correct object label. The object estimation parameter update unit 40 updates the parameters of the feature extraction model 111 and the parameters of the object estimation model 211 by performing supervised learning using the correct object region and correct object label as correct data. This processing is typical of supervised learning.

[0040] The object estimation parameter update unit 40 derives updated parameters of the neural network (feature extraction model 111 and object estimation model 211) of the object estimation unit 20 so as to reduce the value of a predefined error function, and outputs the updated parameters as the updated parameters of the feature extraction model 111 and the updated parameters of the object estimation model 211.

[0041] When the updated parameters of the feature extraction model 111 and the object estimation model 211 are input, the object estimation unit 20 updates the parameters of the feature extraction model 111 and the object estimation model 211 to the updated parameters.

[0042] The error function used by the object estimation parameter update unit 40 may be any function whose value decreases as the difference between the estimated object region and estimated object label and the correct object region and correct object label decreases. For example, when a heat map format is used as in Reference 1, the error function may be defined as the difference between each heat map representing the estimated object region and estimated object label and each heat map representing the correct object region and correct object label.

[0043] [Learning Process] FIG. 4 is a flowchart showing the processing procedure of the learning process according to the first embodiment.

[0044] 4, in the learning device 100, when an image of teacher data D1 is input, the feature extraction unit 11 executes a feature extraction process to extract intermediate features from the image of teacher data D1 (step S11). The first estimation unit 12 executes a character estimation process to estimate a character region in the image of teacher data D1 based on the intermediate features extracted from the image of teacher data D1 in step S11 (step S12).

[0045] The character estimation parameter update unit 30 performs a character estimation parameter update process to update the parameters of the feature extraction model 111 and the parameters of the character estimation model 121 based on the correct character area of ​​the image of the training data D1 and the estimated character area estimated in step S12 (step S13).

[0046] When an image of the training data D2 is input, the second estimation unit 21 executes a feature extraction process to extract intermediate features of the image (step S14).The second estimation unit 21 executes an object estimation process to estimate an object region of the image of the training data D2 and an object label corresponding to the object region based on the intermediate features extracted from the image of the training data D2 (step S15).

[0047] The object estimation parameter update unit 40 performs an object estimation parameter update process to update the parameters of the feature extraction model 111 and the parameters of the object estimation model 211 based on the correct object region and correct object label of the image of the training data D2 and the estimated object region and estimated object label estimated in step S15 (step S16).

[0048] The learning device 100 determines whether a condition for terminating learning is met (step S17). The condition for terminating learning may be, for example, until a fixed number of epochs is reached, or until the value of the error function for the development data, which is part of the training data, stops decreasing a certain number of times.

[0049] If the condition for ending learning is not met (step S17: No), the learning device 100 repeats the processes of steps S11 to S16 until the condition for the learning process is met. If the condition for ending learning is met (step S17: Yes), the learning device 100 ends the learning process.

[0050] 4 is an example of the learning process according to embodiment 1. For example, the processes of steps S11 to S13 and the processes of steps S14 to S16 may be performed in parallel or in any order.

[0051] [Estimation Device] Next, a description will be given of an estimation device according to embodiment 1. Fig. 5 is a diagram showing an example of the configuration of the estimation device according to embodiment 1.

[0052] The estimation device 200 according to the first embodiment is realized, for example, by loading a predetermined program into a computer or the like including a ROM, a RAM, a CPU, etc., and causing the CPU to execute the predetermined program. The estimation device 200 also has a communication interface for transmitting and receiving various types of information to and from other devices connected via a network, etc.

[0053] 5, the estimation device 200 includes a character estimation unit 10A. The character estimation unit 10A receives an image (first image) as input, estimates a character region in the image, and outputs the estimated character region.

[0054] Character estimation unit 10A has a feature extraction unit 11A (second extraction unit) and a third estimation unit 12A. Feature extraction unit 11A has a feature extraction model 111A (second feature extraction model) and extracts features from an input image (first image). Third estimation unit 12A has a character estimation model 121A (second character estimation model) and estimates a character region of the input image based on the features extracted by feature extraction unit 11A.

[0055] Similar to the learning device 100, the feature extraction model 111A is configured from the front-stage part of a neural network (third neural network) divided into predetermined layers, and the character estimation model 121A is configured from the rear-stage part of the neural network (third neural network). Hereinafter, the feature amounts output by the feature extraction model 111A will be referred to as intermediate features.

[0056] For feature extraction model 111A and character estimation model 121A, model parameters of feature extraction model 111 and character estimation model 121, respectively, that have been updated in learning device 100. Therefore, feature extraction model 111A and character estimation model 121A can be said to be character estimation models that have acquired information about what types of objects on which characters are likely to exist.

[0057] [Estimation Processing] Fig. 6 is a flowchart showing the processing steps of the estimation processing according to Embodiment 1. As shown in Fig. 6, in the estimation device 200, when an image to be estimated is input, the feature extraction unit 11A executes feature extraction processing to extract intermediate features of the image (step S21).

[0058] The third estimation unit 12A performs a character estimation process to estimate a character region of the image based on the intermediate features extracted from the image in step S21 (step S22). Then, the estimation device 200 outputs the estimated character region.

[0059] [Effects of First Embodiment] Conventional character detection techniques have been learned without explicitly providing knowledge of what types of objects character regions are likely to exist in and what types of objects character regions are unlikely to exist in.

[0060] In contrast, in the first embodiment, models capable of character detection and object detection are simultaneously trained as models that share an internal feature extraction portion. This improves the accuracy of character detection by having the character detection model acquire information about the types of objects on which characters are likely to exist, such as the fact that animal textures are not character regions and that character regions are likely to exist on signs. This is particularly effective when the estimated character regions, object regions, and correct object labels are all displayed in a heat map format that preserves spatial features.

[0061] Second Embodiment Next, a second embodiment will be described. In the second embodiment, learning is performed using training data in which an image, a correct character region, a correct object region, and a correct object label are grouped together.

[0062] [Learning Device] Figure 7 is a diagram showing an example of the configuration of a learning device according to embodiment 2. The learning device 300 according to embodiment 2 is realized, for example, by loading a predetermined program into a computer or the like including a ROM, RAM, CPU, etc., and having the CPU execute the predetermined program. The learning device 300 also has a communication interface for transmitting and receiving various information to and from other devices connected via a network, etc.

[0063] The learning device 300 uses training data D3 consisting of a set of an image and a correct character region, a correct object region, and a correct object label corresponding to the image to perform learning of the feature extraction model 111, the character estimation model 121, and the object estimation model 211.

[0064] The character estimation unit 10 and the object estimation unit 20 receive an image of teacher data D3 as input. The character estimation unit 10 estimates a character region in the image of teacher data D3 and outputs it as an estimated character region. The object estimation unit 20 estimates an object region in the image of teacher data D3 and an object label corresponding to the object region, and outputs it as an estimated object region and an estimated object label.

[0065] The learning device 300 has a parameter update unit 330 (update unit) instead of the character estimation parameter update unit 30 and the object estimation parameter update unit 40 of the learning device 100 shown in FIG.

[0066] The parameter update unit 330 receives as input the estimated character area estimated by the first estimation unit 12, the estimated object area and estimated object label estimated by the second estimation unit 21, and the correct character area, correct object area, and correct object label of the image of the training data D3.

[0067] The parameter update unit 330 performs supervised learning to update the parameters of the feature extraction model 111, the character estimation model 121, and the object estimation model 211. The parameter update unit 330 updates the parameters of the feature extraction model 111, the character estimation model 121, and the object estimation model 211 based on the estimated character region, the estimated object region, the estimated object label, and the correct character region, the correct object region, and the correct object label. The parameter update unit 330 updates the parameters of the feature extraction model 111, the character estimation model 121, and the object estimation model 211 by performing supervised learning using the correct character region, the correct object region, and the correct object label as correct data. This processing is typical of supervised learning.

[0068] Parameter update unit 330 derives updated parameters for the neural networks of the character estimation unit and object estimation unit (feature extraction model 111, character estimation model 121, and object estimation model 211) so as to reduce the value of a predefined error function, and outputs them as updated parameters for feature extraction model 111, updated parameters for character estimation model 121, and updated parameters for object estimation model 211. The error function may be any function whose value decreases as the difference between the estimated character region, estimated object region, and estimated object label and the correct character region, correct object region, and correct object label decreases.

[0069] When the updated parameters of the feature extraction model 111, the updated parameters of the character estimation model 121, and the updated parameters of the object estimation model 211 are input, the character estimation unit 10 and the object estimation unit 20 update their respective networks to the updated parameters.

[0070] The estimation device in embodiment 2 has the same configuration as the estimation device shown in FIG. 5 , and the model parameters of feature extraction model 111A and character estimation model 121A are set by learning device 300, with the parameters updated for feature extraction model 111 and character estimation model 121.

[0071] [Learning Process] FIG. 8 is a flowchart showing the processing procedure of the learning process according to the second embodiment.

[0072] As shown in FIG. 8, in the learning device 300, when an image of the teacher data D3 is input, the feature extraction unit 11 executes a feature extraction process to extract intermediate features of the image of the teacher data D3 (step S31).

[0073] The first estimation unit 12 performs a character estimation process to estimate a character region in the image of the training data D3 based on the intermediate features extracted from the image of the training data D3 in step S31 (step S32). The second estimation unit 21 performs an object estimation process to estimate an object region in the image of the training data D3 and an object label corresponding to the object region based on the intermediate features extracted from the image of the training data D3 in step S31 (step S33).

[0074] The parameter update unit 330 receives as input the correct character region, correct object region, and correct object label of the image of the training data D3. The parameter update unit 330 also receives as input the estimated character region of the image of the training data D3 estimated in step S32, and the estimated object region of the image of the training data D3 estimated in step S33 and the estimated object label corresponding to the estimated object region. The parameter update unit 330 performs a parameter update process to update the parameters of the feature extraction model 111, the character estimation model 121, and the object estimation model 211 based on the estimated character region, estimated object region, and estimated object label estimated in steps S32 and S33, as well as the correct character region, correct object region, and correct object label (step S34). Step S35 is the same process as step S17 in FIG. 4.

[0075] 8 is an example of the learning process according to embodiment 2. For example, the process of step S32 and the process of step S33 may be performed in any order.

[0076] [Effects of Embodiment 2] As in this embodiment 2, even when learning is performed using training data that is a set of an image, a correct character region, a correct object region, and a correct object label, the same effects as in embodiment 1 are achieved.

[0077] Note that Embodiments 1 and 2 may be applied simultaneously. That is, some of the training data may have annotations of correct character regions, some may have annotations of correct object regions and correct object labels, and the rest may have all annotations. In this case, learning may be performed by appropriately switching between the character estimation parameter update process, the object estimation parameter update process, and the parameter update process.

[0078] [Embodiment 3] Next, a description will be given of embodiment 3. In embodiment 3, a correct object region and a correct object label are generated in a pseudo manner by estimating an object region and an object label of an image in training data D1 for character estimation.

[0079] [Learning Device] Fig. 9 is a diagram showing an example of the configuration of a learning device according to embodiment 3. The learning device 400 according to embodiment 3 is realized, for example, by loading a predetermined program into a computer or the like including a ROM, RAM, CPU, etc., and having the CPU execute the predetermined program. The learning device 400 also has a communication interface for transmitting and receiving various information to and from other devices connected via a network, etc.

[0080] The learning device 400 uses, as training data, training data D1 for character estimation, which is composed of a pair of an image and a correct character region corresponding to the image.

[0081] Compared to learning device 300, learning device 400 further includes a teacher data generation unit 450 (fourth estimation unit).

[0082] The teacher data generation unit 450 has a pre-trained object detector and estimates the object region and object label of an input image. The teacher data generation unit 450 receives an image of teacher data D1 for character estimation as input and estimates the object region and object label of the image of teacher data D1. The teacher data generation unit 450 outputs the estimated object region and object label to the parameter update unit 330 as a pseudo-correct object region and a pseudo-correct object label. The pseudo-correct object region and the pseudo-correct object label are used as teacher data. Any object detector can be used as the trained object detector.

[0083] Parameter update unit 330 receives input of the estimated character region estimated by first estimation unit 12, the estimated object region and estimated object label estimated by second estimation unit 21, the correct character region of the image of teacher data D1, and the pseudo-correct object region and pseudo-correct object label generated by teacher data generation unit 450. Parameter update unit 330 uses the correct character region of the image of teacher data D1 and the pseudo-correct object region and pseudo-correct object label generated by teacher data generation unit 450 as teacher data, and performs processing similar to that of embodiment 2.

[0084] The parameter update unit 330 updates the parameters of the feature extraction model 111, the character estimation model 121, and the object estimation model 211 based on the estimated character region, estimated object region, estimated object label, and the correct character region, pseudo correct object region, and pseudo correct object label.

[0085] The estimation device in embodiment 3 has the same configuration as the estimation device shown in FIG. 5 , and the model parameters of feature extraction model 111A and character estimation model 121A are set by learning device 400, with the parameters updated for feature extraction model 111 and character estimation model 121.

[0086] [Learning Process] FIG. 10 is a flowchart showing the processing procedure of the learning process according to the third embodiment.

[0087] As shown in Figure 10, in the learning device 400, when an image of teacher data D1 is input, the teacher data generation unit 450 performs a teacher data generation process to estimate a pseudo-ground-truth object region and a pseudo-ground-truth object label of the image of teacher data D1 and generate teacher data (step S41).

[0088] Steps S42 to S44 in FIG. 10 are the same processes as steps S31 to S33 shown in FIG.

[0089] The parameter update unit 330 uses the correct character region of the image in the training data D1 and the pseudo correct object region and pseudo correct object label generated in step S41 as training data to perform a parameter update process to update the parameters of the feature extraction model 111, the character estimation model 121, and the object estimation model 211 (step S45). Step S46 is the same process as step S17 in FIG. 4.

[0090] [Effects of Embodiment 3] In this way, in Embodiment 3, by using a trained object detector, it is possible to train while pseudo-generating object detection labels based on the training data D1 for character estimation. Therefore, in Embodiment 3, it is possible to easily provide object estimation information to each model without collecting new training data in addition to the training data D1 for character estimation.

[0091] Note that the first and second embodiments and the third embodiment may be applied simultaneously. That is, some of the training data may have annotations of correct character regions, and pseudo-correct object regions and pseudo-correct object labels may be pseudo-annotated, or some of the training data may have annotations of correct object regions and correct object labels, and the rest may have all annotations. In this case, learning may be performed by appropriately switching between the object estimation parameter update process (step S16 in FIG. 4 ), the parameter update process in the second embodiment (step S34 in FIG. 8 ), and the parameter update process in the third embodiment (step S45 in FIG. 10 ).

[0092] Furthermore, when using pseudo-ground-truth object regions and pseudo-ground-truth object labels, learning may be performed to minimize the impact of errors in the pseudo-ground-truth object regions and pseudo-ground-truth object labels, for example, by reducing the weight of the error function related to object detection or adjusting the weight of the error function corresponding to the pseudo-ground-truth object regions and pseudo-ground-truth object labels according to the reliability output by the trained object detector.

[0093] [System Configuration of the Embodiments] The components of the learning devices 100, 300, 400 and the estimation device 200 shown above are conceptual functional components and do not necessarily need to be physically configured as shown in the drawings. In other words, the specific forms of distribution and integration of the functions of the learning devices 100, 300, 400 and the estimation device 200 are not limited to those shown in the drawings, and all or part of them can be functionally or physically distributed or integrated in any unit depending on various loads, usage conditions, etc.

[0094] Furthermore, all or any part of the processes performed by learning devices 100, 300, 400 and estimation device 200 may be realized by a CPU and a program analyzed and executed by the CPU. Furthermore, each process performed by learning device 100 may be realized as hardware using wired logic.

[0095] Furthermore, among the processes described in the embodiments, all or part of the processes described as being performed automatically can be performed manually. Alternatively, all or part of the processes described as being performed manually can be performed automatically using a known method. In addition, the process procedures, control procedures, specific names, and information including various data and parameters described above and illustrated can be changed as appropriate unless otherwise specified.

[0096] 11 is a diagram showing an example of a computer in which the learning devices 100, 300, 400 and the estimation device 200 are realized by executing a program. The computer 1000 includes, for example, a memory 1010 and a CPU 1020. The computer 1000 also includes a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected by a bus 1080.

[0097] The memory 1010 includes a ROM 1011 and a RAM 1012. The ROM 1011 stores a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to a hard disk drive 1090. The disk drive interface 1040 is connected to a disk drive 1100. A removable storage medium such as a magnetic disk or optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to a mouse 1110 and a keyboard 1120, for example. The video adapter 1060 is connected to a display 1130, for example.

[0098] The hard disk drive 1090 stores, for example, an OS (Operating System) 1091, an application program 1092, a program module 1093, and program data 1094. That is, the program that defines each process of the learning device 100 is implemented as a program module 1093 in which code executable by the computer 1000 is written. The program module 1093 is stored, for example, on the hard disk drive 1090. For example, a program module 1093 for executing processes similar to those of the functional configuration of the learning device 100 is stored on the hard disk drive 1090. Note that the hard disk drive 1090 may be replaced by an SSD (Solid State Drive).

[0099] Furthermore, setting data used in the processing of the above-described embodiment is stored as program data 1094, for example, in memory 1010 or hard disk drive 1090. Then, CPU 1020 reads out program module 1093 or program data 1094 stored in memory 1010 or hard disk drive 1090 into RAM 1012 as necessary and executes them.

[0100] The program module 1093 and program data 1094 do not necessarily have to be stored in the hard disk drive 1090, but may also be stored in, for example, a removable storage medium and read by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and program data 1094 may be stored in another computer connected via a network (such as a local area network (LAN) or a wide area network (WAN)). The program module 1093 and program data 1094 may then be read by the CPU 1020 from the other computer via the network interface 1070.

[0101] Although the present invention has been described above as an embodiment, the present invention is not limited to the descriptions and drawings that form part of the disclosure of the present invention. In other words, other embodiments, examples, and operational techniques that are made by those skilled in the art based on the present invention are all included in the scope of the present invention.

[0102] REFERENCE SIGNS LIST 10, 10A Character estimation unit 11, 11A Feature extraction unit 12 First estimation unit 12A Third estimation unit 20 Object estimation unit 21 Second estimation unit 30 Character estimation parameter update unit 40 Object estimation parameter update unit 100, 300, 400 Learning device 111, 111A Feature extraction model 121, 121A Character estimation model 200 Estimation device 211 Object estimation model 330 Parameter update unit 450 Teacher data generation unit

Claims

1. A learning device comprising: a first extraction unit that uses a first feature extraction model to extract features from an image of teacher data; a first estimation unit that uses a first character estimation model to estimate a character region of the image of the teacher data based on the features; a second estimation unit that uses an object estimation model to estimate an object region of the image of the teacher data and an object label corresponding to the object region based on the features; and an update unit that updates parameters of the first feature extraction model, parameters of the first character estimation model, and parameters of the object estimation model based on estimation results by the first estimation unit and the estimation results by the second estimation unit and ground truth data of the image of the teacher data.

2. An estimation device comprising: a second extraction unit that extracts features from a first image using a second feature extraction model; and a third estimation unit that estimates a character region of the first image based on the features using a second character estimation model, wherein the second feature extraction model and the second character estimation model are models whose parameters are updated based on the character region of the image of the teacher data estimated by the second character estimation model based on the features of the image of the teacher data extracted by the second feature extraction model, and the object region of the image of the teacher data and the object label corresponding to the object region estimated by an object estimation model based on the features of the image of the teacher data extracted by the second feature extraction model, and ground truth data for the image of the teacher data.

3. The learning device described in claim 1, characterized in that the first extraction unit extracts features of a second image of teacher data to which a correct character region is associated, and extracts features of a third image of teacher data to which a correct object region and a correct object label are associated, the first estimation unit estimates a character region of the second image, the second estimation unit estimates an object region of the third image and an object label corresponding to the object region, and the update unit has: a first update unit that updates parameters of the first feature extraction model and parameters of the first character estimation model based on the character region estimated by the first estimation unit and the correct character region of the second image, and a second update unit that updates parameters of the first feature extraction model and parameters of the object estimation model based on the object region estimated by the second estimation unit and the object label corresponding to the object region, and the correct object region and correct object label of the third image.

4. The learning device described in claim 1, further comprising a fourth estimation unit that receives as input an image of teacher data to which a correct character region is associated, and estimates an object region and object label of the image of the teacher data using a pre-trained object detector, wherein the update unit updates the parameters of the first feature extraction model, the parameters of the first character estimation model, and the parameters of the object estimation model using the correct character region associated with the teacher data and the object region and object label estimated by the fourth estimation unit as correct data for the teacher data.

5. A learning method executed by a learning device, comprising: a first extraction step of extracting features from an image of teacher data using a first feature extraction model; a first estimation step of estimating a character region of the image of teacher data based on the features using a first character estimation model; a second estimation step of estimating an object region of the image of teacher data and an object label corresponding to the object region based on the features using an object estimation model; and an update step of updating parameters of the first feature extraction model, parameters of the first character estimation model, and parameters of the object estimation model based on the estimation results in the first estimation step and the estimation results in the second estimation step, and ground truth data of the image of teacher data.

6. An estimation method executed by an estimation device, comprising: a second extraction step of extracting features from a first image using a second feature extraction model; and a third estimation step of estimating a character region of the first image based on the features using a second character estimation model, wherein the second feature extraction model and the second character estimation model are models whose parameters are updated based on the character region of the image of the teacher data estimated by the second character estimation model based on the features of the image of the teacher data extracted by the second feature extraction model, and the object region of the image of the teacher data and the object label corresponding to the object region estimated by an object estimation model based on the features of the image of the teacher data extracted by the second feature extraction model, and ground-truth data of the image of the teacher data.

7. A program for causing a computer to function as the learning device according to claim 1, 3 or 4, or the estimation device according to claim 2.

Citation Information

Patent Citations

  • Character attribute estimation device and character attribute estimation program

    JP2017117340A

  • Object detection and image classification based optical character recognition

    US20210232814A1