Display wording inspection device and program for display wording inspection

The display wording inspection device and program use AI for character segmentation and detection to ensure 100% accuracy in pass/fail judgments, reducing human error and evaluation steps by focusing inspections on identified failures.

JP2024151655AActive Publication Date: 2024-10-25TOSHIBA INFORMATION SYSTEMS (JAPAN) CORPORATION
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
JP2023065173
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-12
Publication Date
2024-10-25
Estimated Expiration
2043-04-12

AI Technical Summary

Technical Problem

Existing display wording inspection methods, particularly those using OCR, fail to achieve 100% accuracy, leading to potential errors in pass/fail judgments, and existing inspection devices do not adequately reduce human error or man-hours.

Method used

A display wording inspection device and program that utilizes AI for character segmentation, character image generation, and match/mismatch detection based on character codes and color information to ensure 100% accuracy by limiting visual inspection to areas identified as failures.

Benefits of technology

Guarantees 100% accuracy in pass/fail judgments by narrowing the scope of visual inspection to areas determined as failures, reducing human error and the number of evaluation steps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024151655000001_ABST
    Figure 2024151655000001_ABST
Patent Text Reader

Abstract

To guarantee 100% accuracy for pass assessment in a pass / fail assessment and narrow the range visually confirmable by human to only a location having failed in assessment.SOLUTION: The present invention comprises: character cutting-out means for reading a character image from a character string image composed of regular character string images that are used for displaying a character string on the display screen of a display device, and cutting out the character image in character units; character image generation means for generating a character image in character units on the basis of the character codes and the font data of character strings prepared in advance for display on the display screen; character code acquisition means for acquiring a character code on the basis of the degree of similarity of the cut-out character image to the generated character image; and match / mismatch detection means for detecting a match and a mismatch between wording by characters in character string units represented by the character codes obtained by the character code acquisition means and wording by characters in the character string units represented by character codes of character strings prepared in advance for display on the display screen.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a display wording inspection device and a display wording inspection program. [Background technology]

[0002] For example, automotive cockpits use products equipped with TFT panels to convey various warning information to the driver. The warnings displayed on these TFT panels include warnings related to driving safety, and the content of the warnings must be displayed correctly, so high reliability is also required for the inspection of warning displays.

[0003] In conventional inspections, a human would visually inspect the product and determine if it passed. However, the process of checking to ensure that no degradation has occurred has become automated, allowing the inspection to be carried out efficiently and without human error. However, the current situation is that the initial inspection is still carried out visually by a human.

[0004] Conventionally, OCR has been considered as a technology related to the automatic inspection of text display. However, there is a problem with OCR recognition that it is not possible to expect 100% accuracy. For example, the pass / fail judgment itself may contain errors, so in an inspection that requires 100% accuracy, an inspection method using OCR, which may contain errors, cannot be adopted.

[0005] Patent Document 1 also discloses an inspection device for characters displayed on a display device. This device captures a character image displayed on the display device, normalizes the character image of the captured image (hereinafter referred to as a captured image), and stores it in a first RAM. A second storage unit stores data of a second font. A character corresponding to a character to be inspected is a character corresponding to a character code read from a captured image including a character image of a first font. A drawing unit calls the second font from the second storage unit to draw a character corresponding to the character to be inspected, and passes an image of the drawn character of the second font to a comparison unit.

[0006] The comparison unit acquires character images of the first font from the first RAM and character images of the second font from the drawing unit, and performs a comparison process between the character images of the first font and the character images of the second font. The comparison of the character images is performed one by one for each character corresponding to each character code. In other words, the comparison unit performs a comparison process between all character images of the first font and all character images of the second font corresponding to each character code. The comparison unit calculates a difference ratio D from the difference between each pixel of both images and compares each character image using a predetermined formula. The determination unit determines the degree of match between the character images of the first font and the character images of the second font based on the results of the comparison process by the comparison unit. Patent Document 1 also discloses a method of directly acquiring data of the first font without relying on capture.

[0007] Furthermore, Patent Document 2 discloses an inspection device that properly inspects whether a document containing text is correctly rendered by a browser. The inspection device provides the document to a browser and displays it on the screen or renders it in the browser's virtual view, thereby acquiring an image of the rendered document, performs character recognition on the acquired image to acquire recognized text, extracts body text to be rendered from the document, and compares the recognized text with the body text to determine whether the document has been correctly rendered by the browser. This inspection device can properly inspect whether a document containing text is correctly rendered by a browser.

[0008] The recognition unit performs character recognition on the image acquired by the acquisition unit to acquire the text drawn on the image as recognized text. The recognition unit, for example, uses morphological analysis to divide the image acquired by the acquisition unit into images representing individual characters and extracts features (vectors indicating the features) used for character recognition from the divided images. Character recognition is then performed by comparing the extracted features with features of characters pre-stored in a storage device. The features used for character recognition include directional line element features utilizing the outlines of the characters. The recognition unit also acquires position information indicating the position within the image from which each character obtained as a result of character recognition was recognized. If a defect in the drawing of a character is found, this position information is used to display a warning indicating that there is a defect in the drawing of the character at or around the position of the defect on the screen of the display device.

[0009] Furthermore, Patent Document 3 discloses an operation difference information generation device that accurately generates operation difference information between web browsers for each web specification, in consideration of the fact that while the general operation of each web specification is defined in the specification, different operation (operational differences) may occur between web browsers when each web specification is actually run in a web browser that displays a web page. Examples of operation differences include display misalignment, garbled characters, and the occurrence or non-occurrence of an event. This operation difference information generation device includes a web page decomposition unit, a single-browser operation difference detection unit, a multi-browser operation difference detection unit, and an operation difference information storage unit. The web page decomposition unit receives an input web page as input and generates a base web page and candidate evaluation web pages based on the operation difference information (accumulated operation difference information) stored in the operation difference information storage unit.

[0010] The single-browser operational difference detection unit receives as input a base web page and a candidate evaluation web page, and outputs the candidate evaluation web page as the evaluation web page if there is an operational difference between the two input web pages in at least one or more web browsers. Through the processing of this single-browser operational difference detection unit, from the candidate evaluation web pages, those that have operational differences due to factors other than the web specifications are excluded, and an evaluation web page suitable for checking whether there is an operational difference between web browsers due only to the web specifications is generated.

[0011] The multi-browser behavioral difference detection unit has a function of checking the behavioral differences between two or more different web browsers using an evaluation web page as input and generating behavioral difference information that summarizes the checking results. Therefore, the behavioral difference information generated by the multi-browser behavioral difference detection unit indicates the behavioral differences between multiple types of web browsers for the web specification to be evaluated.

[0012] The operation difference information storage unit functions as a repository for storing the operation difference information generated by the multi-browser operation difference detection unit. The operation difference information storage unit can update known operation difference information by adding and storing newly generated operation difference information to the operation difference accumulation information.

[0013] The behavioral difference information display unit has a function of outputting the behavioral difference information (accumulated behavioral difference information) stored in the behavioral difference information storage unit. The behavioral difference information display unit reads the accumulated behavioral difference information stored in the behavioral difference information storage unit and displays and outputs the information on a display device, and can also output the information to memory, an external storage device, and a network communication device. Thus, in the behavioral difference information generation device, the functions of each unit (processing by each unit) are called in the order of the Web page decomposition unit, single-browser behavioral difference detection unit, and multi-browser behavioral difference detection unit, and the accumulated behavioral difference information is displayed.

[0014] As described above, the inspection device aims to improve the inspection quality accuracy of the inspection function, but does not aim to reduce the man-hours of the inspector who ultimately performs the inspection. [Prior art documents] [Patent documents]

[0015] [Patent Document 1] Japanese Patent Application Publication No. 2018-205673 [Patent Document 2] Patent No. 6356924 [Patent Document 3] Patent No. 6993284 Summary of the Invention [Problem to be solved by the invention]

[0016] Even if an inspection device makes a mistake in the judgment result in a process where 100% accuracy cannot be expected, by devising a way to make an NG judgment in the next process where 100% accuracy can be expected, it may judge a pass case as NG, but it will not erroneously judge an NG as a pass, so 100% accuracy can be ensured for the pass judgment.By adopting an automatic inspection device such as the one described above, visual inspection can be limited to only those parts that have been judged NG by the automatic inspection.

[0017] The present invention is based on the above-mentioned idea and has invented a display wording inspection device and a display wording inspection program, and its purpose is to provide a display wording inspection device and a display wording inspection program that can guarantee 100% accuracy in pass / fail judgment and can narrow the range of visual inspection by humans to only the parts that are judged to be fail, thereby reducing the possibility of human error and the amount of evaluation work required. [Means for solving the problem]

[0018] The display text inspection device according to the present invention is characterized by comprising: character extraction means for reading character images from a character string image composed of a normal character string image that forms the basis for displaying a character string on a display screen of a display device, and extracting the character images into character units; character image generation means for generating character images into character units based on the character code and font data of a character string prepared in advance to be displayed on the display screen; character code acquisition means for obtaining character codes corresponding to the extracted character images based on the similarity between the character images extracted by the character extraction means and the character images generated by the character image generation means; and match / mismatch detection means for detecting match / mismatch between a word made up of characters in character string units using the character code obtained by the character code acquisition means and a word made up of characters in character string units using the character code of a character string prepared in advance to be displayed on the display screen.

[0019] In the display wording inspection device according to the present invention, the character extraction means extracts characters by AI.

[0020] In the display text inspection device according to the present invention, the character extraction means extracts text on a character-by-character basis using the display area frame in which the text on the screen is displayed, the distance to the outline of the characters displayed in this display area frame, and the font as explanatory variables.

[0021] In the display wording inspection device according to the present invention, the match / mismatch detection means detects match / mismatch based on color information of the characters displayed in the display area frame.

[0022] The display wording inspection device according to the present invention is characterized in that it inspects character strings spanning multiple lines.

[0023] In the display wording inspection device according to the present invention, the match / mismatch detection means displays the detected match / mismatch result in percentage.

[0024] In the display text inspection device according to the present invention, the character code acquisition means is characterized in that it obtains the similarity between the character image extracted by the character extraction means and the character image generated by the character image generation means.

[0025] The display text inspection program of the present invention is characterized in that it causes a computer to function as: character extraction means for reading character images from a character string image composed of a normal character string image that forms the basis for displaying a character string on the display screen of a display device, and extracting them into character units; character image generation means for generating character images for each character based on the character code and font data of a character string prepared in advance to be displayed on the display screen; character code acquisition means for obtaining character codes corresponding to the extracted character images based on the similarity between the character images extracted by the character extraction means and the character images generated by the character image generation means; and match / mismatch detection means for detecting match / mismatch between a word made up of characters for each character string based on the character code obtained by the character code acquisition means and a word made up of characters for each character string based on the character code of a character string prepared in advance to be displayed on the display screen.

[0026] The display text inspection program according to the present invention is characterized in that it causes the computer to function as the character extraction means to extract characters by AI.

[0027] The display text inspection program of the present invention is characterized in that the computer is made to function as the character extraction means to extract text on a character-by-character basis using a display area frame in which text written on the screen is displayed, the distance to the outline of the characters displayed in this display area frame, and the font as explanatory variables.

[0028] The display text inspection program of the present invention is characterized in that it causes the computer to function as the match / mismatch detection means to detect match / mismatch based on color information of the characters displayed in the display area frame.

[0029] The display text inspection program of the present invention is characterized in that it causes the computer to function as the character extraction means, the character image generation means, the character code acquisition means, and the match / mismatch detection means to process character strings spanning multiple lines.

[0030] The display wording inspection program according to the present invention is characterized in that it causes the computer to function as the match / mismatch detection means to display the detected match / mismatch result in percentage.

[0031] The display text inspection program of the present invention is characterized in that the computer is made to function as the character code acquisition means to obtain the similarity between the character image extracted by the character extraction means and the character image generated by the character image generation means. [Brief explanation of the drawings]

[0032] [Figure 1] FIG. 1 is a block diagram of a display wording inspection device according to an embodiment of the present invention. [Figure 2] FIG. 2 is a block diagram of a computer that realizes the display wording inspection device according to the present embodiment. [Figure 3] 4 is a flowchart showing the operation of the display wording inspection device according to the present embodiment, which is configured by a computer. [Figure 4] 3A and 3B are diagrams showing a screen of the display device of the embodiment, character strings displayed on the screen, and detection frames. [Figure 5] 3A and 3B are diagrams showing an inference rectangle and a circumscribing rectangle used for character segmentation by the display text inspection device according to the present embodiment. [Figure 6] 3A to 3C are diagrams showing the frame lines of a detection frame, an inference rectangle, and a circumscribing frame used by the display text inspection device according to the present embodiment. [Figure 7] 10 is a diagram showing determination information obtained in response to a character string of two rows and two columns by the display text inspection device according to the present embodiment. FIG. [Figure 8] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 9]10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 10] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 11] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 12] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 13] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 14] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 15] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 16] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 17] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 18] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 19] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 20] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 21] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 22] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 23] 10A and 10B are diagrams showing determination information around a character frame obtained by the display text inspection device according to the present embodiment. [Figure 24]1 is a diagram showing a main part of data or information accumulated by a display wording inspection device according to an embodiment of the present invention; [Figure 25] This figure shows the inspection text portion of messages that have been judged as OK and messages that have been judged as NG by the display text inspection device of this embodiment, the image to be inspected (image read from VRAM 22), the detection result image portion, the judgment result portion (NG or OK), the overall similarity portion, and the main parts of the judgment information. [Figure 26] 10 is a diagram showing a judgment image for the message "RESOLVE R-1 NOT ADJUSTED", which is judged as OK by the display wording inspection device according to the present embodiment. FIG. [Figure 27] 10 is a diagram showing an example of an inspection result image in which the inspection message judged as NG by the display message inspection device according to the present embodiment is "No Message." DETAILED DESCRIPTION OF THE INVENTION

[0033] Hereinafter, an embodiment of a display wording inspection device and a display wording inspection program according to the present invention will be described with reference to the accompanying drawings. In each drawing, the same components are given the same reference numerals, and duplicate explanations will be omitted. FIG. 1 shows a block diagram of a display wording inspection device 100 according to this embodiment. The display wording inspection device 100 is connected to a display device 200 equipped with a display screen such as a TFT panel, and performs inspection.

[0034] The display device 200 is provided with a message image creation unit 21 that creates message images as various types of warning information to be conveyed to the driver. The message image creation unit 21 is connected to an input unit 20 that receives, for example, traffic information and sends it to the message image creation unit 21 as message information (code) to be displayed. When inspecting the display wording, the input unit 20 sends message information for inspection.

[0035] Furthermore, message image creation unit 21 is connected to VRAM 22, and is configured so that the message image created by message image creation unit 21 is stored in VRAM 22. VRAM 22 is connected to display unit 23, and display unit 23 reads out the image stored in VRAM 22 and displays it on the display screen.

[0036] The display text inspection device 100 is connected to the input unit 20 and the VRAM 22. When inspecting a display text, the display text inspection device 100 retrieves message information for inspection from the input unit 20 and performs inspection. In response to the retrieved message information, the display text inspection device 100 retrieves a message image stored in the VRAM 22 and performs inspection. The message information is character code and font data of a character string prepared in advance to be displayed on the display screen, and is information used for inspection.

[0037] The display text inspection device 100 includes a character extraction unit 11, a character image generation unit 12, a character code acquisition unit 13, and a match / mismatch detection unit 14. The character extraction unit 11 reads character images from a character string image composed of a normal character string image that serves as the basis for displaying a character string on the display screen of a display device, and extracts the character images into character units. Here, the normal character string image refers to a character image displayed on a display device. It is image information without degradation that allows for match / mismatch detection in the present invention, as described below. It may be a captured image, but does not include an image captured by a camera or the like of a displayed image. In this embodiment, it is assumed that a character string image composed of the normal character string image is stored in a VRAM 22. Therefore, the character extraction unit 11 reads the character images from the VRAM 22 of the display device 200 that displays characters on the display screen, based on the character images of the character string stored in the VRAM 22, and extracts the character images into character units. This character extraction process is performed by AI (Artificial Intelligence). For example, a machine learning model can be created to obtain correct extraction position information using some of the character codes (such as unique codes for characters in a string of characters) and font information (described later) as explanatory variables, and extraction position information as the objective variable, and this model can be used as the AI ​​character extraction means 11. In Figure 4, the AI ​​in this case is shown as a "multilingual automatic recognition tool" or a "word learning image creation tool," and a display screen such as a TFT panel is indicated by a black rectangular frame. The character string "There is no message" is shown enclosed in a detection frame. The detection frame's top and bottom coordinates, width, and height are specified (input) when the tool is executed. The character extraction means 11 not only extracts individual characters, such as alphabets, kanji, and hiragana, but also extracts the combined characters of a language such as Arabic, using the combined characters as the extraction position. The character extraction means 11 can extract characters in a sequence, extract characters from horizontally written strings, and extract characters from vertically written strings.

[0038] The character image generating means 12 generates character images for each character based on the character code and font data of a character string prepared in advance to be displayed on the display screen. That is, when inspecting a displayed message, the means 12 takes in inspection message information provided from the input unit 20 and generates character images.

[0039] The character code acquisition means 13 acquires a character code corresponding to the extracted character image based on the similarity between the character image extracted by the character extraction means 11 and the character image generated by the character image generation means, and this can be performed by AI. That is, the character code acquisition means 13 acquires the similarity between the character image extracted by the character extraction means 11 and the character image generated by the character image generation means 12. For example, the character code acquisition means 13 can be configured as an AI for character image recognition by creating a judgment model through machine learning using learning data in which the character image extracted by the character extraction means 11 is used as an explanatory variable and information such as the character image generated by the character image generation means 12 (same character code and font) is used as a target variable. In this case, the character code acquisition means 13 is configured to output the similarity. The match / mismatch detection means 14 detects whether or not a word made up of characters in a character string unit using the character code obtained by the character code acquisition means 13 matches a word made up of characters in a character string unit using the character code of a character string prepared in advance to be displayed on the display screen. The character code acquisition means 13 obtains (acquires) codes for each character, so at this stage it obtains the similarity (accuracy) for each character, which the match / mismatch detection means 14 uses to display the results of the match / mismatch detected for the entire character string as a percentage.

[0040] The display wording inspection device 100 can be configured as a computer as shown in Fig. 2. That is, this computer operates as the display wording inspection device 100 by having a CPU 30 control each part using a program stored in a main memory 31.

[0041] The CPU 30 is connected to an external memory interface 33, an input interface 34, a display interface 35, and data input interfaces 36 and 37 via a bus 32. An external storage device 43 is connected to the external memory interface 33. The external storage device 43 stores the character extraction means 11, character image generation means 12, character code acquisition means 13, match / mismatch detection means 14, and programs for implementing AI, as well as various data required for the display text inspection device 100 to operate. The input interface 34 is connected to an input device 44 such as a keyboard or touch panel and a pointing device 42 such as a mouse, allowing necessary data and commands to be input. The display interface 35 is connected to a display device 45 equipped with an LED or LCD display, allowing necessary images and data to be displayed. The data input interface 36 is connected to the input unit 20 and is used to import message information for inspection provided by the input unit 20 during display text inspection. The data input interface 37 is connected to the VRAM 22 and is used to import message images stored in the VRAM 22.

[0042] The computer configured as described above functions as a display text inspection device by executing the program shown in the flowchart of Figure 3 as the character extraction means 11, character image generation means 12, character code acquisition means 13, match / mismatch detection means 14, AI, etc., so its operation will be explained with reference to this flowchart. When the display text inspection starts, the image of the character string is read from VRAM 22 and extracted into character units (S11). At this time, it is assumed that the judgment information has been input, as already explained using Figure 4.

[0043] When character segmentation is performed in step S11, a corresponding character code is obtained based on the similarity between the character image segmented character by character and the character image generated by the character image generating means 12 (S12). At this time, the inference rectangle and circumscribing rectangle used for segmentation are determined, as shown in FIG. 5. Here, "inference" refers to the character image retrieved from the VRAM 22. The detection frame in FIG. 5 is a thinner frame than the other frames, as shown in FIG. 6. The inference rectangle in FIG. 5 is a rectangular range obtained from inference information (information on the characters of the character string and the inferred area), and is shown as a thick frame in FIG. 6. The circumscribing frame in FIG. 5 is a circumscribing rectangle for the characters within the inference frame, and is shown by a dashed line in FIG. 6. Here, "circumscribing" refers to the character image retrieved from the VRAM 22. In the examples in FIG. 5 and FIGS. 8 to 22, the displayed message is "There is no message."

[0044] Judgment information is obtained based on the detection frame, inferred rectangle, and bounding rectangle obtained as described above. Here, the judgment information determined by the detection frame, inferred rectangle, and bounding rectangle will be described as items #1 to #16. The judgment information is obtained for each character string and for each character within the string in steps S11 and S12 to obtain the results of the display text inspection. Figure 7 shows the information obtained for a two-row, two-column string. The first column of the first row relates to "Character 1," and judgment information such as similarity and font name is listed within the solid-line frame. The first column of the second row relates to "Character 2," and judgment information such as similarity and font name is listed within the dash-dotted frame. The second column of the first row relates to "Character 3," and judgment information such as similarity and font name is listed within the dash-dotted frame. The second column of the second row relates to "Character 4," and judgment information such as similarity and font name is listed within the dash-dotted frame.

[0045] As described above, there is a frame in which judgment information for "Character 1" to "Character 4" is written, and judgment information indicated by #1 to #16 is arranged around this frame. #1 is a numerical value indicating the distance between the left side of the detection frame and the left edge of the inferred image of the first character of the line, as shown in Figure 8. #2 is a numerical value indicating the distance between the left side of the detection frame and the left edge of the circumscribed rectangle of the first character of the line, as shown in Figure 9. #3 is a numerical value indicating the distance between the top side of the detection frame and the minimum coordinate of the top coordinate of the inferred rectangle of the first line, as shown in Figure 10.

[0046] As shown in FIG. 11, #4 is a numerical value indicating the distance between the top of the detection frame and the minimum coordinate of the circumscribing rectangle of the first line. As shown in FIG. 12, #5 is a numerical value indicating the distance between the bottom of the detection frame and the maximum coordinate of the estimated rectangle of the bottom line. As shown in FIG. 13, #6 is a numerical value indicating the distance between the bottom of the detection frame and the maximum coordinate of the circumscribing rectangle of the bottom line. As shown in FIG. 14, #7 is a numerical value indicating the distance between the right side of the detection frame and the right-most coordinate of the estimated rectangle of the last character of each line. As shown in FIG. 15, #8 is a numerical value indicating the distance between the right side of the detection frame and the right-most coordinate of the circumscribing rectangle of the last character of each line. As shown in FIG. 16, #9 is a numerical value indicating the distance between the bottom maximum coordinate of the inferred rectangle of the upper line and the top minimum coordinate of the inferred rectangle of the lower line. As shown in FIG. 17, #10 is a numerical value indicating the distance between the bottom maximum coordinate of the circumscribing rectangle of the upper line and the top minimum coordinate of the circumscribing rectangle of the lower line.

[0047] As shown in FIG. 18, #11 is a numerical value indicating the distance between the bottom maximum coordinate of the inferred rectangle of the upper row and the top minimum coordinate of the circumscribing rectangle of the lower row. As shown in FIG. 19, #12 is a numerical value indicating the distance between the bottom maximum coordinate of the circumscribing rectangle of the upper row and the top minimum coordinate of the inferred rectangle of the lower row. As shown in FIG. 20, #13 is a numerical value indicating the distance between the right coordinate of the inferred rectangle of the previous character and the left coordinate of the inferred rectangle of the following character. As shown in FIG. 21, #14 is a numerical value indicating the distance between the right coordinate of the circumscribing rectangle of the previous character and the left coordinate of the circumscribing rectangle of the following character. As shown in FIG. 22, #15 is a numerical value indicating the distance between the right coordinate of the inferred rectangle of the previous character and the left coordinate of the circumscribing rectangle of the following character. As shown in FIG. 23, #16 is a numerical value indicating the distance between the right coordinate of the circumscribing rectangle of the previous character and the left coordinate of the inferred rectangle of the following character.

[0048] The judgment information shown in each column in each of the "Character 1" to "Character 4" boxes in Figure 7 is also obtained. The judgment information shown in each column in each of the "Character 1" to "Character 4" boxes in Figure 7 is explained below. In the first line of the box, from left to right, the font image, font image width, and font image height are set. In the second line of the box, the inferred image, inferred image width, and inferred image height are set. In the third line of the box, the circumscribed rectangle image, circumscribed rectangle width, and circumscribed rectangle height are set. In the fourth line of the box, the image type, font name, and similarity are set.

[0049] Returning to Figure 3, the next step is to check whether the character code of a prepared character string matches the character code obtained from the similarity of the character image (S13), and determine whether they match (S14). If they match, the character string display is deemed to have passed (S15). If they do not match, the character string display is deemed to have failed (S16).

[0050] The device of this embodiment accumulates data or information related to processing results, including the aforementioned judgment information, which will now be described. FIG. 24 shows an example of a key portion of the accumulated data or information, organized in a table format, but the format is not particularly limited. In the example of FIG. 24, each message is organized in a row. From the left, the column contains information used for system management, such as a number. The next row contains a Japanese translation of the message, the next row contains an English translation of the message, the next row contains the actual message, which is the inspection text. The next row contains the image of the inspection target (the image read from VRAM 22), the next row contains the detection result image, the next row contains the judgment result (NG or OK), the next row contains the overall similarity, and the next row contains the judgment information, as previously described. The judgment information continues to the right of the figure in accordance with the number of characters in the message text, but is omitted here.

[0051] FIG. 25 shows the inspection text portion of a message that was judged as OK and a message that was judged as NG, the image to be inspected (the image read from VRAM 22), the detection result image portion, the judgment result portion (NG or OK), the overall similarity portion, and the main portion of the judgment information. FIG. 26 shows an image of the detection result for the inspection text "RESOLVE R-1 NOT ADJUSTED" of a message that was judged as OK. FIG. 27 shows an image of the detection result for the inspection text "No Message" of a message that was judged as NG. FIGS. 26 and 27 show the similarity for character strings of an appropriate length.

[0052] Furthermore, as can be seen from Figure 25, the test phrase for the message that was judged as OK, "RESOLVE R-1 NOT ADJUSTED," has a similarity of 100% for each character and an overall similarity of 100%, whereas the test phrase for the message that was judged as NG, "No Message," has a similarity of 55.73% and 61.46% for each character, which is not 100%, and the overall similarity is also not 100%, which is why it was judged as NG.

[0053] As described above, 100% accuracy can be guaranteed for pass / fail judgments of displayed message character strings. Therefore, the device of this embodiment displays similarity and font names, narrowing the scope of visual inspection by humans to only the fail judgment points. This makes it possible to provide a display wording inspection device and a display wording inspection program that can reduce the possibility of human error and the amount of evaluation work required. [Explanation of symbols]

[0054] 11 Character cutting means 12 Character image generation means 13 Character code acquisition method 14 Match / Mismatch Detection Method 20 Input section 21 Message image creation section 22 VRAM 23 Display section 30 CPU 31 Main Memory 32 Bus 33 External Memory Interface 34 Input Interface 35 Display Interface 36 Data Entry Interface 37 Data Entry Interface 42 Pointing Device 43 External storage device 44 Input Devices 45 Display device 100 Display wording inspection device 200 Display device

Claims

1. a character extraction means for reading out character images from a character string image constituted by a normal character string image that is a basis for displaying a character string on a display screen of a display device, and extracting the character images on a character-by-character basis; character image generating means for generating character images on a character-by-character basis based on character codes and font data of a character string prepared in advance to be displayed on the display screen; a character code acquisition means for acquiring a character code corresponding to the extracted character image based on a similarity between the character image extracted by the character extraction means and the character image generated by the character image generation means; a match / mismatch detection means for detecting a match / mismatch between a wording of characters in a character string unit based on the character code obtained by the character code acquisition means and a wording of characters in a character string unit based on the character code of a character string previously prepared to be displayed on the display screen; A display wording inspection device comprising:

2. 2. The display text inspection device according to claim 1, wherein the character extraction means extracts the characters by character using AI.

3. The display text inspection device according to claim 2, characterized in that the character extraction means extracts text on a character-by-character basis using a display area frame in which text on the screen is displayed, the distance to the outline of the text displayed in this display area frame, and the font as explanatory variables.

4. 3. The display text inspection device according to claim 2, wherein the match / mismatch detection means detects a match / mismatch based on color information of characters displayed in the display area frame.

5. 3. The display text inspection device according to claim 2, wherein inspection is performed on a character string spanning multiple lines.

6. 2. The display text inspection device according to claim 1, wherein said match / mismatch detection means displays the detected match / mismatch result in percentage.

7. 2. The display text inspection device according to claim 1, wherein the character code acquisition means obtains a similarity between the character image extracted by the character extraction means and the character image generated by the character image generation means.

8. Computer, a character extraction means for reading out character images from a character string image constituted by a normal character string image serving as a basis for displaying a character string on a display screen of a display device, and extracting the character images on a character-by-character basis; character image generating means for generating character images on a character-by-character basis based on character codes and font data of a character string prepared in advance to be displayed on the display screen; a character code acquiring means for acquiring a character code corresponding to the extracted character image based on a similarity between the character image extracted by the character extracting means and the character image generated by the character image generating means; a match / mismatch detection means for detecting a match / mismatch between a wording of characters in a character string unit based on the character code obtained by the character code acquisition means and a wording of characters in a character string unit based on the character code of a character string previously prepared to be displayed on the display screen; A display text checking program characterized by functioning as:

9. 9. The display text inspection program according to claim 8, wherein the computer is caused to function as the character extraction means by extracting characters by AI.

10. The display text inspection program according to claim 9, characterized in that the computer is caused to function as the character extraction means to extract text on a character-by-character basis using a display area frame in which text on the screen is displayed, and the distance to the outline of the text displayed in this display area frame and the font as explanatory variables.

11. The display text inspection program according to claim 9, characterized in that the computer is caused to function as the match / mismatch detection means to detect match / mismatch based on color information of characters displayed in the display area frame.

12. The display text inspection program according to claim 9, characterized in that the computer is caused to function as the character extraction means, the character image generation means, the character code acquisition means, and the match / mismatch detection means to process character strings spanning multiple lines.

13. 9. The display text inspection program according to claim 8, wherein the computer is caused to function as the match / mismatch detection means by displaying the detected match / mismatch result in percentage.

14. The display text inspection program according to claim 8, characterized in that the computer is caused to function as the character code acquisition means to obtain a similarity between a character image extracted by the character extraction means and a character image generated by the character image generation means.

Citation Information

Patent Citations

  • Character recognition device and method therefor

    JP1997062791A

  • Document file creation supporting device, document file creation supporting method, and its program

    JP2005352734A

  • Scoring device and program

    JP2010230988A

  • Optica character recognition device and optical character recognition method

    JP2016009223A

  • Inspection device and inspection method

    JP2018205673A