Digital file printing color detection method and system
By comparing the camera equipment with checksum comparison software, the correction data is generated and color repaired, the color errors and distortion problems in the printing process of digital files are solved, and the reliability and efficiency of detection are improved.
Patent Information
- Application Number
- CN202510098914.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-02-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the printing process, digital files are prone to color errors and distortion due to equipment errors and media conversion. The prior art lacks the verification process for detection equipment, resulting in comparison errors and batch printing errors.
Through the verification and imaging equipment, the correction data is obtained to ensure that the color data of the captured printing product is consistent with the actual color data. The on-site photo data of the printed product is compared with the comparison software, and the correction data is generated for color repair.
It improves the reliability and efficiency of print inspection, reduces repeated verification, ensures the color accuracy of print products, and prints and adjusts them through repairing data.
Smart Images

Figure CN119520701A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of color correction, and in particular to a method and system for detecting the color of digital document printing. Background Art
[0002] A digital file refers to the original file generated by the digitization of map data, which contains the feature codes of map elements and the plane coordinates of feature points.
[0003] During the printing process, digital files may have errors in printing equipment, printing technology, carriers or setting parameters, resulting in color errors in the finished printed products; and after digital files are converted through different equipment media, the colors will be distorted.
[0004] According to the patent number: CN114771101A, the patent name: cardboard color printing color detection method, device, equipment and storage medium, which records "equipment detection module, used to obtain the substrate printing instruction corresponding to the sample printing image, and respond to the detection in real time according to the key equipment identification" and "identification positioning module, used to obtain printing equipment information, locate the key equipment identification from the printing equipment information according to the key parameter information", "analyze the qualified printing samples, obtain the error-prone printing key information therefrom, and locate the corresponding key parameter information, so that in the actual printing process of the substrate, the corresponding equipment can be focused on, that is, the key equipment identification is detected, and the overall situation of the printing equipment can be detected during the printing process, thereby improving the yield rate". Those skilled in the art can clearly know that in this technology, the actual printed product is detected and then compared with the correct data, but there is a lack of a process for verifying the detection equipment, so comparison errors are prone to occur, which leads to batch printing errors. Summary of the invention
[0005] In order to overcome the above-mentioned shortcomings, the present invention provides a method and system for detecting the printing color of a digital document.
[0006] The present invention achieves the above-mentioned purpose through the following technical solutions: A method for detecting the color of digital document printing comprises the following steps: Step 1: calibrate the camera device to obtain calibration data to ensure that the color data value of the printed product photographed by the camera device is consistent with the actual color data value of the printed product; Step 2: Take a live photo of the printed product, store the electronic data file of the live photo of the printed product in the processor, and obtain the correct live photo data of the printed product after the correction data processing in step 1; Step 3: Store the actual photo data of the printed product into the processor, and compare it with the on-site photo data of the printed product obtained in step 2 through comparison software to complete the printed product printing color detection.
[0007] The specific process of step one is as follows: Step 101: Using a camera to photograph a sample to obtain a photograph of the sample; Step 102, storing the sample photo in the processor, obtaining the CMYK value of each pixel color of the sample photo through the color recognition software, and obtaining file A; Step 103, storing the actual photo data of the sample into the processor, obtaining the CMYK value of each pixel color of the actual photo of the sample through the color recognition software, and obtaining file B; Step 104, using comparison software to compare the CMYK values in file A and file B, and comparing them based on pixel coordinates. If the CMYK values of file A and file B are the same, the coordinate is marked as 0, and if the CMYK values of file A and file B are different, the coordinate is marked as 1, thereby obtaining file C; Step 105, according to file C, at the pixel coordinate position where the data is 1, color repair is performed on the photograph of the sample by using PHOTOSHOP software, and the repaired CMYK value is stored at the corresponding coordinate to obtain file D.
[0008] Preferably, the specific process of step 2 is as follows: Step 201: A camera device photographs a printed matter to obtain a photograph of the printed matter; Step 202: store the electronic data document of the photograph of the printed product in the processor, and obtain the CMYK value of each pixel color of the photograph of the printed product through the color recognition software to obtain the file E; Step 203, in PHOTOSHOP software, obtain the pixel coordinates that need to be modified for file C, then add the corresponding data value of file D to the corresponding pixel coordinates of file E, obtain the on-site photo data of the printed product, and obtain file F.
[0009] Preferably, the comparison software is WinMerge or Beyond Compare. WinMerge is an open source difference comparison and merging tool based on Windows, which supports comparison of various types of files such as text, pictures, tables, web pages, binary files, etc. Beyond Compare is a powerful file comparison tool. Its powerful functions and wide applicability make it occupy an important position in the field of file comparison. The two software can be used to accurately compare the difference values in two files.
[0010] Preferably, the file C and the file D constitute the correction data.
[0011] Preferably, in step 1 and step 2, when the camera device is photographing the sample and the printed product, the sample and the printed product are located in front of the soft light cover.
[0012] Preferably, the method further includes step 4: performing CMYK repair on the differences according to the pixel coordinates compared in step 3 through PHOTOSHOP software, exporting CMYK data values, transmitting them to the printing equipment for printing adjustment, and performing printing adjustment through printing color detection.
[0013] A digital document printing color detection method as described above is applied to a digital document printing color detection system, including a camera device, a processor and a soft light. The processor includes a computer program. When the computer program is executed by the processor, the steps of the digital document printing color detection method as described above are implemented. With the assistance of the soft light, the camera device can accurately shoot samples or printed products to reduce the interference of external factors on the shooting results. The camera device is a camera and a spectrometer.
[0014] The beneficial effects of the present invention are as follows: in the digital document printing color detection method and system: First, the camera equipment is calibrated to ensure the reliability of subsequent printed product inspections; In step 1, the position coordinates that need to be modified are determined according to the pixel coordinates, and file C is generated. Then, the color is adjusted according to the coordinates to obtain the adjustment data value and file D is generated. File C and file D form the correction data, so that the works shot by the camera device can be automatically repaired, which reduces repeated verification and improves the detection efficiency. In step 2, the printed product on-site photo can be corrected according to the correction data, thereby improving the reliability of the detection; In step 4, the coordinate points that need to be repaired can be repaired to obtain repair data to make printing adjustments for subsequent printed products. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The present invention will now be described by way of example with reference to the accompanying drawings, in which: Figure 1 is a flow chart of the method of the present invention; Figure 2 is a flow chart of step one of the present invention; Figure 3 It is a flow chart of step 2 of the present invention. DETAILED DESCRIPTION
[0016] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.
[0017] like Figure 1 As shown, a method for detecting the color of digital document printing comprises the following steps: Step 1: calibrate the camera device to obtain calibration data to ensure that the color data value of the printed product photographed by the camera device is consistent with the actual color data value of the printed product; Step 2: Take a live photo of the printed product, store the electronic data file of the live photo of the printed product in the processor, and obtain the correct live photo data of the printed product after the correction data processing in step 1; Step 3: Store the actual photo data of the printed product into the processor, and compare it with the on-site photo data of the printed product obtained in step 2 through comparison software to complete the printed product printing color detection.
[0018] Step 4: Based on the pixel coordinates compared in step 3, use PHOTOSHOP software to perform CMYK repair on the differences according to the pixel coordinates, export the CMYK data values, and transmit them to the printing equipment for printing adjustment. Printing adjustment is then performed through printing color detection.
[0019] A digital document printing color detection method as described above is applied to a digital document printing color detection system, including a camera device, a processor and a soft light. The processor includes a computer program. When the computer program is executed by the processor, the steps of the digital document printing color detection method as described above are implemented. With the assistance of the soft light, the camera device can accurately shoot samples or printed products to reduce the interference of external factors on the shooting results. The camera device is a camera and a spectrometer.
[0020] In step 1 and step 2, when the camera device is shooting the sample and the printed product, the sample and the printed product are located in front of the soft light cover.
[0021] like Figure 2 As shown, as a specific embodiment, the specific process of step one is as follows: Step 101: Using a camera to photograph a sample to obtain a photograph of the sample; Step 102, storing the sample photo in the processor, obtaining the CMYK value of each pixel color of the sample photo through the color recognition software, and obtaining file A; Step 103, storing the actual photo data of the sample into the processor, obtaining the CMYK value of each pixel color of the actual photo of the sample through the color recognition software, and obtaining file B; Step 104, using comparison software to compare the CMYK values in file A and file B, and comparing them based on pixel coordinates. If the CMYK values of file A and file B are the same, the coordinate is marked as 0, and if the CMYK values of file A and file B are different, the coordinate is marked as 1, thereby obtaining file C; Step 105, according to file C, at the pixel coordinate position where the data is 1, color repair is performed on the photograph of the sample by using PHOTOSHOP software, and the repaired CMYK value is stored at the corresponding coordinate to obtain file D.
[0022] like Figure 3 As shown, as a specific embodiment, the specific process of step 2 is as follows: Step 201: A camera device photographs a printed matter to obtain a photograph of the printed matter; Step 202: store the electronic data document of the photograph of the printed product in the processor, and obtain the CMYK value of each pixel color of the photograph of the printed product through the color recognition software to obtain the file E; Step 203, in PHOTOSHOP software, obtain the pixel coordinates that need to be modified for file C, then add the corresponding data value of file D to the corresponding pixel coordinates of file E, obtain the on-site photo data of the printed product, and obtain file F.
[0023] The above is based on the present invention as an inspiration. Through the above description, relevant staff can make various changes and modifications without departing from the technical idea of this invention. The technical scope of this invention is not limited to the content in the specification, and its technical scope must be determined according to the scope of the claims.
Claims
1. A method for detecting the color of printed digital documents, characterized in that: The following steps are involved: Step 1: calibrate the camera device to obtain calibration data to ensure that the color data value of the printed product photographed by the camera device is consistent with the actual color data value of the printed product; Step 2: Take a live photo of the printed product, store the electronic data file of the live photo of the printed product in the processor, and obtain the correct live photo data of the printed product after the correction data processing in step 1; Step 3: The actual photo data of the printed product is stored in the processor, and the printed product on-site photo data obtained in step 2 is compared with the comparison software to complete the printed product printing color detection; The specific process of step one is as follows: Step 101: Using a camera to photograph a sample to obtain a photograph of the sample; Step 102, storing the sample photo in the processor, obtaining the CMYK value of each pixel color of the sample photo through the color recognition software, and obtaining file A; Step 103, storing the actual photo data of the sample into the processor, obtaining the CMYK value of each pixel color of the actual photo of the sample through the color recognition software, and obtaining file B; Step 104, using comparison software to compare the CMYK values in file A and file B, and comparing them based on pixel coordinates. If the CMYK values of file A and file B are the same, the coordinate is marked as 0, and if the CMYK values of file A and file B are different, the coordinate is marked as 1, thereby obtaining file C; Step 105, according to file C, at the pixel coordinate position where the data is 1, color repair is performed on the photograph of the sample by using PHOTOSHOP software, and the repaired CMYK value is stored at the corresponding coordinate to obtain file D.
2. A method for detecting the color of printed digital documents according to claim 1, characterized in that: The specific process of step 2 is as follows: Step 201: A camera device photographs a printed matter to obtain a photograph of the printed matter; Step 202: store the electronic data document of the photograph of the printed product in the processor, and obtain the CMYK value of each pixel color of the photograph of the printed product through the color recognition software to obtain the file E; Step 203, in PHOTOSHOP software, obtain the pixel coordinates that need to be modified for file C, then add the corresponding data value of file D to the corresponding pixel coordinates of file E, obtain the on-site photo data of the printed product, and obtain file F.
3. A method for detecting the color of digital document printing according to claim 1, characterized in that: The comparison software is WinMerge or Beyond Compare.
4. A method for detecting the color of digital document printing according to claim 1, characterized in that: The file C and the file D constitute the correction data.
5. The method for detecting the color of printed digital documents according to claim 1, characterized in that: In step 1 and step 2, when the camera device is shooting the sample and the printed product, the sample and the printed product are located in front of the soft light cover.
6. A method for detecting the color of printed digital documents according to claim 1, characterized in that: The method further includes step 4: performing CMYK repair on the difference according to the pixel coordinates compared in step 3 through PHOTOSHOP software, exporting the CMYK data values, and transmitting them to the printing device for printing adjustment.
7. A system using the method for detecting the color of digital document printing as claimed in any one of claims 1 to 6, characterized in that: The method comprises a camera device, a processor and a soft light, wherein the processor comprises a computer program, and when the computer program is executed by the processor, the steps of the method for detecting the color of digital document printing as claimed in any one of claims 1 to 6 are implemented, and the camera device comprises a camera and a spectrophotometer.
Citation Information
Patent Citations
Paperboard color printing color detection method, device and equipment and storage medium
CN114771101A
Calibration method and calibration system for cameras in mobile terminals
CN105338334A
Method for realizing digital printing color correction by modifying character file
CN107395919A
Color exchange method and system based on image collection and calibration
CN107800915A
Image colour correction method and device, and storage medium
CN111656759A