Apparatus, method and program for identifying missing characters
Patent Information
- Application Number
- JP2024005735
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-01-18
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2044-01-18
AI Technical Summary
【0008】 本開示では、セルの罫線と文字とに異なる色を付けておき、これらの色の画素の距離に基づいて文字が欠ける可能性がある欠損箇所を特定する。これにより、文字の一部が欠けてしまう可能性がある個所を特定可能である。
Smart Images

Figure 0007634735000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technique for identifying characters that may be lost when table data is converted into print image data or the like. [Background technology]
[0002] When table data created with spreadsheet software is converted into a print image data format or a screen display format, characters entered in cells may be missing. It is time-consuming to manually identify the missing characters.
[0003] Patent Document 1 describes a technique for verifying whether the display area of a character string displayed on a UI widget exceeds the display area of the UI widget, causing display collapse. UI is an abbreviation for User Interface. Patent Document 1 determines that the display will collapse if either (1) or (2) is true: (1) The display area of the character string intersects with the edge of the display area of the UI widget. (2) The character string in the UI design data does not match the character string actually displayed. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2019-105910 A Summary of the Invention [Problem to be solved by the invention]
[0005] The method of Patent Document 1 may not be able to identify that a part of a character is missing. For example, there are cases where the height of a cell is insufficient, causing some characters to be missing at the top or bottom. In such cases, even if (1) and (2) of Patent Document 1 are performed, it may not be determined that the display will be distorted. Specifically, for (1), if the cell is assumed to be the display area of a UI widget, it is determined that the display area of the characters is only the inside of the cell, and that the display area of the characters does not intersect with the edge parts of the display area of the UI widget. For (2), even if some characters are missing, if character recognition is performed correctly, it will be determined that the character string in the UI design data matches the character string actually displayed.
[0006] An object of the present disclosure is to make it possible to identify locations where characters may be partially missing when a format is converted. [Means for solving the problem]
[0007] The character missing identification device according to the present disclosure comprises: a color setting unit that sets a first color to lines of cells in which characters are input in the input table data, and sets a second color different from the first color to the characters, thereby generating colored table data; a loss identifying unit that identifies a loss portion where the character may be lost based on a distance between the pixels of the first color and the pixels of the second color in converted data obtained by converting a format of the color table data generated by the color setting unit; Equipped with. Effect of the Invention
[0008] In the present disclosure, different colors are applied to cell borders and characters, and missing parts where characters may be missing are identified based on the distance between pixels of these colors, making it possible to identify parts where parts of characters may be missing. [Brief description of the drawings]
[0009] [Figure 1] 1 is a configuration diagram of a character missing identification device 10 according to a first embodiment. [Diagram 2] 3 is a flowchart of the process of the character missing identification device 10 according to the first embodiment. [Diagram 3] FIG. 2 is an explanatory diagram of the process of the character missing identification device 10 according to the first embodiment. [Figure 4] FIG. 3 is an explanatory diagram of a color correction process according to the first embodiment. [Diagram 5] FIG. 4 is an explanatory diagram of a ruled line identification process according to the first embodiment. [Figure 6] FIG. 4 is an explanatory diagram of a loss identification process according to the first embodiment. [Figure 7] FIG. 4 is an explanatory diagram of a display control process according to the first embodiment. [Figure 8] FIG. 11 is a configuration diagram of a character missing identification device 10 according to a second embodiment. [Figure 9] 11 is a flowchart of the process of the character missing identification device 10 according to the second embodiment. [Figure 10] FIG. 11 is an explanatory diagram of the process of the character missing identifying device 10 according to the second embodiment. [Figure 11] FIG. 11 is an explanatory diagram of a missing character 38 according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Embodiment 1 ***Configuration Description*** The configuration of a character missing identification device 10 according to the first embodiment will be described with reference to FIG. The missing character identifying device 10 is a computer. The character missing identifying device 10 includes the following hardware components: a processor 11, a memory 12, a storage 13, and a communication interface 14. The processor 11 is connected to other hardware components via signal lines and controls the other hardware components.
[0011] The processor 11 is an IC that performs processing. IC is an abbreviation for Integrated Circuit. Specific examples of the processor 11 include a CPU, a DSP, and a GPU. CPU is an abbreviation for Central Processing Unit. DSP is an abbreviation for Digital Signal Processor. GPU is an abbreviation for Graphics Processing Unit.
[0012] The memory 12 is a storage device that temporarily stores data. Specific examples of the memory 12 include SRAM and DRAM. SRAM is an abbreviation for Static Random Access Memory. DRAM is an abbreviation for Dynamic Random Access Memory.
[0013] The storage 13 is a storage device that stores data. A specific example of the storage 13 is an HDD. HDD is an abbreviation for Hard Disk Drive. The storage 13 may also be a portable recording medium such as an SD (registered trademark) memory card, CompactFlash (registered trademark), NAND flash, a flexible disk, an optical disk, a compact disk, a Blu-ray (registered trademark) disk, or a DVD. SD is an abbreviation for Secure Digital. DVD is an abbreviation for Digital Versatile Disk.
[0014] The communication interface 14 is an interface for communicating with an external device. Specific examples of the communication interface 14 include Ethernet (registered trademark), USB, and HDMI (registered trademark) ports. USB is an abbreviation for Universal Serial Bus. HDMI is an abbreviation for High-Definition Multimedia Interface.
[0015] The character missing identification device 10 includes, as functional components, a color setting unit 21, a format conversion unit 22, a color correction unit 23, a ruled line identification unit 24, a missing portion identification unit 25, and a display control unit 26. The functions of the functional components of the character missing identification device 10 are realized by software. The storage 13 stores a program that realizes the function of each functional component of the character missing identification device 10. This program is loaded into the memory 12 by the processor 11 and executed by the processor 11. In this way, the function of each functional component of the character missing identification device 10 is realized.
[0016] 1 shows only one processor 11. However, there may be a plurality of processors 11, and the plurality of processors 11 may cooperate to execute programs that realize the respective functions.
[0017] ***Explanation of Operation*** The operation of the character missing identifying device 10 according to the first embodiment will be described with reference to FIGS. The operation procedure of the character missing identification device 10 according to the embodiment 1 corresponds to the character missing identification method according to the embodiment 1. Moreover, the program that realizes the operation of the character missing identification device 10 according to the embodiment 1 corresponds to the character missing identification program according to the embodiment 1.
[0018] The flow of processing by the character missing identification device 10 according to the first embodiment will be described with reference to FIGS. (Step S11: Color setting process) The color setting unit 21 sets colors in the input table data 31, and generates colored table data 32. The input table data 31 is table data generated by spreadsheet software such as Excel (registered trademark). Specifically, the color setting unit 21 sets a first color for the borders of a cell in which text has been input. The color setting unit 21 sets a second color different from the first color for the text. The color setting unit 21 sets a third color different from the first and second colors for the background. In this way, the color setting unit 21 generates color-added table data 32. For example, the first color is black, the second color is red, and the third color is white.
[0019] (Step S12: Format conversion process) The format conversion unit 22 generates converted data 33 by converting the format of the color table data 32 generated in step S11. Specifically, the format conversion unit 22 converts the colored table data 32 into a format different from the format of the spreadsheet software, such as a print image data format and a screen display format, to generate converted data 33. For example, the format conversion unit 22 converts the colored table data 32 into a PDF format, and then converts the PDF format into a PNG format, which is image data. This results in converted data 33 in PNG format. PDF is an abbreviation for Portable Document Format. PNG is an abbreviation for Portable Network Graphics. The technology for converting table data into the PDF format and the technology for converting the PDF format into the PNG format are existing technologies. When a print area is set in the input table data 31 , the format conversion unit 22 may extract only the print area from the converted data 33 .
[0020] (Step S13: Color correction process) The color correction unit 23 corrects the edge portions of the characters in the converted data 33 that have been smoothed with an intermediate color between the second color and the background color to the background color. A specific description will be given with reference to Fig. 4. Fig. 4 shows a state in which the pixel values of each pixel in the converted data 33 are inverted. That is, black (first color) with a pixel value of 0 becomes a pixel value of 255, and white (third color) with a pixel value of 255 becomes a pixel value of 0. For red (second color) which is intermediate between black and white, the darker the color, the larger the value. As shown in FIG. 4A, the edge parts of the characters are smoothed with an intermediate color between the red color of the characters and the white color of the background. To be precise, the edge parts of the characters are a lighter red so that the outer edges approach the white color of the background. Here, the smoothed parts are not subject to character loss determination. Therefore, as shown in FIG. 4B, the color correction unit 23 corrects the smoothed parts to the white color of the background.
[0021] (Step S14: Ruled line identification process) The ruled line identifying unit 24 identifies the ruled lines 34 of the cells of the input table data 31 from the converted data 33 corrected in step S13. Specifically, the ruled line specification unit 24 generates data in which only the first color is extracted from the converted data 33. The ruled line specification unit 24 then passes the generated data through an edge filter that emphasizes the vertical direction and an edge filter that emphasizes the horizontal direction to generate data in which the ruled lines are emphasized. The edge filter used here is, for example, a 3×3 pixel filter. As shown in FIG. 5, the ruled line specification unit 24 uses the data in which the ruled lines are emphasized to specify, as a ruled line 34, a portion in the converted data 33 in which pixels of the first color continue in the horizontal or vertical direction by a reference number or more. The horizontal direction is the horizontal direction on the screen. The vertical direction is the direction perpendicular to the horizontal direction. The converted data 33 is data obtained by converting the format of table data, and the cell ruled lines 34 are always drawn in the horizontal and vertical directions. Therefore, only a portion in which pixels of the first color continue in the horizontal or vertical direction by a reference number or more constitutes the cell ruled line 34. The ruled line 34 forms a rectangle. Therefore, the ruled line specification unit 24 may interpolate a portion where the ruled line 34 is partially interrupted, based on the fact that the ruled line 34 forms a rectangle.
[0022] (Step S15: Defect identification process) The defect identifying unit 25 identifies a defect area 35 where characters may be missing, based on the distance between the first color pixels and the second color pixels that represent the cell ruled line 34 identified in step S14, in the converted data 33 after the correction in step S13. Specifically, the defect identifying unit 25 identifies as the defect area 35 an adjacent portion where a pixel of the first color and a pixel of the second color are adjacent to each other, with only pixels within a reference pixel between them. The reference pixel is a judgment threshold, and is a number of pixels determined in advance. As shown in FIG. 6, when there is a character near the ruled line 34, the first color pixel and the second color pixel representing the ruled line 34 are close to each other. At this time, the first color pixel and the second color pixel representing the ruled line 34 are not necessarily adjacent to each other, and there is a possibility that the pixel of the background color due to the correction in step S13 and the pixel of the background color that is inserted due to the specifications of the spreadsheet software or the like are inserted between the first color pixel and the second color pixel. Therefore, the defect identification unit 25 identifies the adjacent portion where the pixel of the first color and the pixel of the second color are adjacent to each other with only pixels within the reference pixel between them as the defect portion 35. Note that the number of pixels between the pixel of the first color and the pixel of the second color may change depending on the specifications of the spreadsheet software or the like. Therefore, the reference pixel number also changes depending on the specifications of the spreadsheet software or the like. The defect identifying unit 25 regards both the horizontal ruled line 34 and the vertical ruled line 34 as target ruled lines 34, and identifies adjacent portions of the first color pixels and the second color pixels that represent the target ruled line 34 as defect areas 35. In other words, the defect identifying unit 25 identifies defect areas 35 where the height of the cell is insufficient and there is a possibility that the top or bottom will be missing, and defect areas 35 where the width of the cell is insufficient and there is a possibility that the right or left will be missing.
[0023] (Step S16: Display control process) The display control unit 26 indicates the missing portion 35 identified in step S15 in the converted data 33, and displays it on a display device connected via the communication interface 14. Specifically, as shown in Fig. 7, the display control unit 26 displays the missing portion 35 in the converted data 33 by marking it with a circle or the like. At this time, the display control unit 26 stores loss information indicating the loss portion 35 in the storage 13. The loss information indicates the position of the loss portion 35 in the converted data 33. The position here may indicate only the page number, or may indicate the page number and the position.
[0024] ***Advantages of the First Embodiment*** As described above, the character missing identification device 10 according to the first embodiment assigns different colors to cell borders and characters, and identifies a missing portion where characters may be missing when pixels of these colors are adjacent within a reference pixel count. This makes it possible to identify missing portion 35 where part of a character may be missing.
[0025] The character missing identification device 10 according to the first embodiment displays missing parts 35 in the converted data 33. This makes it easy to identify which parts of which characters may be missing. This makes it easy to visually check whether a character is missing.
[0026] This allows the missing part 35 to be identified without much effort. For example, by setting it up so that the process shown in Fig. 2 is executed during non-work hours such as at night, the missing part 35 can be identified without much effort. This makes it possible to create high-quality materials while saving work time.
[0027] ***Other configurations*** <Variation 1> In the first embodiment, each functional component is realized by software. However, as a first modification, each functional component may be realized by hardware. The following describes the first modification in terms of differences from the first embodiment.
[0028] When each functional component is realized by hardware, the character missing identification device 10 includes an electronic circuit 15 instead of the processor 11, the memory 12, and the storage 13. The electronic circuit 15 is a dedicated circuit for realizing the functions of each functional component, the memory 12, and the storage 13.
[0029] The electronic circuit 15 may be a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, or an FPGA. GA is an abbreviation for Gate Array. ASIC is an abbreviation for Application Specific Integrated Circuit. FPGA is an abbreviation for Field-Programmable Gate Array. Each functional component may be realized by one electronic circuit 15, or each functional component may be distributed across multiple electronic circuits 15.
[0030] <Variation 2> As a second modification, some of the functional components may be realized by hardware, and other functional components may be realized by software.
[0031] The processor 11, the memory 12, the storage 13, and the electronic circuit 15 are collectively referred to as a processing circuit. In other words, the functions of the respective functional components are realized by the processing circuit.
[0032] Furthermore, the term "part" in the above description may be read as a "circuit," "step," "procedure," "processing," or "processing circuit."
[0033] Embodiment 2 The second embodiment differs from the first embodiment in that it detects when an entire character is missing after format conversion. In the second embodiment, this difference will be described, and the same points will not be described.
[0034] ***Configuration Description*** The configuration of a character missing identifying device 10 according to the second embodiment will be described with reference to FIG. 1 in that the character missing identification device 10 includes, as functional components, a printed character acquisition unit 27, a table character acquisition unit 28, and a difference identification unit 29. The functions of the printed character acquisition unit 27, the table character acquisition unit 28, and the difference identification unit 29, like the other functional components, are realized by software or hardware.
[0035] ***Explanation of Operation*** The operation of the character missing identifying device 10 according to the second embodiment will be described with reference to FIGS. The operation procedure of the character missing identification device 10 according to the embodiment 2 corresponds to the character missing identification method according to the embodiment 2. Moreover, the program that realizes the operation of the character missing identification device 10 according to the embodiment 2 corresponds to the character missing identification program according to the embodiment 2.
[0036] The flow of processing by the character missing identification device 10 according to the second embodiment will be described with reference to FIGS. Steps S21 to S26 are the same as steps S11 to S16 in FIG.
[0037] (Step S27: Printed character acquisition process) The print character acquisition unit 27 acquires print characters 36 that are characters included in the converted data 33 . A more specific explanation will be given below. It is assumed that the colored table data 32 is converted into a PDF format, and then converted from the PDF format into PNG format, which is image data, to generate the converted data 33 in PNG format. In this case, the printed character acquisition unit 27 acquires the printed characters 36 included in the converted data 33 in PNG format from the data in PDF format into which the colored table data 32 has been converted. Here, the printed character acquisition unit 27 may acquire the printed characters 36 for each page of the converted data 33, or may acquire the printed characters 36 for the entire converted data 33 all at once. The printed character acquisition unit 27 may acquire the printed characters 36 by performing character recognition processing using the converted data 33 as input.
[0038] (Step S28: Table character acquisition process) The table character acquisition unit 28 acquires table characters 37 that are characters included in the input table data 31 . Specifically, the table character acquisition unit 28 acquires the table characters 37 by reading out the characters input into each cell of the input table data 31. Here, the table character acquisition unit 28 acquires the table characters 37 in accordance with the acquisition method of the printed characters 36. In other words, when the printed characters 36 are acquired for each page, the table character acquisition unit 28 acquires the table characters 37 for each page. Also, when the printed characters 36 of the entire converted data 33 are acquired all at once, the table character acquisition unit 28 acquires the table characters 37 of the entire input table data 31 all at once.
[0039] (Step S29: Difference identification process) The difference identification unit 29 identifies a difference between the printed characters 36 acquired in step S27 and the table characters 37 acquired in step S28. Specifically, the difference identification unit 29 identifies a character that is present in the table characters 37 but not in the printed characters 36. When a character that is present in the table characters 37 but not in the printed characters 36 is identified, the difference identification unit 29 identifies the identified character as a missing character 38, which is an entire character that was missing when the format was converted. When the printed characters 36 and the table characters 37 are acquired for each page, the difference identifying unit 29 identifies, for each page, characters that are present in the printed characters 36 but not in the table characters 37 as missing characters 38.
[0040] As shown in Figure 11, when characters are entered in a cell in spreadsheet software that overflows, the entire character may be lost when the format is converted. In Figure 11, only a portion of the characters entered in the cell is displayed in the spreadsheet software, and when the cell is expanded by clicking on it, all of the characters entered in the cell are displayed. In Figure 11, the character string "There is no text in the cell" is entered in the cell, but the "not" part is not displayed before the cell is expanded. Therefore, if the cell is not expanded and the format is converted, the characters "not" may be lost. Even if the characters do not extend beyond the cell in the spreadsheet software, the characters may be lost entirely when the format is converted.
[0041] (Step S30: Second display control process) The display control unit 26 displays the determination result in step S29 on the display device connected via the communication interface 14. Specifically, the display control unit 26 displays the determination result indicating the presence or absence of missing characters 38 and, if missing characters 38 are present, the missing characters. When the printed characters 36 and the table characters 37 are acquired for each page, the display control unit 26 displays the determination result for each page.
[0042] ***Effects of the second embodiment*** As described above, the character missing identification device 10 according to the second embodiment detects whether an entire character has been missing when a format is converted. This makes it possible to detect not only missing characters, but also the presence or absence of missing characters.
[0043] ***Other configurations*** <Modification 3> In the second embodiment, the difference identifying unit 29 identifies the missing character 38. The difference identifying unit 29 may further identify in which cell the missing character 38 may exist. There are two possible specific methods for identifying in which cell the missing character 38 may exist:
[0044] (Method 1) In step S29, the difference identification unit 29 identifies cells that include missing characters 38 in the input table data 31. For example, the difference identification unit 29 identifies cells that include missing characters 38 by executing a search process using the missing characters 38 as a keyword on the input table data 31. In step S30, the display control unit 26 also displays the cells identified for each missing character 38. Although multiple cells containing the missing character 38 may be identified, it is clear that the missing character 38 is missing from one of the identified cells.
[0045] (Method 2) The difference identification unit 29 may treat each cell into which characters have been input in the input table data 31 as a target cell, input the characters in the target cell into the text analysis model, and determine whether or not the characters in the target cell form a sentence. Then, the difference identification unit 29 may identify that a missing character 38 may be missing in a cell that does not form a sentence. The text analysis model is a program that performs so-called text proofreading, checking whether there are any problems with the structure of a sentence and the use of grammar.
[0046] The difference identifying unit 29 may execute both the method 1 and the method 2, and identify a cell that is commonly identified by both the methods as a cell that includes a missing character 38.
[0047] Various aspects of the present disclosure are summarized below as appendices. (Appendix 1) a color setting unit that sets a first color to lines of cells in which characters are input in the input table data, and sets a second color different from the first color to the characters, thereby generating colored table data; a loss identifying unit that identifies a loss portion where the character may be lost based on a distance between the pixels of the first color and the pixels of the second color in converted data obtained by converting a format of the color table data generated by the color setting unit; A character missing identification device comprising: (Appendix 2) The defect identifying unit identifies, as the defect portion, a portion where the pixel of the first color and the pixel of the second color are adjacent to each other with only pixels within a reference pixel between them. 2. The character missing identification device according to claim 1. (Appendix 3) The character missing identification device further includes: a color correction unit that corrects an edge portion of the character in the converted data that has been smoothed with an intermediate color between the second color and a background color to the background color; Equipped with The defect identifying unit identifies the defect location in the converted data corrected by the color correction unit. 3. The character missing identification device according to claim 1 or 2. (Appendix 4) The character missing identification device further includes: a ruled line specifying section that specifies, in the converted data, a portion in which pixels of the first color continue in a horizontal or vertical direction by a reference number or more as the ruled line; Equipped with The defect identifying unit identifies, as the defect portion, a portion where the pixels of the first color and the pixels of the second color that represent the ruled line identified by the ruled line identifying unit are adjacent to each other with only pixels within a reference pixel range sandwiched therebetween. 4. A character missing identification device according to any one of appendix 1 to 3. (Appendix 5) The character missing identification device further includes: a display control unit that displays the defective portion identified by the defective portion identifying unit in the converted data; 5. The character missing identification device according to claim 1, further comprising: (Appendix 6) The character missing identification device further includes: a print character acquisition unit that acquires print characters that are characters included in the converted data; a table character acquisition unit for acquiring table characters which are characters included in the input table data; a difference specifying unit that specifies a difference between the printed character acquired by the printed character acquisition unit and the table character acquired by the table character acquisition unit; 6. The character missing identification device according to claim 1, further comprising: (Appendix 7) The difference identification unit identifies a missing character that is present in the table character but not in the printed character, and identifies a cell in the input table data that includes the missing character. 7. The character missing identification device according to claim 6. (Appendix 8) When the difference is identified, the difference identification unit sets each cell in which characters are input in the input table data as a target cell, inputs the characters of the target cell into a text analysis model, and determines whether the characters of the target cell form a sentence. 7. The character missing identification device according to claim 6. (Appendix 9) a computer sets a first color to borders of cells in which characters are input in the input table data, and sets a second color different from the first color to the characters, thereby generating colored table data; A character missing identification method in which a computer identifies a missing portion where the character may be missing based on a distance between the pixels of the first color and the pixels of the second color in converted data obtained by format-converting the color table data. (Appendix 10) a color setting process for setting a first color to the borders of cells in which characters are input in the input table data, and setting a second color different from the first color to the characters, thereby generating colored table data; and a missing character identification process for identifying missing areas where the character may be missing, based on a distance between the pixels of the first color and the pixels of the second color, in converted data obtained by converting the format of the color table data generated by the color setting process.
[0048] The above describes the embodiments and modifications of the present disclosure. Some of these embodiments and modifications may be combined and implemented. Also, one or some of them may be partially implemented. Note that the present disclosure is not limited to the above embodiments and modifications, and various modifications are possible as necessary. [Explanation of symbols]
[0049] 10 missing character identification device, 11 processor, 12 memory, 13 storage, 14 communication interface, 21 color setting unit, 22 format conversion unit, 23 color correction unit, 24 ruled line identification unit, 25 missing character identification unit, 26 display control unit, 27 printed character acquisition unit, 28 table character acquisition unit, 29 difference identification unit, 31 input table data, 32 colored table data, 33 converted data, 34 ruled line, 35 missing part, 36 printed character, 37 table character, 38 missing character.
Claims
1. a color setting unit that sets a first color to lines of cells in which characters are input in the input table data, and sets a second color different from the first color to the characters, thereby generating colored table data; a loss identifying unit that identifies a loss portion where the character may be lost based on a distance between a pixel of the first color and a pixel of the second color in converted data obtained by converting a format of the color table data generated by the color setting unit; A character missing identification device comprising:
2. The defect identifying unit identifies, as the defect portion, an adjacent portion between the pixel of the first color and the pixel of the second color, with a number of pixels not exceeding a reference pixel number sandwiched therebetween. The missing character identifying device according to claim 1 .
3. The character missing identification device further includes: a color correction unit that corrects an edge portion of the character in the converted data that has been smoothed with an intermediate color between the second color and a background color to the background color; Equipped with The defect identifying unit identifies the defect location in the converted data corrected by the color correction unit. The missing character identifying device according to claim 1 .
4. The character missing identification device further includes: a ruled line specifying unit that specifies, in the converted data, a portion in which pixels of the first color continue in a horizontal or vertical direction by a reference number or more as the ruled line; Equipped with The defect identifying unit identifies, as the defect portion, an adjacent portion adjacent to the first color pixel and the second color pixel that represent the ruled line identified by the ruled line identifying unit, with a number of pixels not exceeding a reference pixel number sandwiched therebetween. The missing character identifying device according to claim 1 .
5. The character missing identification device further includes: a display control unit that displays the defective portion identified by the defective portion identifying unit in the converted data; The missing character identifying device according to claim 1 .
6. The character missing identification device further includes: a print character acquisition unit that acquires print characters that are characters included in the converted data; a table character acquisition unit for acquiring table characters which are characters included in the input table data; a difference specifying unit that specifies a difference between the printed character acquired by the printed character acquisition unit and the table character acquired by the table character acquisition unit; The missing character identifying device according to claim 1 .
7. The difference identification unit identifies a missing character that is present in the table character but not in the printed character, and identifies a cell in the input table data that includes the missing character. The character missing identification device according to claim 6.
8. When the difference is identified, the difference identification unit sets each cell in which characters are input in the input table data as a target cell, inputs the characters of the target cell into a text analysis model, and determines whether the characters of the target cell form a sentence. The character missing identification device according to claim 6.
9. a computer sets a first color to borders of cells in which characters are input in the input table data, and sets a second color different from the first color to the characters, thereby generating colored table data; A character missing identification method in which a computer identifies a missing portion where the character may be missing based on a distance between the pixels of the first color and the pixels of the second color in converted data obtained by format-converting the color table data.
10. a color setting process for setting a first color to lines of cells in which characters are input in the input table data and setting a second color different from the first color to the characters, thereby generating colored table data; a loss identifying process for identifying a loss location where the character may be lost based on a distance between the pixels of the first color and the pixels of the second color in converted data obtained by converting a format of the color table data generated by the color setting process; A character missing identification program that causes a computer to function as a character missing identification device that performs the above.
Citation Information
Patent Citations
Ruled line removing method
JP1997185726A
Display verification apparatus, display verification method and display verification program
JP2019105910A