Printer, method for controlling printer, and program

The printing device enhances concealment by matching concealment data to the original character or image attributes, addressing the limitations of existing technologies in concealing personal information beyond names, numbers, and email addresses.

JP2024122075AInactive Publication Date: 2024-09-09CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023029401
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-09
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing printing technologies fail to effectively conceal personal information beyond names, telephone numbers, and email addresses, and are vulnerable to information leakage due to user-settable font and printing mode combinations.

Method used

A printing device that acquires image data, extracts character type, size, and color from printed matter, and generates and prints concealment character or image data matching these attributes to overlap with the original data, making it difficult to read.

Benefits of technology

Enhances concealment by ensuring the concealment data matches the original, making it harder to decipher the printed information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a printer, a method for controlling a printer, and a program that can expand objects to be concealed on a printed material to make the objects to be concealed more difficult to read.SOLUTION: A printer 10 comprises: an image data control unit 104 that cuts out, from scan image data of an acquired printed material, a character string area corresponding to a character string portion where at least one or more characters are arranged side by side on the printed material; a control unit 100 that extracts, from the character string area in the scan image data, the character type, character size, and color of the character string portion on the printed material, and generates character string data for concealment with the same character type, character size, and color as the extracted character type, character size, and color; and a printing control unit 107 that prints the character string data for concealment on the printed material so as to be superimposed on the character string portion.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 printing device, a control method for a printing device, and a program. [Background technology]

[0002] Conventionally, there has been a technology that uses a shredder or a security stamp on documents or direct mail containing personal information to prevent the leakage of personal information to third parties. Furthermore, there is a technology that uses a printer to print over the portion of a printed matter on which personal information is written to prevent the leakage of personal information to third parties. For example, Patent Document 1 proposes a technology for the latter technology that automatically identifies the type of character string indicating personal information and prints a concealing character string represented by characters belonging to the identified type over the personal information. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Application No. 2014-97790 Summary of the Invention [Problem to be solved by the invention]

[0004] However, the technology described in Patent Document 1 targets only addresses, names, telephone numbers, and e-mail addresses as types of character strings indicating personal information, and cannot conceal other information. In addition, in the technology described in Patent Document 1, the font type, character style, density, or font size of the character string for concealment is set as an option by the user. Therefore, depending on the combination of the content of the option setting and the printing mode of the character string indicating personal information, there is a risk that the personal information may be read.

[0005] The present invention has been made in view of the above problems, and has an object to provide a printing device, a control method for a printing device, and a program that can expand the area of ​​concealment in printed matter and make it more difficult to read. [Means for solving the problem]

[0006] In order to achieve the above-mentioned object, the printing device of the present invention is characterized by comprising an acquisition means for acquiring scanned image data of a printed material, a first extraction means for extracting from the scanned image data a character string area corresponding to a character string portion on the printed material where at least one character is lined up, a first extraction means for extracting the character type, character size, and color of the character string portion of the printed material from the character string area of ​​the scanned image data, a first generation means for generating concealment character string data with a character type, character size, and color that are the same as or similar to the character type, character size, and color extracted by the first extraction means, and a first printing means for printing the concealment character string data on the printed material so as to overlap the character string portion. Effect of the Invention

[0007] According to the present invention, it is possible to expand the scope of the concealment of the printed matter and make it more difficult to read. [Brief description of the drawings]

[0008] [Figure 1] FIG. 2 is a circuit block diagram of the printing device. [Diagram 2] 11A and 11B are diagrams showing specific examples of character data stored for each character type in a character data memory; [Diagram 3] 2 is a diagram showing a software configuration of a control program for controlling each hardware module of the printing apparatus. FIG. [Figure 4] FIG. 2 is an external perspective view of the printing apparatus. [Diagram 5] 4 is a flowchart showing an example of an entire sequence according to the first embodiment. [Figure 6] FIG. 13 is a diagram showing an example of a printed matter. [Figure 7]FIG. 7 is a diagram showing an image in which an area corresponding to the photograph on the print in FIG. 6 and an area corresponding to the characters on the print in FIG. 6 are cut out as rectangles in the scanned image data. [Figure 8] 7 is a diagram showing an image in which an area corresponding to the characters on the printed matter in FIG. 6, cut out as a rectangle, is determined to be a character string area in scanned image data. FIG. [Figure 9] FIG. 13 is a diagram showing an image in which each character string area is divided into six blocks in scanned image data. [Figure 10] FIG. 13 is a diagram showing the characteristics of six blocks stored in a block information memory. [Figure 11] FIG. 7 is a diagram showing an image in which concealment character string data is printed so as to overlap the character string portion of the printed matter in FIG. 6. [Figure 12] 10 is a flowchart showing an example of an entire sequence according to the second embodiment. [Figure 13] 7 is a diagram showing an image in which an area corresponding to the image on the printed matter in FIG. 6 cut out as a rectangle is determined to be an image area in the scanned image data. [Figure 14] FIG. 13 is a diagram showing an image in which a face area recognized as a person's face is cut out into three rectangular blocks in the image area of ​​scanned image data. [Figure 15] FIG. 13 is a diagram showing the characteristics of three blocks stored in a block information memory. [Figure 16] FIG. 7 is a diagram showing an image in which concealment image data is printed so as to overlap a face portion of the image portion of the printed matter in FIG. 6. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Each embodiment of the present invention will be described in detail below with reference to the drawings. However, the configurations described in each of the following embodiments are merely examples, and the scope of the present invention is not limited by the configurations described in each embodiment. For example, each part constituting the present invention can be replaced with any configuration that can exert a similar function. In addition, any configuration may be added. In addition, any two or more configurations (features) of each embodiment can be combined. In the drawings, the same reference numerals are used to denote the same or corresponding components, devices, and parts.

[0010] In this embodiment, a printing device such as a printer with a scanner will be described as an application example of the present invention. A printer prints characters and images on a printing medium such as paper by discharging ink while an ink head moves horizontally above the printing medium that is fed vertically. A scanner obtains scanned image data by reading signals from characters and images on the printing medium using a sensor that moves on the printing medium. Since such a printing device has a built-in scanner, it is possible to realize a setting-free operation with the scanner, a space-saving operation, and a simple scanning operation. The printing device according to this embodiment is broadly divided into a print unit, a scan unit, an operation unit, and a control unit.

[0011] FIG. 1 is a circuit block diagram of a printing device 10 according to this embodiment. As shown in FIG. 1, the printing device 10 has a control unit 100, a ROM 101, a RAM 102, a scan image data memory 103, an image data control unit 104, a key input unit 105, and a touch panel 106. The printing device 10 further has a print control unit 107, an ink head 108, a print data memory 109, a block information memory 110, a character data memory 111, and a scanner 112. The control unit 100 is a CPU as a computer. The control unit 100 starts a system program stored in advance in the ROM 101, a control program stored in a storage medium, a control program read from an external device or a Web server, and the like, and controls the operation of each part of the circuit using the RAM 102 as a work memory.

[0012] When the printout is read using the scanner 112, the control unit 100 drives a sensor, which receives a signal from the printout and supplies the received signal to the control unit 100 as scan image data. The control unit 100 stores the supplied scan image data in a scan image data memory 103. A key input unit 105 for inputting a command to execute printing is connected to the control unit 100. A touch panel 106 is also connected to the control unit 100, which serves both as an input by touching and as an output of a message. The print control unit 107 converts data set in a print data memory 109 into data for ejecting ink, and ejects ink from an ink head 108 to perform printing.

[0013] The block information memory 110 is a storage area in which information about what is written in a part of a printed matter that needs to be concealed is stored. If what is written in a part that needs to be concealed is text, information on the character type, character size, color, and position (start position and end position) is stored in the block information memory 110. If what is written in a part that needs to be concealed is an image, information on the position (start position and end position) is stored in the block information memory 110. The information stored in the block information memory 110 will be described in detail later.

[0014] The character data memory 111 is a storage area for character data. In the character data memory 111, character data for generating hidden string data to be printed on top of the parts that need to be hidden in the printed matter is pre-stored. The character data memory 111 has a kanji data memory 111a (a storage means for kanji), a hiragana data memory 111b (a storage means for hiragana), and a katakana data memory 111c (a storage means for katakana). The character data memory 111 further has a numeric data memory 111d (a storage means for numbers), an alphabetic data memory 111e (a storage means for alphabetic characters), and a symbol data memory 111f (a storage means for symbols). In each of the data memories 111a to 111f, a plurality of character data as shown in FIG. 2 is pre-stored for each character type represented by its respective name.

[0015] That is, in the kanji data memory 111a, a plurality of kanji data such as "亜", "哀", "愛" are pre-stored. In the hiragana data memory 111b, a plurality of hiragana data such as "あ", "い", "う" are pre-stored. In the katakana data memory 111c, a plurality of katakana data such as "ア", "イ", "ウ" are pre-stored. In the numeric data memory 111d, a plurality of numeric data such as "1", "2", "3" are pre-stored. In the alphabetic data memory 111e, a plurality of alphabetic data such as "A", "B", "C" are pre-stored. In the symbol data memory 111f, a plurality of symbol data such as "!", "#", "$" are pre-stored.

[0016] 3 is a diagram showing the software configuration of a control program for controlling each hardware module of the printing device 10. As shown in FIG. 3, the software configuration of the control program can be roughly divided into three control blocks. The three control blocks are an application layer 300 that manages applications, a middleware layer 310 for controlling the printing device 10 via various I / Fs, and an operating system 320 that manages overall control. The role of each control block is explained below. The operating system 320 provides basic functions for executing the control program in the control unit 100.

[0017] The middleware layer 310 is made up of a group of software that controls the print unit, the scan unit, and the I / F with each physical device. The group of software includes a printer control module 311, a scanner control module 312, an operation unit control module 313, and an image processing control module 314. The printer control module 311 controls the printer I / F and is responsible for printing operations and the overall system. The scanner control module 312 controls the scanner I / F. The operation unit control module 313 controls the operation unit I / F. The image processing control module 314 controls image data and passes the controlled image data to the printer control module 311 for printing.

[0018] When a function such as copying is used, the image processing control module 314 reads out the scanned image data from the scanned image data memory 103 in which the scanned image data acquired by the scanning unit that reads the printed matter is stored. Furthermore, the image processing control module 314 realizes copying and the like by passing the read out scanned image data to the printer control module 311 in the same manner. In the printing device 10, the scanning unit reads the printed matter on which text has already been printed, and the image processing control module 314 recognizes the character string portion and image portion of the printed matter from the scanned image data and issues instructions to the printing unit; this will be explained on a later page.

[0019] The application layer 300 has a job management application 301 and a sensor control application 302. The application layer 300 realizes the functions such as the printer that the printing device 10 provides to the user by operating each device via each control module 311 to 314 of the middleware layer 310. For example, the job management application 301 controls the contents to be displayed on the operation unit via the operation unit control module 313 of the middleware layer 310 as necessary, and controls the operation of the print unit via the printer control module 311 of the middleware layer 310. Specifically, when the operation unit control module 313 detects that the user has performed an operation for executing printing via the operation unit, the operation unit control module 313 notifies the application layer 300 of the fact. The application layer 300 executes printing in the job management application 301 for printing upon receiving the notification. At that time, the job management application 301 executes the printing operation by the ink head 108 using the printer control module 311 of the middleware layer 310. Note that the same point applies when the function of scanning is realized by the sensor control application 302 or the like.

[0020] FIG. 4 is an external perspective view of the printing device 10. The printing device 10 has an operation panel 401 and a platen glass 402. When using the printing device 10, a user operates the printing device 10 from a direction facing the operation panel 401. The operation panel 401 is provided in front of the platen glass 402. The operation panel 401 is provided with a key input unit 105 and a touch panel 106. The key input unit 105 is provided with a color copy start key, a monochrome copy start key, a stop key, arrow keys, a power button, and an operation switch for starting a printing process. The touch panel 106 may be capable of inputting the same as the operation of the key input unit 105 by touching it by the user. From here on, this embodiment will be described by dividing it into two embodiments.

[0021] First Embodiment The first embodiment will be described below with reference to Figs. 5 to 11. Fig. 5 is a flowchart showing an example of an overall sequence of the first embodiment. This flowchart shows each process from reading the printed matter on which the concealment character string data is to be printed by the printing device 10 to actually printing the concealment character string data. Moreover, the control in this flowchart (a control method of the printing device) is realized by the control unit 100 (computer) expanding a program stored in ROM 101 into RAM 102 and executing it.

[0022] In step S501, the control unit 100 controls the reading of the printed matter set in the scan unit through the image data control unit 104 (acquisition means) (acquisition step). At that time, the image data control unit 104 stores the scan image data (read image data) of the entire printed matter including the margins in the scan image data memory 103. The image data control unit 104 may store the scan image data from which unnecessary parts such as margins have been removed in the scan image data memory 103. In step S502, the image data control unit 104 (first and second cutting means) cuts out only the part corresponding to the character string part or image part of the printed matter from the scan image data stored in the scan image data memory 103 (cutting step). The character string part is a part of the printed matter where at least one or more printed or handwritten characters are lined up. The image part is a part of the printed matter where a photograph or figure is printed or a figure is handwritten.

[0023] In step S503, the control unit 100 distinguishes the portion of the scanned image data cut out by the image data control unit 104 into a character string area corresponding to the character string portion of the printed matter and an image area corresponding to the image portion of the printed matter. This process is performed by the control unit 100 recognizing the character data using OCR (optical character reader) technology. In step S504, the control unit 100 determines whether or not there is a character string area in the portion cut out by the image data control unit 104. If the control unit 100 determines that there is a character string area in the portion cut out by the image data control unit 104, the process proceeds to step S505. On the other hand, if the control unit 100 determines that there is no character string area in the portion cut out by the image data control unit 104, the control of this flowchart ends.

[0024] In step S505, the control unit 100 (first extraction means) extracts a character type for each character data occupying each character string region by OCR technology (extraction process). The character types include kanji, hiragana, katakana, numbers, English letters, and symbols. In step S506, the control unit 100 (first extraction means) extracts a character size for each character data occupying each character string region by OCR technology (extraction process). In step S507, the control unit 100 (first extraction means) extracts a color for each character data occupying each character string region by OCR technology (extraction process). In step S508, the control unit 100 (division means) divides each character string region into blocks composed of character data with the same character type, character size, and color, and stores the characteristics of each block in the block information memory 110. The characteristics of a block are the character type, character size, and color of the character string region included in the block, and the position information of the block.

[0025] In steps S509 to S512, the control unit 100 (first generating means) generates concealment character string data for each block (generating step). In step S509, the control unit 100 reads out a character type, which is one of the characteristics of a block (hereinafter referred to as a "block to be concealed") for which concealment character string data is to be generated, from the block information memory 110. Furthermore, the control unit 100 randomly extracts character data of the same character type as the read character type from the character data memory 111 to generate one piece of concealment character string intermediate data (hereinafter referred to as "intermediate data"). The number of extracted character data is the same as the number of character data included in the block to be concealed. Furthermore, the control unit 100 generates multiple pieces of intermediate data by repeating such generation of intermediate data two or more times at random.

[0026] In step S510, the control unit 100 reads out the character size, which is one of the characteristics of the block to be concealed, from the block information memory 110. Furthermore, the control unit 100 reads out the color, which is one of the characteristics of the block to be concealed, from the block information memory 110. Then, the control unit 100 makes the character size and color of each intermediate data the same as the read character size and color. In step S511, the control unit 100 generates one piece of concealment character string data by combining each intermediate data so as to overlap it while shifting it slightly randomly or periodically. Furthermore, the control unit 100 arranges the generated concealment character string data in the print data memory 109 at a position where the character string portion of the printed matter corresponding to the block to be concealed can be printed while covering it. Note that such arrangement is performed based on the position information, which is one of the characteristics of the block to be concealed and which the control unit 100 reads out from the block information memory 110.

[0027] In step S512, the control unit 100 judges whether there is any other block for which the concealment character string data has not been generated. If the control unit 100 judges that there is any other block for which the concealment character string data has not been generated, the process returns to step S509. On the other hand, if the control unit 100 judges that there is no other block for which the concealment character string data has not been generated, the process proceeds to step S513. In step S513, the control unit 100 executes a printing process through the printing control unit 107 (first printing means) (printing process). When the user presses an operation switch provided on the key input unit 105, the printing control unit 107 starts a printing process based on the printing data memory 109 in which the concealment character string data is set. In the printing process, the ink head 108 is driven on the printed material being fed, so that the concealment character string data is printed line by line so that it overlaps the character string portion of the printed material. Then, when the ink head 108 moves to a predetermined position, the printing process ends. Thereafter, the control of this flowchart ends.

[0028] Based on the overall sequence shown in the flowchart of FIG. 5, a specific flow from acquisition of scanned image data to setting of concealment character string data in the print data memory 109 will be described with reference to FIGS. 6 to 11 with regard to the generation of concealment character string data. Here, a case will be described in which the printing device 10 reads the printed matter shown in FIG. 6 with its scanning unit. A photograph is printed at the top of the printed matter in FIG. 6. Below the photograph, "Trip to Thailand" is printed in red letters. Below "Trip to Thailand" is printed in blue letters, "It was fun." Below "It was fun," "2020.12.25" is printed in black letters. Below "2020.12.25" is printed in black letters, "Kaihatsu Taro."

[0029] When the printout of FIG. 6 is read by the scanning unit of the printing device 10, the scanned image data of the entire printout including the margins is stored in the scanned image data memory 103. After that, the part of the printout of FIG. 6 on which some kind of printing was originally performed and the part on which either text or an image is printed are cut out from the scanned image data stored in the scanned image data memory 103. In this regard, the value acquired by the scanning unit of the printing device 10 differs between the value when the margins of the printout are scanned and the value when the part on which text is printed is scanned. Therefore, the printing device 10 can cut out only the part on which text is printed from the scanned image data based on the difference between the two values. As a result, in the scanned image data, the area corresponding to the photograph on the printout and the area corresponding to the text on the printout are cut out as a rectangle, as shown in FIG. 7.

[0030] When the region extracted in this way is subjected to the character string image discrimination process, as shown in FIG. 8, the parts with printed characters, namely "Trip to Thailand," "It was fun," "2020.12.25," and "Kaihatsu Taro," are discriminated as character string regions. The character string image discrimination process is performed using the OCR technology of the printing device 10. When OCR technology is used, even character data corresponding to handwritten characters can be recognized as character data, and the results are output after recognizing what the character data is written. Note that the part with printed characters in the photo is discriminated as an image region because the OCR technology was unable to recognize the character data.

[0031] Thereafter, processing is performed on "Trip to Thailand," "It was fun," "2020.12.25," and "Kaihatsu Taro," which are determined to be character string regions. OCR technology has the function of determining the character type, character size, and color of character data. For "Trip to Thailand," "It was fun," "2020.12.25," and "Kaihatsu Taro," which are determined to be character string regions, the character type, character size, and color are extracted for each character data using OCR technology. Furthermore, for "Trip to Thailand," "It was fun," "2020.12.25," and "Kaihatsu Taro," which are determined to be character string regions, the extraction results are divided into six blocks as shown in Figure 9. The six blocks are the "Thailand" block, the "travel" block, the "fun" block, the "it was fun" block, the "2020.12.25" block, and the "Kaihatsu Taro" block.

[0032] In this regard, the words "Thailand Trip" and "It was fun" that are determined to be character string regions are divided into separate blocks because they have different colors. Furthermore, the word "Thailand Trip" that is determined to be a character string region is divided into a block of "Thailand" and a block of "Travel" according to the character type. Similarly, the word "It was fun" that is determined to be a character string region is divided into a block of "Fun" and a block of "It was fun" according to the character type. Furthermore, the words "2020.12.25" and "Kaihatsu Taro" that are determined to be character string regions are each divided into one block, that is, into a block of "2020.12.25" and a block of "Kaihatsu Taro". The characteristics of each of the six blocks are stored in the block information memory 110.

[0033] FIG. 10 is a diagram showing the features of six blocks stored in the block information memory 110. As shown in FIG. 10, the features of the six blocks include character type, color, character size, and position information. The position information includes a start position and an end position. The start position is the upper left position of the block and is represented by the X-axis position and the Y-axis position. The end position is the lower right position of the block and is represented by the X-axis position and the Y-axis position. The X-axis position and the Y-axis position are represented using a coordinate system in which the origin is the upper left, the horizontal direction is the X-axis direction, and the vertical direction is the Y-axis direction. Block 1 indicates the block of "Thailand". Block 2 indicates the block of "Travel". Block 3 indicates the block of "Fun". Block 4 indicates the block of "It was fun". Block 5 indicates the block of "2020.12.25". Block 6 indicates the block of "Development Taro".

[0034] For block 1 representing "Thailand," the following characteristics are stored in the block information memory 110: character type "katakana," color "red," character size "16 point," start position "575:720," and end position "820:755." For block 2 representing "travel," the following characteristics are stored in the block information memory 110: character type "kanji," color "red," character size "16 point," start position "820:720," and end position "1215:755." For block 3 representing "fun," the following characteristics are stored in the block information memory 110: character type "kanji," color "blue," character size "16 point," start position "575:755," and end position "650:7790."

[0035] For block 4 representing "Ishikitadesu", the following characteristics are stored in the block information memory 110: character type "hiragana", color "blue", character size "16 point", start position "650:755", and end position "1830:790". For block 5 representing "2020.12.25", the following characteristics are stored in the block information memory 110: character type "number", color "black", character size "8 point", start position "1020:830", and end position "1700:845". For block 6 representing "Kaihatsu Taro", the following characteristics are stored in the block information memory 110: character type "kanji", color "black", character size "12 point", start position "1450:860", and end position "2130:890". It should be noted that the X-axis and Y-axis positions of the start and end positions in FIG. 10 do not necessarily accurately reflect the positions of each block shown in FIG.

[0036] Concealment character string data is generated for each block based on its characteristics. Specifically, for example, the character type for block 1 indicating "Thailand" is "katakana". Then, one intermediate data for block 1 indicating "Thailand" is generated by randomly extracting katakana data for the number of character data for "Thailand" from katakana data memory 111c of character data memory 111. Furthermore, such generation of intermediate data is repeated two or more times at random to generate a plurality of intermediate data. Also, the character size and color for block 1 indicating "Thailand" are 16Point and red. Then, the character size and color of each intermediate data are set to 16Point and red. Furthermore, each intermediate data is combined so as to overlap with a random or periodic shift of about several millimeters up, down, left, and right.

[0037] In this manner, by combining a plurality of intermediate data, concealment character string data for block 1 indicating "Thailand" is generated. Furthermore, the concealment character string data for block 1 indicating "Thailand" is set in print data memory 109 based on the start position and end position of block 1 so that when it is printed on the printed matter of FIG. 6, it is printed in a state in which "Thailand" is covered. Similarly, concealment character string data is generated for each of blocks 2 to 6 indicating "Travel", "Fun", "It was fun", "2020.12.25", and "Development Taro" and set in print data memory 109. Note that FIG. 11 is a diagram showing an image in which the concealment character string data for each of blocks 1 to 6 is printed superimposed on each character string portion of the printed matter of FIG. 6.

[0038] As described above, the printing device 10 prints the concealment character string data over all character string portions of the printed material, regardless of their contents, so that even confidential information, including personal information, can be concealed. Furthermore, the character type, character size, and color of the concealment character string data are the same as the character type, character size, and color of the character string portion of the printed material on which the concealment character string data is overprinted, so that the character string portion of the printed material becomes difficult to read. Thus, the printing device 10 can expand the concealment target of the printed material, making it more difficult to read.

[0039] <Second embodiment> The second embodiment will be described below with reference to Figs. 12 to 16. Here, the differences from the first embodiment will be mainly described. Fig. 12 is a flowchart showing an example of an overall sequence of the second embodiment. This flowchart shows each process from reading the printed matter on which the concealment image data is to be printed by the printing device 10 to actually printing the concealment image data. Moreover, the control in this flowchart is realized by the control unit 100 expanding the program stored in the ROM 101 into the RAM 102 and executing it. Steps S1201 and S1202 are similar to steps S501 and S502 in the first embodiment, and therefore description thereof will be omitted.

[0040] In step S1203, the control unit 100 distinguishes the portion of the scanned image data cut out by the image data control unit 104 into a character string area corresponding to the character string portion of the printed matter and an image area corresponding to the image portion of the printed matter. This process is performed by the control unit 100 recognizing, for example, a portion of the portion cut out by the image data control unit 104 in which multiple non-monochrome image pixels are continuous as an image area. Note that the control unit 100 may perform this process using OCR technology. In such a case, the portion of the portion cut out by the image data control unit 104 that does not include character data recognized by OCR technology is distinguished as an image area.

[0041] In step S1204, the control unit 100 judges whether or not there is an image area in the portion cut out by the image data control unit 104. If the control unit 100 judges that there is an image area in the portion cut out by the image data control unit 104, the process proceeds to step S1205. On the other hand, if the control unit 100 judges that there is no image area in the portion cut out by the image data control unit 104, the control of this flowchart ends. In step S1205, the control unit 100 (recognition means) cuts out a portion recognized as a face from each image area as a face area by its face recognition function in a rectangular block. As a result, blocks are cut out in the image area by the number of portions recognized as a face, that is, the number of face areas. In step S1206, the control unit 100 (second extraction means) saves the features of each block in the block information memory 110. The features of the block include position information of the block.

[0042] In steps S1207 to S1209, the control unit 100 generates masking image data for each block. In step S1207, the control unit 100 reads out position information of the characteristics of the masking target block from the block information memory 110. Furthermore, the control unit 100 determines the area size capable of masking the masking target block based on the read out position information. In step S1208, the control unit 100 (second generating means) generates masking image data that has the determined area size and is filled in monochrome or color. Furthermore, the control unit 100 arranges the generated masking image data in the print data memory 109 at a position where the masking image data can be printed while masking the face part of the printed matter corresponding to the masking target block. Note that such arrangement is performed based on the position information, which is one of the characteristics of the masking target block and which the control unit 100 reads out from the block information memory 110.

[0043] In step S1209, the control unit 100 judges whether there is any other block for which the concealment image data has not been generated. If the control unit 100 judges that there is any other block for which the concealment image data has not been generated, the process returns to step S1207. On the other hand, if the control unit 100 judges that there is no other block for which the concealment image data has not been generated, the process proceeds to step S1210. In step S1210, the control unit 100 executes the printing process through the printing control unit 107 (second printing means). When the user presses an operation switch provided in the key input unit 105, the printing control unit 107 starts the printing process based on the printing data memory 109 in which the concealment image data has been set. In the printing process, the ink head 108 is driven on the printed material being fed, so that the concealment image data is printed line by line so as to overlap the face portion of the printed material. Then, when the ink head 108 moves to a predetermined position, the printing process ends. Thereafter, the control of this flowchart ends.

[0044] Based on the overall sequence shown in the flow chart of Fig. 12, a specific flow for generating concealment image data, from obtaining scanned image data to setting the concealment image data in the print data memory 109, will be described with reference to Figs. 6 to 7 and 13 to 16. In the second embodiment, a case will be described in which the printing device 10 reads the printed matter shown in Fig. 6 with its scanning unit, as in the first embodiment. Therefore, a description of the printed matter in Fig. 6 will be omitted.

[0045] When the scanning unit of the printing device 10 reads the printed matter of FIG. 6, the scanned image data of the entire printed matter including the margins is stored in the scanned image data memory 103. After that, from the scanned image data stored in the scanned image data memory 103, the part of the printed matter of FIG. 6 on which some kind of printing was originally performed and the part on which either text or an image is printed are cut out. In this respect, the printing device 10 is capable of cutting out only the part on which text is performed, as in the first embodiment. As a result, in the scanned image data, the area corresponding to the photograph on the printed matter and the area corresponding to the text on the printed matter are cut out as rectangles, as shown in FIG. 7.

[0046] When the portion cut out in this manner is subjected to a character string image discrimination process, the portion where the photo is printed is determined to be an image area, as shown in FIG. 13. The portions where the characters are printed, i.e., "Trip to Thailand," "It was fun," "2020.12.25," and "Kaihatsu Taro," are determined to be character string areas. Furthermore, for the portion determined to be an image area, i.e., the portion where the photo is printed, the face recognition function of the printing device 10 cuts out three portions recognized as faces, i.e., three face areas, into rectangular blocks, as shown in FIG. 14. For the three blocks, the respective features are stored in the block information memory 110.

[0047] FIG. 15 is a diagram showing the features of three blocks stored in the block information memory 110. As shown in FIG. 15, the features of the three blocks include a start position and an end position. The start position and the end position are expressed in the same manner as in the first embodiment. Block 1 indicates a block of the face of the person on the left side of the photograph printed on the printed material. Block 2 indicates a block of the face of the person on the right side of the photograph printed on the printed material. Block 3 indicates a block of the face of the person in the center of the photograph printed on the printed material. For block 1 indicating the face of the person on the left side, "800:290" is stored in the block information memory 110 as its features at the start position and "835:325" is stored in the block information memory 110 as its features. For block 2 indicating the face of the person on the right side, "1300:310" is stored in the block information memory 110 as its features at the start position and "1335:345" is stored in the block information memory 110 as its features. For block 3 showing the face of the central person, its characteristics include "1285:350" as its start position and "1305:370" as its end position, which are stored in the block information memory 110. Note that the X-axis and Y-axis positions of the start and end positions in Fig. 15 do not necessarily accurately reflect the positions of each block shown in Fig. 14.

[0048] Concealment image data is generated for each block based on its characteristics. Specifically, for example, for block 1, image data that is expanded vertically and horizontally by several millimeters from the area size and filled with monochrome or color is generated as concealment image data based on the start position and end position of block 1. Furthermore, the generated concealment image data is set in the print data memory 109 based on the start position and end position of block 1 so that the face of the left person shown in block 1 is covered when printed on the printed matter of FIG. 6. Similarly, concealment image data is generated for each of blocks 2 and 3 showing the face of the right person and the face of the central person and set in the print data memory 109. Note that FIG. 16 is a diagram showing an image in which the concealment image data for each of blocks 1 to 3 is printed superimposed on the face part of the image part of the printed matter of FIG. 6.

[0049] As described above, the printing device 10 prints and overlaps the face portion of the image portion of the printed matter with the concealment image data, so that the face of a person who is important in terms of personal information can be concealed. The concealment image data is printed and overlapped on the face portion of the printed matter, protruding from the face portion by several millimeters vertically and horizontally. Therefore, the printing device 10 can reliably conceal the face of a person who is important in terms of personal information, while reducing the amount of ink consumption.

[0050] <Modification> Although the preferred embodiments of the present invention have been described above, the present invention is not limited to the above-mentioned embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. The present invention can also be realized by supplying a program that realizes one or more functions of the above-mentioned embodiments to a system or device via a network or storage medium, and having one or more processors of a computer in the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more functions.

[0051] In addition, in the printing device 10, the concealment character string data or the concealment image data may be displayed on the touch panel 106 every time it is generated. In addition, in the printing device 10, the printed matter may be set separately for the scanning unit and the printing unit, or may be fed in a continuous flow from the scanning unit to the printing unit. In the latter case, the printing device 10 can perform the processes from reading in the scanning unit to generating the concealment character string data or the concealment image data and printing in the printing unit in sequence for a plurality of printed matters. In addition, the control shown in the flowchart of the first embodiment and the control shown in the flowchart of the second embodiment may be performed consecutively or simultaneously for the same printed matter. In other words, the printing device 10 may perform, for example, consecutively or simultaneously, printing to cover each character string portion such as "Thailand" with the concealment character string data and printing to cover each face portion such as the face of the person on the left with the concealment image data for the printed matter of FIG. 6.

[0052] Furthermore, in the first embodiment, the character size and color used in the concealment character string data may be changed to those selected by the user from among several candidates output to the touch panel 106 (first selection means). At that time, several candidates that are the same as or similar to the character size and color read out from the block information memory 110 are output to the touch panel 106. This allows the user to change the character size and color used in the concealment character string data from the viewpoint of, for example, illegibility and color reproduction performance. Alternatively, the character size and color used in the concealment character string data may be automatically selected from several candidates that are the same as or similar to the character size and color read out from the block information memory 110.

[0053] Furthermore, in step S502 of the first embodiment, the portion cut out from the scan image data and having some kind of printing as characters or an image thereon may be changed by a touch operation performed by the user using the touch panel 106. This is also true in step S1202 of the second embodiment. Furthermore, in step S511 of the first embodiment, the position of the concealment character string data arranged in the print data memory 109 may be changed by a touch operation performed by the user using the touch panel 106. This is also true in the concealment image data in step S1208 of the second embodiment.

[0054] In the second embodiment, the concealment image data is generated from filled-in image data, but it may be generated from random mosaic image data. Alternatively, several pattern candidates for the concealment image data may be output on the touch panel 106 (second selection means), and the concealment image data may be generated by selecting one of the pattern candidates from the user. In such a case, the user can select the pattern of the concealment image data from the viewpoint of, for example, illegibility, ink consumption, etc.

[0055] In the second embodiment, the concealment image data is printed over the face of a person among the image portions of the printed matter, but it may be printed over the image portion of the printed matter, not just the face portion. Even in such a case, the printing device 10 can expand the object of concealment of the printed matter. In addition, in steps S501 and S502 of the first embodiment, image data of the printed matter input from an external device to the printing device 10 may be used instead of the scanned image data of the printed matter read by the scanning unit of the printing device 10. The external device may be, for example, a scanner or a recording device as a peripheral device of the printing device 10. This point is also the same in steps S1201 and S1202 of the second embodiment. In such a case, the present invention can be applied to a printing device such as a printer that does not have a scanner. In the first and second embodiments, the present invention is applied to the printing device 10 in which the printed matter is automatically fed inside the device body when printing, but the present invention may be applied to a scanning type printing device in which the device body is manually moved over the printed matter when printing.

[0056] The disclosure of each embodiment includes the following configurations, methods, and programs. (Configuration 1) An acquisition means for acquiring scanned image data of a printed matter; a first extraction means for extracting from the read image data a character string area corresponding to a character string portion in which at least one character is arranged on the printed matter; a first extraction means for extracting a character type, a character size, and a color of the character string portion of the printed material from the character string area of ​​the scanned image data; a first generating means for generating concealment character string data with a character type, a character size, and a color that are the same as or similar to the character type, the character size, and the color extracted by the first extracting means; a first printing means for printing the concealment character string data on the printed matter so as to overlap the character string portion. (Configuration 2) A storage means for storing Chinese character data used as character data of the concealment character string data; a storage means for storing hiragana data used as character data of the concealment character string data; a storage means for storing katakana data used as character data of the concealment character string data; a number storage means for storing number data used as character data of the concealment character string data; an alphabetic character storage means for storing alphabetic character data used as character data of the concealment character string data; a symbol storage means for storing symbol data used as character data of the concealment character string data, The printing device described in configuration 1, wherein the first generation means generates the concealment string data using character data randomly read from a storage means corresponding to the character type extracted by the first extraction means. (Configuration 3) A dividing unit divides the character string area of ​​the read image data into blocks having the same character type, character size, and color extracted by the first extracting unit, 3. The printing device according to configuration 1 or 2, wherein the first generating means and the first printing means generate and print the concealment character string data for each block. (Configuration 4) The printing device according to any one of configurations 1 to 3, wherein the first generation means generates the concealment string data in the same character size as the character size extracted by the first extraction means. (Configuration 5) The printing device according to any one of configurations 1 to 4, wherein the first generating means generates the concealment character string data in the same color as the color extracted by the first extracting means. (Configuration 6) A first selection means is provided for allowing a user to select a character size and color that are the same as or similar to the character size and color extracted by the first extraction means, 4. The printing device according to claim 1, wherein the first generating means generates the concealment character string data by using the character size and color selected by the first selecting means. (Configuration 7) A second cutout means for cutting out an image area corresponding to an image portion of the printout from the read image data; a second extraction means for extracting a size of the image portion of the printout from the image area of ​​the read image data; a second generating means for generating image data for concealment in a region size corresponding to the size extracted by the second extracting means; 7. The printing device according to any one of configurations 1 to 6, further comprising: a second printing means for printing the concealment image data on the printed matter so as to overlap the image portion. (Configuration 8) The printing device according to configuration 7, wherein the second generating means generates the concealment image data in an area size that surrounds an area size corresponding to the size extracted by the second extracting means. (Configuration 9) A recognition unit is provided for recognizing a face of a person from the image area of ​​the read image data, the second extraction means extracts a size of a face area corresponding to a face of the person recognized by the recognition means from the image area of ​​the read image data as a size of the image portion of the printed matter; 9. The printing device according to configuration 7 or 8, wherein the second printing means prints the concealment image data so as to overlap a face of a person included in the image portion of the printed matter. (Configuration 10) A second selection means is provided for allowing a user to select a pattern candidate of the concealment image data, 10. The printing device according to any one of configurations 7 to 9, wherein the second generating means generates the concealment image data by using the pattern candidate selected by the second selecting means. (Configuration 11) The printing device according to any one of configurations 1 to 10, wherein the acquisition means acquires the read image data by controlling scanning and reading the printed matter. (Configuration 12) The printing device according to any one of configurations 1 to 10, wherein the acquiring means acquires the read image data from an external device. (Method 1) An acquisition step of acquiring scanned image data of a printed matter; a cutting step of cutting out a character string area corresponding to a character string portion including at least one character arranged on the printed matter from the read image data; an extraction step of extracting a character type, a character size, and a color of the character string portion of the printed material from the character string area of ​​the read image data; a generating step of generating concealment character string data with the same or similar character type, character size, and color as the character type, character size, and color extracted in the extracting step; a printing step of printing the concealment character string data on the printed matter so as to overlap the character string portion. (Program 1) A program for causing a computer to execute each of the means of the printing device according to any one of configurations 1 to 12. [Explanation of symbols]

[0057] 10 Printing device 100 Control unit (first extraction means) (first generation means) 104 Image data control unit (acquisition means) (first extraction means) 107 Printing control unit (first printing means)

Claims

1. An acquisition means for acquiring scanned image data of a printed matter; a first extraction means for extracting from the read image data a character string area corresponding to a character string portion including at least one character aligned on the printed matter; a first extraction means for extracting a character type, a character size, and a color of the character string portion of the printed material from the character string area of ​​the read image data; a first generating means for generating concealment character string data with a character type, a character size, and a color that are the same as or similar to the character type, the character size, and the color extracted by the first extracting means; a first printing means for printing the concealment character string data on the printed matter so as to overlap the character string portion.

2. a storage means for storing kanji data used as character data of the concealment character string data; a storage means for storing hiragana data used as character data of the concealment character string data; a storage means for storing katakana data used as character data of the concealment character string data; a number storage means for storing number data used as character data of the concealment character string data; an alphabetic character storage means for storing alphabetic character data used as character data of the concealment character string data; a symbol storage means for storing symbol data used as character data of the concealment character string data, 2. The printing device according to claim 1, wherein the first generating means generates the concealment character string data using character data randomly read from a storage means corresponding to the character type extracted by the first extracting means.

3. a division unit that divides the character string area of ​​the read image data into blocks having the same character type, character size, and color extracted by the first extraction unit, 2. The printing device according to claim 1, wherein the first generating means and the first printing means generate and print the concealment character string data for each block.

4. 2. The printing device according to claim 1, wherein the first generating means generates the concealment character string data in the same character size as the character size extracted by the first extracting means.

5. 2. The printing device according to claim 1, wherein the first generating means generates the concealment character string data in the same color as the color extracted by the first extracting means.

6. a first selection means for allowing a user to select a character size and color that is the same as or similar to the character size and color extracted by the first extraction means, 2. The printing device according to claim 1, wherein the first generating means generates the concealment character string data using a character size and color selected by the first selecting means.

7. a second cutout means for cutting out an image area corresponding to an image portion of the print material from the read image data; a second extraction means for extracting a size of the image portion of the printout from the image area of ​​the read image data; a second generating means for generating image data for concealment in a region size corresponding to the size extracted by the second extracting means; 2. The printing device according to claim 1, further comprising a second printing means for printing the concealment image data on the printed matter so as to overlap the image portion.

8. 8. The printing device according to claim 7, wherein the second generating means generates the concealment image data in an area size that surrounds an area size corresponding to the size extracted by the second extracting means.

9. a recognition unit for recognizing a face of a person from the image area of ​​the read image data; the second extraction means extracts a size of a face area corresponding to a face of the person recognized by the recognition means from the image area of ​​the read image data as a size of the image portion of the printout; 8. The printing device according to claim 7, wherein the second printing means prints the concealment image data so as to overlap a face of a person included in the image portion of the printed matter.

10. a second selection means for allowing a user to select a pattern candidate of the concealment image data; 8. The printing device according to claim 7, wherein the second generating means generates the concealment image data by using the pattern candidate selected by the second selecting means.

11. 2. The printing apparatus according to claim 1, wherein the acquiring unit acquires the read image data by controlling scanning and reading the printed matter.

12. 2. The printing apparatus according to claim 1, wherein the acquiring unit acquires the scanned image data from an external device.

13. An acquisition step of acquiring scanned image data of a printed matter; a cutting step of cutting out a character string area corresponding to a character string portion including at least one character arranged on the printed matter from the read image data; an extraction step of extracting a character type, a character size, and a color of the character string portion of the printed material from the character string area of ​​the read image data; a generating step of generating concealment character string data with the same or similar character type, character size, and color as the character type, character size, and color extracted in the extracting step; a printing step of printing the concealment character string data on the printed matter so as to overlap the character string portion.

14. A program for causing a computer to execute each of the means of the printing device according to claim 1.

Citation Information

Patent Citations

  • Hybrid vehicle control device

    JP2014097790A