Truncated character specification device, truncated character specification method, and truncated character specification program
The character missing specification device addresses partial character loss by using color differentiation and pixel analysis to detect and highlight missing characters, enhancing the accuracy and efficiency of format conversion in spreadsheet data.
Patent Information
- Application Number
- JP2024005735
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-01-18
- Publication Date
- 2025-07-31
- Estimated Expiration
- 2044-01-18
AI Technical Summary
Existing methods fail to accurately identify missing characters during format conversion of table data from spreadsheet software, particularly when partial character loss occurs due to insufficient cell height or width, which existing display degradation detection methods cannot detect.
A character missing specification device that assigns different colors to grid lines and characters, using pixel distance analysis to identify potential missing character locations by specifying defective areas based on pixel adjacency.
Effectively identifies and highlights missing character portions, allowing for efficient detection and visualization of character loss without manual effort, thereby improving the quality and efficiency of format conversion processes.
Smart Images

Figure 2025111856000001_ABST
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to a technique for identifying characters that may be missing when table data is converted into print image data or the like. [Background technology]
[0002] When table data created using spreadsheet software is converted between print image data format and 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 technology 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 degradation. UI is an abbreviation for User Interface. Patent Document 1 determines that display degradation will occur if either (1) or (2) occurs: (1) The display area of the character string intersects with the edge of the display area of the UI widget; or (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] Japanese Patent Application Publication No. 2019-105910 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, if the height of a cell is insufficient, the upper or lower part of some characters may be slightly missing. In such a case, even if the operations (1) and (2) of Patent Document 1 are performed, it may not be determined that the display is broken. Specifically, for (1), assuming that the cell is the display area of a UI component, it is determined that the display area of the character is only inside the cell and does not intersect with the edge part of the display area of the UI component. For (2), if character recognition is correctly performed even though a part of the character is missing, it is 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 specify a location where a part of a character may be missing when performing format conversion.
Means for Solving the Problem
[0007] The character missing specification device according to the present disclosure is a color setting unit that sets a first color for the grid line of the cell in which the character in the input table data is input, and sets a second color different from the first color for the character to generate colored table data; a defect specifying unit that specifies a defective location where the character may be missing based on the distance between the pixels of the first color and the pixels of the second color in the converted data obtained by format-converting the colored table data generated by the color setting unit and includes.
Advantages of the Invention
[0008] In the present disclosure, different colors are assigned to the grid line of the cell and the character, and a defective location where the character may be missing is specified based on the distance between the pixels of these colors. Thereby, it is possible to specify a location where a part of the character may be missing.
Brief Description of the Drawings
[0009] [Figure 1] Configuration diagram of the character missing specification device 10 according to Embodiment 1. [Figure 2] Flowchart of the process of the character missing specification device 10 according to Embodiment 1. [Figure 3] Explanatory diagram of the processing of the character dropout identification device 10 according to Embodiment 1. [Figure 4] Explanatory diagram of the color correction processing according to Embodiment 1. <s [Figure 5] Explanatory diagram of the ruled line identification processing according to Embodiment 1. [Figure 6] Explanatory diagram of the defect identification processing according to Embodiment 1. [Figure 7] Explanatory diagram of the display control processing according to Embodiment 1. [Figure 8] Configuration diagram of the character dropout identification device 10 according to Embodiment 2. [Figure 9] Flowchart of the processing of the character dropout identification device 10 according to Embodiment 2. [Figure 10] Explanatory diagram of the processing of the character dropout identification device 10 according to Embodiment 2. [Figure 11] Explanatory diagram of the missing character 38 according to Embodiment 2.
Mode for Carrying Out the Invention
[0010] Embodiment 1. ***Explanation of Configuration*** With reference to FIG. 1, the configuration of the character dropout identification device 10 according to Embodiment 1 will be described. The character dropout identification device 10 is a computer. The character dropout identification device 10 includes hardware such as a processor 11, a memory 12, a storage 13, and a communication interface 14. The processor 11 is connected to other hardware via signal lines and controls these other hardware.
[0011] The processor 11 is an IC that performs processing. IC is an abbreviation for Integrated Circuit. As specific examples, the processor 11 is a CPU, a DSP, or 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] Memory 12 is a storage device that temporarily stores data. As specific examples, Memory 12 is SRAM or DRAM. SRAM is the abbreviation of Static Random Access Memory. DRAM is the abbreviation of Dynamic Random Access Memory.
[0013] Storage 13 is a storage device that stores data. As a specific example, Storage 13 is an HDD. HDD is the abbreviation of Hard Disk Drive. Also, Storage 13 may be a portable recording medium such as an SD (registered trademark) memory card, CompactFlash (registered trademark), NAND flash, flexible disk, optical disk, compact disk, Blu-ray (registered trademark) disk, or DVD. SD is the abbreviation of Secure Digital. DVD is the abbreviation of Digital Versatile Disk.
[0014] Communication interface 14 is an interface for communicating with an external device. As specific examples, Communication interface 14 is a port of Ethernet (registered trademark), USB, or HDMI (registered trademark). USB is the abbreviation of Universal Serial Bus. HDMI is the abbreviation of 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 grid line identification unit 24, a missing identification unit 25, and a display control unit 26. The functions of the respective functional components of the character missing identification device 10 are realized by software. The storage 13 stores a program for realizing the functions of the respective functional components of the character missing identification device 10. This program is read into the memory 12 by the processor 11 and executed by the processor 11. Thereby, the functions of the respective functional components of the character missing identification device 10 are realized.
[0016] In FIG. 1, only one processor 11 was shown. However, there may be a plurality of processors 11, and a plurality of processors 11 may execute in cooperation a program for realizing each function.
[0017] ***Description of Operations*** With reference to FIGS. 2 to 7, the operations of the character omission specifying device 10 according to Embodiment 1 will be described. The operation procedure of the character omission specifying device 10 according to Embodiment 1 corresponds to the character omission specifying method according to Embodiment 1. Further, a program for realizing the operations of the character omission specifying device 10 according to Embodiment 1 corresponds to the character omission specifying program according to Embodiment 1.
[0018] With reference to FIGS. 2 and 3, the processing flow of the character omission specifying device 10 according to Embodiment 1 will be described. (Step S11: Color Setting Process) The color setting unit 21 performs color setting on 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 border of the cell in which the character is input. The color setting unit 21 sets a second color different from the first color for the character. The color setting unit 21 sets a third color different from the first color and the second color for the background color. Thereby, the color setting unit 21 generates the colored table data 32. For example, let the first color be black, the second color be red, and the third color be white.
[0019] (Step S12: Format Conversion Process) The format conversion unit 22 performs format conversion on the colored table data 32 generated in step S11 and generates conversion data 33. Specifically, the format conversion unit 22 converts the colored table data 32 into a format different from the formats of spreadsheet software such as the print image data format and the screen display format, and generates conversion data 33. For example, the format conversion unit 22 converts the colored table data 32 into the PDF format and then converts it from the PDF format into the PNG format, which is image data. Thereby, the conversion data 33 in the PNG format is obtained. PDF is the abbreviation of Portable Document Format, and PNG is the abbreviation of 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. In addition, when a print area is set in the input table data 31, the format conversion unit 22 may cut out only the print area portion from the conversion data 33.
[0020] (Step S13: Color correction process) The color correction unit 23 corrects the edge portion of the characters in the conversion data 33, which is the intermediate color between the second color and the background color and is smoothed, to the background color. This will be specifically described with reference to FIG. 4. FIG. 4 shows a state in which the pixel values of each pixel in the conversion data 33 are inverted. That is, the black (first color) with a pixel value of 0 becomes a pixel value of 255, and the white (third color) with a pixel value of 255 becomes a pixel value of 0. For the red (second color) in the middle of black and white, the darker the color, the larger the value. As shown in FIG. 4(A), the edge portion of the characters is smoothed with an intermediate color between the red, which is the color of the characters, and the white, which is the background color. Exactly, the edge portion of the characters becomes a light red so that it gets closer to the white, which is the background color, towards the outside. Here, the smoothed portion is not subject to character missing determination. Therefore, as shown in FIG. 4(B), the color correction unit 23 corrects the smoothed portion to the white, which is the background color.
[0021] (Step S14: Grid line identification process) The grid line identification unit 24 identifies the grid lines 34 of the cells in the input table data 31 from the conversion data 33 after being corrected in step S13. Specifically, the ruled line specifying unit 24 generates data obtained by extracting only the first color in the conversion data 33. Then, the ruled line specifying unit 24 generates data with the ruled lines emphasized by passing the generated data through an edge filter that emphasizes the vertical direction and an edge filter that emphasizes the horizontal direction. The edge filter used here is, for example, a 3×3 pixel filter. Then, as shown in FIG. 5, the ruled line specifying unit 24 specifies, as the ruled line 34, a portion where pixels of the first color are continuous in the horizontal or vertical direction by a reference number or more in the conversion data 33 using the data with the ruled lines emphasized. Here, the horizontal direction is the horizontal direction on the screen. The vertical direction is a direction perpendicular to the horizontal direction. The conversion data 33 is data obtained by converting the format of table data, and the ruled line 34 of the cell is always drawn in the horizontal and vertical directions. Therefore, only a portion where pixels of the first color are continuous in the horizontal or vertical direction by a reference number or more constitutes the ruled line 34 of the cell. The ruled line 34 forms a rectangle. Therefore, based on the fact that the ruled line 34 forms a rectangle, the ruled line specifying unit 24 may interpolate a portion where the line is partially interrupted.
[0022] (Step S15: Defect Specifying Process) The defect specifying unit 25 specifies a defective portion 35 where characters may be missing based on the distance between the pixels of the first color and the pixels of the second color that represent the ruled line 34 of the cell specified in step S14 in the conversion data 33 after being corrected in step S13. Specifically, the defect specifying unit 25 specifies, as the defective portion 35, an adjacent portion where the pixels of the first color and the pixels of the second color are adjacent with only pixels within the reference pixels in between. The reference pixel is a determination threshold value and is a predetermined number of pixels. As shown in FIG. 6, when there is text near the ruled line 34, the pixels of the first color representing the ruled line 34 and the pixels of the second color are in close positions. At this time, the pixels of the first color representing the ruled line 34 and the pixels of the second color do not necessarily adjacent to each other. Pixels that have become the background color due to the correction in step S13, pixels of the background color that have entered due to the specifications of spreadsheet software, etc. may enter between the pixels of the first color and the pixels of the second color. Therefore, the defect specifying unit 25 specifies an adjacent portion where the pixels of the first color and the pixels of the second color are adjacent with only pixels within the reference pixel between them as the defective portion 35. Note that the number of pixels that enter between the pixels of the first color and the pixels of the second color may change due to the specifications of spreadsheet software, etc. Therefore, the reference number of pixels also changes according to the specifications of spreadsheet software, etc. Note that the defect specifying unit 25 specifies, as the defective portion 35, an adjacent portion between the pixels of the first color and the pixels of the second color representing the target ruled line 34, with both the horizontal ruled line 34 and the vertical ruled line 34 as the target ruled line 34. That is, the defect specifying unit 25 specifies a defective portion 35 where the height of the cell is insufficient and there may be a lack at the top or bottom, and a defective portion 35 where the width of the cell is insufficient and there may be a lack at the right or left.
[0023] (Step S16: Display control process) The display control unit 26 indicates the defective portion 35 specified in step S15 in the conversion 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 attaches a mark such as a circle to the defective portion 35 in the conversion data 33 and displays it. At this time, the display control unit 26 stores defect information indicating the defective portion 35 in the storage 13. The defect information indicates the position where there is a defective portion 35 in the conversion data 33. The position here may indicate only which page it is, or may indicate up to which position on which page it is.
[0024] ***Effects of Embodiment 1*** As described above, the character loss identifying device 10 according to the first embodiment assigns different colors to cell lines and characters, and identifies a character loss area where adjacent pixels of these colors are within a reference pixel count as a character loss area. This makes it possible to identify a character loss area 35 where part of a character may be missing.
[0025] The missing character identifying device 10 according to the first embodiment displays missing portions 35 in the converted data 33. This makes it easy to identify which portions of which characters may be missing. This makes it easy to visually check whether characters are missing.
[0026] This allows the missing part 35 to be identified without much effort. For example, by setting the process shown in Figure 2 to be executed during off-peak 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 differences between the first embodiment and the first modification will be described below.
[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, memory 12, and storage 13. The electronic circuit 15 is a dedicated circuit that realizes the functions of each functional component, the memory 12, and the storage 13.
[0029] As the electronic circuit 15, a single circuit, a composite circuit, a programmed processor, a parallel-programmed processor, a logic IC, a GA, an ASIC, or an FPGA is assumed. GA is the abbreviation of Gate Array. ASIC is the abbreviation of Application Specific Integrated Circuit. FPGA is the abbreviation of Field-Programmable Gate Array. Each functional component may be realized by one electronic circuit 15, or each functional component may be realized by being distributed among a plurality of electronic circuits 15.
[0030] <Modification Example 2> As Modification Example 2, some of each functional component may be realized by hardware, and the other each functional component may be realized by software.
[0031] The processor 11, the memory 12, the storage 13, and the electronic circuit 15 are referred to as a processing circuit. That is, the functions of each functional component are realized by the processing circuit.
[0032] Also, the "section" in the above description may be read as "circuit", "step", "procedure", "process", or "processing circuit".
[0033] Embodiment 2. Embodiment 2 is different from Embodiment 1 in that it detects that the entire character is missing when the format is converted. In Embodiment 2, this different point will be described, and the description of the same points will be omitted.
[0034] ***Description of Configuration*** With reference to FIG. 8, the configuration of the character missing identification device 10 according to Embodiment 2 will be described. The character missing identification device 10 is different from the character missing identification device 10 shown in FIG. 1 in that it includes a printed character acquisition unit 27, a surface character acquisition unit 28, and a difference identification unit 29 as functional components. The functions of the printed character acquisition unit 27, the surface character acquisition unit 28, and the difference identification unit 29 are realized by software or hardware in the same manner as other functional components.
[0035] ***Description of Operations*** With reference to FIGS. 9 to 11, the operation of the character missing identification device 10 according to Embodiment 2 will be described. The operation procedure of the character missing identification device 10 according to Embodiment 2 corresponds to the character missing identification method according to Embodiment 2. Also, the program for realizing the operation of the character missing identification device 10 according to Embodiment 2 corresponds to the character missing identification program according to Embodiment 2.
[0036] With reference to FIGS. 9 and 10, the processing flow of the character missing identification device 10 according to Embodiment 2 will be described. Steps S21 to S26 are the same as steps S11 to S16 in FIG. 2.
[0037] (Step S27: Printed Character Acquisition Process) The printed character acquisition unit 27 acquires the printed character 36, which is a character included in the conversion data 33. Specifically described. Assume that the colored table data 32 is converted to the PDF format and then converted from the PDF format to the PNG format, which is image data, to generate the converted data 33 in the PNG format. In this case, the printed character acquisition unit 27 acquires the printed character 36 included in the converted data 33 in the PNG format from the PDF format data obtained by converting the colored table data 32. Here, the printed character acquisition unit 27 may acquire the printed character 36 for each page of the converted data 33, or may acquire the printed characters 36 of the entire converted data 33 together. Note that the printed character acquisition unit 27 may acquire the printed character 36 by performing character recognition processing using the converted data 33 as an input.
[0038] (Step S28: Table Character Acquisition Process) The table character acquisition unit 28 acquires the table character 37, which is a character 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 during format conversion. When the printed characters 36 and the table characters 37 are acquired for each page, the difference identifying unit 29 identifies, as missing characters 38, characters that are present in the printed characters 36 but not in the table characters 37 for each page.
[0040] As shown in Figure 11, if text is entered in a spreadsheet software cell and extends beyond the cell, the entire text may be lost when the format is converted. In Figure 11, only a portion of the text entered in the cell is displayed in the spreadsheet software, and if the cell is expanded by clicking on it, all of the text entered in the cell is displayed. In Figure 11, the string "Text is not in the cell" is entered in the cell, but the "not" part is not displayed before the cell is expanded. Therefore, if the format is converted without expanding the cell, the "not" part may be lost. Even if the characters do not extend beyond the cell in the spreadsheet software, the entire character may be lost 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 a display device connected via the communication interface 14. Specifically, the display control unit 26 displays the determination result indicating whether or not there are missing characters 38, and, if there are missing characters 38, which characters are missing. 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 missing character identifying device 10 according to the second embodiment detects whether an entire character has been missing when format conversion is performed. This makes it possible to detect not only whether a character is missing, but also whether or not there is a missing character.
[0043] ***Other Configurations*** <Variation 3> In the second embodiment, the difference identification unit 29 identifies the missing character 38. The difference identification unit 29 may further identify in which cell the missing character 38 may exist. The following two methods are considered as 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 on the input table data 31 using the missing characters 38 as a keyword. In step S30, the display control unit 26 also displays the cells identified for each missing character 38. There is a possibility that multiple cells containing the missing character 38 will be identified, but 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 take each cell in which a character is input in the input table data 31 as a target cell, input the character of the target cell into the sentence analysis model, and determine whether the character of the target cell forms a sentence. Then, the difference identification unit 29 may identify that there may be a missing character 38 in a cell that does not form a sentence. The sentence analysis model is a program that performs so-called sentence correction to check whether there are any problems in the composition of the sentence and the usage of grammar, etc.
[0046] Note that the difference identification unit 29 may execute both Method 1 and Method 2, and identify the cells commonly identified by both as the cells containing the missing character 38.
[0047] Hereinafter, various aspects of the present disclosure will be summarized and described as appendices. (Appendix 1) A color setting unit that sets a first color for the border line of the cell in which the character in the input table data is input, and sets a second color different from the first color for the character to generate colored table data; A defect identification unit that identifies a defect location where the character may be missing based on the distance between the pixels of the first color and the pixels of the second color in the converted data obtained by converting the colored table data generated by the color setting unit A character missing identification device comprising: (Appendix 2) The defect identification unit identifies an adjacent portion where the pixels of the first color and the pixels of the second color are adjacent with only pixels within a reference pixel in between as the defect location. The character missing identification device according to Appendix 1. (Appendix 3) The character missing identification device further comprises: A color correction unit that corrects an edge portion of the character in the converted data to the background color, where the edge portion is smoothed with an intermediate color between the second color and the background color comprising: The defect identification unit identifies the defect location in the converted data corrected by the color correction unit. The character missing identification device according to Appendix 1 or 2. (Appendix 4) The character missing identification device further includes: a ruled line specifying unit that specifies, in the converted data, a portion where 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 location, an adjacent 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 appendixes 1 to 3. (Appendix 5) The character missing identification device further includes: a display control unit that displays the defect location identified by the defect identifying unit in the converted data; 5. The character missing identification device according to claim 1, 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 that acquires table characters that 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 any one of appendices 1 to 5, comprising: (Appendix 7) The difference identification unit identifies missing characters that are present in the table characters but not in the printed characters, and identifies cells in the input table data that contain the missing characters. 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 in the target cell into a sentence analysis model, and determines whether the characters in the target cell form a sentence. 7. The character missing identification device according to claim 6. (Appendix 9) The computer sets a first color for the border of the cell in the input table data where the character is input, sets a second color different from the first color for the character, and generates colored table data. A character missing identification method in which the computer identifies a missing portion where the character may be missing based on the distance between the pixels of the first color and the pixels of the second color in the converted data obtained by formally converting the colored table data. (Appendix 10) A color setting process of setting a first color for the border of the cell in the input table data where the character is input, setting a second color different from the first color for the character, and generating colored table data, A character missing identification program that causes a computer to function as a character missing identification device that performs a missing identification process of identifying a missing portion where the character may be missing based on the distance between the pixels of the first color and the pixels of the second color in the converted data obtained by formally converting the colored table data generated by the color setting process.
[0048] The embodiments and modifications of the present disclosure have been described above. Some of these embodiments and modifications may be implemented in combination. Also, any 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 changes can be made as necessary.
Explanation of Signs
[0049] 10 Character missing identification device, 11 Processor, 12 Memory, 13 Storage, 14 Communication interface, 21 Color setting unit, 22 Formal conversion unit, 23 Color correction unit, 24 Border identification unit, 25 Missing 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 Border, 35 Missing portion, 36 Printed character, 37 Table character, 38 Missing character.
Claims
1. A color setting unit that sets a first color for the border line of the cell in which the character in the input table data is input, and sets a second color different from the first color for the character to generate colored table data; In the converted data obtained by converting the colored table data generated by the color setting unit, a defect specifying unit that specifies a defective portion where the character may be missing based on the distance between the pixels of the first color and the pixels of the second color A character missing specifying device comprising:
2. The defect specifying unit specifies an adjacent portion where the pixels of the first color and the pixels of the second color are adjacent with only pixels within a reference pixel in between as the defective portion. The character missing specifying device according to Claim 1.
3. The character missing specifying device further comprises: A color correction unit that corrects an edge portion of the character in the converted data, which is smoothed with an intermediate color between the second color and the background color, to the background color Comprising, The defect specifying unit specifies the defective portion in the converted data corrected by the color correction unit. The character missing specifying device according to Claim 1.
4. The character missing specifying device further comprises: A grid line specifying unit that specifies a portion where the pixels of the first color are continuous in the horizontal or vertical direction by a reference number or more in the converted data as the grid line Comprising, The defect specifying unit specifies an adjacent portion where the pixels of the first color representing the grid line specified by the grid line specifying unit and the pixels of the second color are adjacent with only pixels within a reference pixel in between as the defective portion. The character missing specifying device according to Claim 1.
5. The character missing specifying device further comprises: A display control unit that indicates and displays the defective portion specified by the defect specifying unit in the converted data The character missing specifying device according to Claim 1 comprising.
6. The character missing specifying device further comprises: A printed character acquisition unit that acquires printed characters that are characters included in the converted data; A table character acquisition unit that acquires table characters that are characters included in the input table data; A difference specifying unit that specifies a difference between the printed characters acquired by the printed character acquisition unit and the table characters acquired by the table character acquisition unit The character missing specifying device according to Claim 1 comprising.
7. The difference specifying unit specifies missing characters that are in the table characters but not in the printed characters, and specifies cells in the input table data that include the missing characters. The character missing specifying device according to Claim 6.
8. When the difference is specified, the difference specifying unit uses each cell in the input table data where the character is input as a target cell, inputs the character of the target cell into a sentence analysis model, and determines whether the character of the target cell forms a sentence. The character omission specifying device according to claim 6.
9. A computer sets a first color for the border of a cell in the input table data where a character is input, sets a second color different from the first color for the character, and generates colored table data. A character omission specifying method in which a computer specifies a missing portion where the character may be missing based on the distance between a pixel of the first color and a pixel of the second color in conversion data obtained by converting the colored table data.
10. A color setting process of setting a first color for the border of a cell in the input table data where a character is input, and setting a second color different from the first color for the character to generate colored table data. A missing portion specifying process of specifying a missing portion where the character may be missing based on the distance between a pixel of the first color and a pixel of the second color in conversion data obtained by converting the colored table data generated by the color setting process. A character omission specifying program that causes a computer to function as a character omission specifying device that performs the above processes.
Citation Information
Patent Citations
Display verification apparatus, display verification method and display verification program
JP2019105910A