CN108454258B - Collating detection method - Google Patents

Collating detection method Download PDF

Info

Publication number
CN108454258B
CN108454258B CN201810436498.4A CN201810436498A CN108454258B CN 108454258 B CN108454258 B CN 108454258B CN 201810436498 A CN201810436498 A CN 201810436498A CN 108454258 B CN108454258 B CN 108454258B
Authority
CN
China
Prior art keywords
standard
longitudinal
spine
color
color block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810436498.4A
Other languages
Chinese (zh)
Other versions
CN108454258A (en
Inventor
唐英杰
陈虹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Graphic Communication
Original Assignee
Beijing Institute of Graphic Communication
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Institute of Graphic Communication filed Critical Beijing Institute of Graphic Communication
Priority to CN201810436498.4A priority Critical patent/CN108454258B/en
Publication of CN108454258A publication Critical patent/CN108454258A/en
Application granted granted Critical
Publication of CN108454258B publication Critical patent/CN108454258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B42BOOKBINDING; ALBUMS; FILES; SPECIAL PRINTED MATTER
    • B42CBOOKBINDING
    • B42C19/00Multi-step processes for making books
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B42BOOKBINDING; ALBUMS; FILES; SPECIAL PRINTED MATTER
    • B42CBOOKBINDING
    • B42C1/00Collating or gathering sheets combined with processes for permanently attaching together sheets or signatures or for interposing inserts
    • B42C1/12Machines for both collating or gathering and permanently attaching together the sheets or signatures
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B42BOOKBINDING; ALBUMS; FILES; SPECIAL PRINTED MATTER
    • B42CBOOKBINDING
    • B42C19/00Multi-step processes for making books
    • B42C19/04Multi-step processes for making books starting with signatures
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B42BOOKBINDING; ALBUMS; FILES; SPECIAL PRINTED MATTER
    • B42CBOOKBINDING
    • B42C19/00Multi-step processes for making books
    • B42C19/08Conveying between operating stations in machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/155Segmentation; Edge detection involving morphological operators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Mechanical Engineering (AREA)
  • Collation Of Sheets And Webs (AREA)
  • Sorting Of Articles (AREA)

Abstract

The invention discloses a collating detection method, which comprises the following steps: sending out an industrial camera and a camera light source switching signal to an output part of the I/O drive board, starting the camera, and lighting a light source; detecting the input end of the I/O driving plate, starting a camera when a setting key is pressed, and shooting a standard spine page mark image; processing the standard spine page mark image to obtain standard model features of the standard spine page mark image; detecting the input end of the I/O driving plate, judging whether a start key is pressed, detecting whether a collection signal is input by the input end of the I/O driving plate if the start key is pressed, identifying the collected spine page marker image according to the standard model characteristics of the standard spine page marker image if the collection signal is input, judging whether a page gathering error exists, and sending a defective signal to a waste discharge device if the page gathering error exists. The invention can realize automatic detection of books with assembled signatures, and discharge the signatures with wrong collating through the waste discharge device.

Description

Collating detection method
Technical Field
The invention relates to the technical field of collating detection, in particular to a collating detection method.
Background
The modern bookbinding modes mainly comprise plain dress, fine dress and saddle stitch, and the plain dress mainly adopts a perfect binding process. The number of books and periodicals bound by the wireless binding technology in China is about 50% of the total book output in China, and the method is popularized to large, medium and small books and periodicals processing enterprises in various places in China. Therefore, the flat-packed production line is the main equipment of a bookbinding workshop of a bookpress printing factory and is also one of the main varieties of imported bookbinding equipment in China. According to incomplete statistics, in the supervision and detection of the printing quality of books and periodicals in China in recent years, the problem of the post-printing binding quality accounts for about 65% of the problem of the total binding quality, and the problem of the perfect binding quality accounts for about 80% of the problem. The product quality problems easily occurring in each procedure of the wireless adhesive binding are summarized in three aspects: the quality of collating, the quality of gluing and binding and the quality of cutting. Wherein the gathering is the basis and directly related to whether the subsequent process can be performed.
Common collating errors include multi-signature, missing signature, misprinting signature, signature breakage. In order to facilitate checking whether the collating is wrong, a small black square, namely a signature is printed on the ridge of each printed sheet in sequence during printing. By matching, a distinct step-like check mark is formed on the spine, as shown in fig. 1, where fig. 1 (a) is a normal signature, fig. 1 (b) is a re-signature, fig. 1 (c) is a missing signature, and fig. 1 (d) is a wrong signature.
For the wrong gathering, a inspector usually detects the signature of the back of the signature by naked eyes, but the manual method for detecting the signature of the back of the signature by naked eyes has the defects of low efficiency, poor accuracy and the like, and can not meet the requirements of modern production. In addition, the existing spine folder method is difficult to ensure the recognition rate when automatically collecting images, so on the basis of the above, how to design a gathering detection method is a problem to be solved in the field.
Disclosure of Invention
The invention aims to provide a collating detection method for automatically detecting books with collated signatures, and discharging the signatures with the collating errors through a waste discharge device.
In order to achieve the above object, the present invention provides a collect detection device including:
the device comprises a frame, a rotating shaft, a transmission chain, a signature deflector rod, a camera, a photoelectric sensor and a controller;
the rack comprises a standard side plate, a bottom plate, a side plate, a standard bedplate, a third bedplate and a fourth bedplate, wherein the third bedplate and the fourth bedplate are provided with windows; one end of the standard side plate and one end of the side plate are respectively and vertically fixed at two ends of the bottom plate, and one end of the standard bedplate is connected with the other end of the standard side plate and forms a preset acute angle; one end of the table plate is vertically fixed at the other end of the side plate, the other end of the table plate is connected with one end of the third table plate, the other end of the third table plate is connected with one end of the fourth table plate, the fourth table plate and the standard table plate are positioned on the same plane straight line, and a set gap exists between the fourth table plate and the standard table plate;
the two ends of the rotating shaft are respectively arranged on the standard side plate and the side plate; the transmission chain is arranged on the rotating shaft and corresponds to the set gap; the signature shifting lever is arranged on the transmission chain and drives the signature to move through the set gap; the photoelectric sensor and the camera are arranged on the side plate and are arranged corresponding to the window of the third platen; the controller is arranged inside the frame and is respectively connected with the photoelectric sensor and the camera.
Optionally, the collating detection device further includes:
the setting key and the starting key are respectively arranged on the bedplate and are connected with the controller;
a strut, which is arranged on the side plate and is used for arranging the photoelectric sensor and the camera corresponding to the window of the third platen;
and the camera light source is arranged at the outer side of the camera and corresponds to the window of the third platen.
Optionally, the controller includes:
the system comprises an industrial personal computer, a driving board, a standard relay, a relay and a third relay;
the driving plate is connected with the industrial personal computer, and is respectively connected with the photoelectric sensor, the starting key, the setting key, the standard relay, the relay and the third relay, the standard relay is connected with the camera, the relay is connected with the camera light source, and the third relay is connected with the waste discharging device.
Optionally, the photoelectric sensor is a reflective infrared photoelectric sensor.
The invention also provides a collating detection system, which comprises a collating detection device, a collating device, a conveying device and a waste discharge device;
when the collating device finishes the collating of the signatures, the conveying device conveys books with the collated signatures to the collating detection device, and the collating detection device dials the books with the collated signatures to a standard bedplate and a fourth bedplate through the signature deflector rod for collating detection; after the detection is finished, the signature shifting lever dials the signatures to the conveying device for conveying, and when the collating detection device detects a signature collating error, the collating detection device controls the waste discharging device to discharge the conveyed signatures.
Optionally, the collating device includes a transmission chain, and the transmission chain of the collating device is connected with the transmission chain of the collating detection device, so that two transmission speeds are the same.
The invention also provides a spine label folding method, which comprises the following steps:
coding the page numbers by adopting a Gray code table to obtain Gray page numbers;
displaying the Gray page number in a bar code mode to obtain a spine page mark; the spine page mark comprises a page header mark, a colored block, a blank block and a page tail mark.
The invention also provides a collating detection method, which comprises the following steps:
step 10: starting the system, sending out an industrial camera and a camera light source switching signal to an output part of the I/O drive board, starting the camera, and lighting the light source;
step 20: detecting the input end of the I/O drive board, and judging whether a setting key is pressed; when a setting key is pressed, starting a camera to shoot a standard spine page mark image; if not, continuing to detect;
step 30: processing a standard spine page mark image to obtain standard model features of the standard spine page mark image, wherein the standard model features comprise a standard color block area R, a longitudinal color block number C1, a longitudinal qualified color block number S1, a longitudinal color block area and a standard color block area S;
step 40: detecting the input end of the I/O drive board, judging whether a start key is pressed, if yes, entering the next step, and if no, continuing to detect;
step 50: when the start key is pressed, the input end of the detection I/O drive board detects whether a collection signal is input, if yes, a spine page mark image shot by an industrial camera is received, and the step 600 is entered. If not, continuing to detect;
step 60: and (3) identifying the acquired spine page marker image according to the standard model characteristics of the standard spine page marker image, judging whether the page marker image has a page-gathering error, if not, returning to the step (50), and if so, sending a defective signal to a waste discharge device.
Optionally, the identifying the collected spine page marker image according to the standard model feature of the standard spine page marker image, and judging whether there is a gathering error specifically includes:
acquiring a spine page mark image of a spine page mark; the spine page mark comprises a page header mark, a colored block, a blank block and a page tail mark;
preprocessing the spine page mark image to obtain a plurality of rectangular color block areas;
judging whether the area of each rectangular color block area is larger than 0.7 times of the standard color block area; if the standard color block area is larger than 0.7 times, reserving the rectangular color block area; if the standard color block area is smaller than or equal to 0.7 times, eliminating the rectangular color block area;
determining the number of longitudinal color blocks according to the reserved plurality of rectangular color block areas; the number of the longitudinal color blocks is the number of the patches of the sample;
judging whether the number of the longitudinal color blocks is equal to the number of the longitudinal color blocks calculated according to the standard spine page mark image; if the number of longitudinal color patches is not equal to the number of longitudinal color patches calculated from the standard spine page mark image, the signature is collated incorrectly; if the number of longitudinal color blocks is equal to the number of longitudinal color blocks calculated according to the standard spine page mark image, determining the number of longitudinal qualified color blocks according to the longitudinal color block area calculated according to the standard spine page mark image;
judging whether the number of the longitudinal qualified color blocks is equal to the number of the longitudinal qualified color blocks calculated according to the standard spine page mark image; if the number of the longitudinal qualified color blocks is equal to the number of the longitudinal qualified color blocks calculated according to the standard spine page mark image, the signature is correctly collated; if the number of longitudinally acceptable color patches is not equal to the number of longitudinally acceptable color patches calculated from the standard spine page mark image, the signature is collated incorrectly.
Optionally, the preprocessing the spine page label image to obtain a plurality of rectangular color block areas specifically includes:
performing smooth filtering processing on the spine page marker image, removing noise points and obtaining a smooth image;
dividing the smooth image according to a standard color block area of a standard spine page mark image to obtain an interested area;
processing the region of interest by adopting a threshold segmentation method to obtain a plurality of color block regions;
and (3) performing expansion, corrosion and rectangular shaping treatment on the plurality of color block areas by adopting a morphological treatment method to obtain a plurality of rectangular color block areas.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the invention firstly powers up the collating detection device; then pressing a setting key, putting books with manually-assembled signatures as standard books on a standard bedplate and a fourth bedplate, and driving the signatures to pass through a bedplate window by a signature deflector rod; the camera collects a spine page mark image through a window; finally, a start key is pressed, when books with the books assembled are conveyed to the position of the gathering detection device through the conveying device, the book gathering deflector rods dial the books with the books assembled to the standard bedplate and the fourth bedplate, the infrared reflection type photoelectric sensor receives reflection infrared light information through a window and sends signals to the industrial personal computer through a driving plate, the industrial personal computer controls the contact of the standard relay and the relay to be closed through the driving plate, then a camera light source and a camera are started, the camera collects page mark image information through the window and sends the page mark image information to the industrial personal computer, after detection is completed, the book gathering deflector rods dial the books to the conveying device for conveying, and when the gathering detection device detects the book gathering error, the gathering detection device controls the waste discharging device to discharge the conveyed books.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a diagram showing a folding and marking intention of a conventional signature according to an embodiment of the present invention;
FIG. 2 is a diagram showing a first configuration of a collating detecting device according to an embodiment of the present invention;
FIG. 3 is a diagram showing a second configuration of a collating detecting device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a controller according to an embodiment of the present invention;
FIG. 5 is a diagram of an oblique placement of signatures in an embodiment of the present invention;
FIG. 6 is a spine page marker image acquired after being tilted in accordance with an embodiment of the present invention;
FIG. 7 is a signature assembly view of embodiment 1 page numbers of the present invention;
FIG. 8 is a signature assembly diagram of 8 pages in accordance with an embodiment of the present invention;
FIG. 9 is a spine page logo image acquired in an embodiment of the present invention;
FIG. 10 is a sheet of material for inserting spine labels in accordance with an embodiment of the present invention;
FIG. 11 is a main flow chart of a method for detecting a collating according to an embodiment of the present invention;
FIG. 12 is a flowchart of an image recognition process according to an embodiment of the present invention.
The device comprises a frame 1, a frame 11, standard side plates 12, a bottom plate 13, side plates 14, standard table plates 15, table plates 16, third table plates 17, fourth table plates 2, a rotating shaft 3, a transmission chain 4, a signature deflector rod 5, a camera 6, a photoelectric sensor 7, a controller 71, an industrial personal computer 72, a driving plate 73, standard relays 74, relays 75, third relays 81, a start key 82, a setting key 9 and a supporting rod.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention aims to provide a collating detection device, a collating detection system, a collating detection method and a spine signature method, so as to realize automatic detection of books with collated signatures, and discharge the signatures with wrong collating through a waste discharge device.
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
Book cover: the printed sheets (cut or not) are folded into a stack of a plurality of pages according to page numbers and page layout sequences, and then the stack is called a signature.
And (3) line binding by wireless adhesive: perfect binding refers to a binding mode in which each page of a printed matter is fixed on a spine by glue. The binding method from book discharging to automatic completion is realized by using glue instead of iron wires and wires. The process flow is approximately as follows: the automatic perfect binding production line for finishing the above technical processes is called perfect binding line, which comprises the processes of gathering, book feeding, back milling, roughening, upper side binding, back binding, cover wrapping, molding, glue cooling, duplex, cutting, finished product cutting, photo book accumulation, finished product checking, bundling and the like.
Collating machine: the gathering is also called as a signature gathering, which is a working process of gathering signatures into books according to the sequence of page numbers, and the equipment for completing the working is called as a gathering machine, and is usually a part of perfect binding lines.
Collating errors: errors caused by manual or collating machine faults in the process of collating the signatures mainly comprise errors such as wrong signatures, reverse signatures, multiple signatures, missing signatures and the like. Wrong signatures means that signatures are not arranged in the sequence of page numbers, multiple signatures means that more than one identical signature appears in the same book, reverse signatures means that one or more signatures appear upside down in the prepared book, and missing signatures means that one or more due signatures are missing in the prepared book.
Signature bucket: the means for depositing the signatures on the collating machine are typically in groups of 3-4.
FIG. 2 is a diagram showing a first configuration of a collating detecting device according to an embodiment of the present invention; FIG. 3 is a diagram showing a second configuration of a collating detecting device according to an embodiment of the present invention; as shown in fig. 2 to 3, the present invention provides a collect detection device, which includes:
the device comprises a frame 1, a rotating shaft 2, a transmission chain 3, a signature deflector rod 4, a camera 5, a photoelectric sensor 6 and a controller 7;
the frame 1 comprises a standard side plate 11, a bottom plate 12, a side plate 13, a standard bedplate 14, a bedplate 15, a third bedplate 16 and a fourth bedplate 17 which are provided with windows; one end of the standard side plate 11 and one end of the side plate 13 are respectively and vertically fixed at two ends of the bottom plate 12, and one end of the standard bedplate 14 is connected with the other end of the standard side plate 11 and forms a preset acute angle; one end of the table 15 is vertically fixed at the other end of the side plate 13, the other end of the table 15 is connected with one end of the third table 16, the other end of the third table 16 is connected with one end of the fourth table 17, the fourth table 17 and the standard table 14 are positioned on the same plane straight line, and a set gap exists between the fourth table 17 and the standard table 14;
both ends of the rotating shaft 2 are respectively arranged on the standard side plate 11 and the side plate 13; the transmission chain 3 is arranged on the rotating shaft 2 and corresponds to the set gap; the signature deflector rod 4 is arranged on the transmission chain 3, and the signature deflector rod 4 drives the signature to move through the set gap; the photoelectric sensor 6 and the camera 5 are both arranged on the side plate 13 and are both arranged corresponding to the window of the third platen 16; the controller 7 is disposed inside the frame 1 and is connected to the photoelectric sensor 6 and the camera 5, respectively.
The collating detection device of the invention further comprises:
a set key 82 and an activation key 81 are provided on the platen 15, respectively, and are connected to the controller 7.
The setting key 82 and the starting key 81 are all film keys.
The collating detection device of the invention further comprises:
and a strut 9 disposed on the side plate 13, for disposing the photosensor 6 and the camera 5 in correspondence with the window of the third platen 16.
The collating detection device of the invention further comprises:
and a camera light source provided outside the camera 5 and corresponding to the window of the third platen 16.
The controller 7 of the present invention includes:
the industrial personal computer 71, the driving plate 72, the standard relay 73, the relay 74 and the third relay 75;
the driving board 72 is connected with the industrial personal computer 71, the driving board 72 is respectively connected with the photoelectric sensor 6, the start key 81, the setting key 82, the standard relay 73, the relay 74 and the third relay 75, the standard relay 73 is connected with the camera 5, the relay 74 is connected with the camera light source, and the third relay 75 is connected with the waste discharging device.
As shown in fig. 4, the industrial personal computer 71 is respectively connected with the standard relay 73, the relay 74 and the third relay 75 through the I/O interface of the driving board 72, and controls the standard relay 73 to further control the starting and the stopping of the camera 5, controls the relay 74 to further control the starting and the stopping of the camera light source, and realizes that the camera 5 obtains a spine page mark image, and controls the third relay 75 to further realize that the waste discharging device discharges a signature of a wrong collated page.
The photoelectric sensor 6 is a reflective infrared photoelectric sensor 6; the camera light source is an annular light source.
The fourth bedplate 17 and the standard bedplate 14 are arranged on the same straight line of the plane, and the standard bedplate 14 and the standard side plate 11 are arranged at a preset acute angle, namely a certain included angle alpha is formed between the standard bedplate 14 and the bottom plate 12 as shown in fig. 5, so that the purpose of the invention is to fully twist the signature open, and the spine page mark image on the back of the book is more clear as shown in fig. 6.
The length of the base is 350-450 mm, so that the industrial camera 5 and the photoelectric sensor 6 can be accommodated.
The window is arranged on the third platen 16, so that the photoelectric sensor 6 can receive the reflected infrared light information through the window, and the camera 5 shoots a spine page marker image through the window.
The detection process comprises the following steps:
firstly powering up the collating detection device; then the controller 7 turns on the camera 5 and the camera light source, when the setting key 82 is pressed, a book which is manually assembled with the signature is placed on the standard bedplate 14 and the fourth bedplate 17 as a standard book, and the signature is driven by the signature deflector rod 4 to pass through the bedplate window; the camera 5 collects standard spine page images through a window; then, when the book with the assembled book is transferred to the position of the gathering detection device through the transfer device, the book shifting lever 4 dials the book with the assembled book onto the standard platen 14 and the fourth platen 17, the infrared reflection type photoelectric sensor 6 receives the infrared light information through the window of the third platen 16, signals are sent to the industrial personal computer 71 through the driving plate 72, the industrial personal computer 71 controls the contacts of the standard relay 73 and the relay 74 to be closed through the driving plate 72, then the camera light source and the camera 5 are started, the camera 5 collects the information of the page mark through the window and sends the information to the industrial personal computer 71, then the book shifting lever 4 dials the book onto the transfer device to be transferred, the industrial personal computer 71 judges whether the page mark image has the page mark error according to the standard page mark image, and when the page mark is in the page mark error, the industrial personal computer 71 controls the waste discharging device to discharge the transferred book.
The invention also provides a collating detection system, which comprises a collating detection device, a collating device, a conveying device and a waste discharge device;
when the collating device finishes the collating of the signatures, the conveying device conveys books with the collated signatures to the collating detection device, and the collating detection device dials the books with the collated signatures to the standard bedplate 14 and the fourth bedplate 17 through the signature deflector rod 4 for collating detection; after the detection is finished, the signature deflector rod 4 dials the signatures to the conveying device for conveying, and when the collating detection device detects a signature collating error, the collating detection device controls the waste discharging device to discharge the conveyed signatures.
The gathering device comprises a transmission chain 3, wherein the transmission chain 3 of the gathering device is connected with the transmission chain 3 of the gathering detection device so that the two transmission speeds are the same.
The invention also provides a spine label folding method, which comprises the following steps:
in order to effectively ensure the recognition rate of images during image acquisition, particularly when the folding is broken, the system has better robustness, and the system adopts a Gray code coding mode on a folding label (the novel folding label is called a page label in the scheme below unlike the traditional folding label representation), wherein the Gray code coding mode is shown in a table 1.
Step one: and coding the page numbers by adopting a Gray code table to obtain Gray page numbers.
In the common digital coding, gray code is an absolute code mode to generate an unauthorized code, and is characterized in that only one number is different between any two adjacent codes, thus greatly reducing logic confusion from one state to the next, being more reliable and reducing the possibility of error compared with other codes which change two or more bits at the same time.
Table 1 gray code encoding table
Figure GDA0004218077320000091
Figure GDA0004218077320000101
Step two: displaying the Gray page number in a bar code mode to obtain a spine page mark; the spine page mark comprises a page header mark, a colored block, a blank block and a page tail mark.
The invention expresses different page numbers in a bar code mode, as shown in fig. 7, wherein A1, A2, B1 and B2 are marker bits, A1 and A2 are page header marks, A1 is a colored block, A2 is a blank block, B1 and B2 are page tail marks, and the two continuous color blocks are used for expressing. In the middle, a page number indicating area indicates data 0 by black blocks and data 1 by spaces.
Fig. 8 is a signature assembly diagram of 8 pages according to the embodiment of the present invention, and as can be seen from fig. 8, (a) the diagram is a normal signature, (b) the 2 nd and 4 th signatures in the diagram are offset, (c) the 2 nd signature in the diagram is inverted, and (d) the 2 nd signatures are identical.
By adopting the signature method, various conditions in the collating can be clearly identified, and various errors of the collating, such as multi-signature, missing signature, wrong signature and reverse signature, can be distinguished. Meanwhile, as the size of the signature is close to the spine size of the signature, the color blocks of each position are relatively long, even if the signature is broken, the correct reading of each signature is not affected, and fig. 9 is a collected spine signature image, and each signature is clear from fig. 9. The tab is inserted at the page ridge at the time of imposition design as shown in fig. 10.
The signature method provided by the invention is convenient for improving the accuracy of later collating detection.
FIG. 11 is a main flow chart of a method for detecting a collating according to an embodiment of the present invention; fig. 12 is a flowchart of an image recognition process according to an embodiment of the present invention, as shown in fig. 11 to 12, and the present invention provides a collating detection method, which includes:
step 10: starting the system, sending out an industrial camera and a camera light source switching signal to an output part of the I/O driving plate, starting the industrial camera, and lighting the light source;
step 20: detecting the input end of the I/O drive board, and judging whether a setting key is pressed; when a setting key is pressed, starting a camera to shoot a standard spine page mark image; if not, continuing to detect;
step 30: processing a standard spine page mark image to obtain standard model features of the standard spine page mark image, wherein the standard model features comprise a standard color block area R, a longitudinal color block number C1, a longitudinal qualified color block number S1, a longitudinal color block area and a standard color block area S;
step 40: detecting the input end of the I/O drive board, judging whether a start key is pressed, if yes, entering the next step, and if no, continuing to detect;
step 50: when the start key is pressed, the input end of the detection I/O drive board detects whether a collection signal is input, if yes, a spine page mark image shot by an industrial camera is received, and the step 600 is entered. If not, continuing to detect;
step 60: and (3) identifying the acquired spine page marker image according to the standard model characteristics of the standard spine page marker image, judging whether the page marker image has a page-gathering error, if not, returning to the step (50), and if so, sending a defective signal to a waste discharge device.
The following steps were specifically analyzed:
step 30: processing the standard spine page marker image to obtain standard model features of the standard spine page marker image, wherein the standard model features specifically comprise:
step 301: carrying out smooth filtering on the standard spine page mark image, removing noise points and obtaining a standard smooth image;
step 302: dividing the standard smooth image by adopting a threshold segmentation algorithm to obtain a standard color block area;
step 303: and (3) performing expansion, corrosion and rectangular shaping treatment on the standard color block areas by adopting a morphological treatment algorithm to obtain a plurality of groups of standard color block areas R.
Step 304: and determining the number C1 of longitudinal color patches, the number S1 of longitudinal qualified color patches, the area of the longitudinal color patches and the area S of the standard color patches according to the plurality of groups of standard color patch areas R.
Step 60: identifying the acquired spine page marker image according to the standard model characteristics of the standard spine page marker image, judging whether the page marker image has a page gathering error, if not, returning to the step 50, if so, sending a defective signal to a waste discharge device, and specifically comprising:
step 601: acquiring a spine page mark image of a spine page mark; the spine page mark comprises a page header mark, a colored block, a blank block and a page tail mark;
step 602: preprocessing the spine page mark image to obtain a plurality of rectangular color block areas;
step 603: judging whether the area of each rectangular color block area is larger than 0.7 times of the standard color block area S; if the standard color block area S is larger than 0.7 times, reserving the rectangular color block area; if the standard color block area S is smaller than or equal to 0.7 times, the rectangular color block area is removed;
step 604: determining the number C2 of longitudinal color patches according to the reserved plurality of rectangular color patch areas; the number of the longitudinal color blocks is the number of the patches of the sample;
step 605: judging whether the number C2 of the longitudinal color blocks is equal to the number C1 of the longitudinal color blocks calculated according to the standard spine page mark image; if the number of longitudinal color patches C2 is not equal to the number of longitudinal color patches C1 calculated according to the standard spine page mark image, the signature is assembled incorrectly; if the number of longitudinal color patches C2 is equal to the number of longitudinal color patches C1 calculated from the standard spine page mark image, then step 606 is performed;
step 606: determining the number S2 of the longitudinal qualified color blocks according to the longitudinal color block area calculated by the standard spine page mark image;
step 607: judging whether the number S2 of the longitudinal qualified color blocks is equal to the number S1 of the longitudinal qualified color blocks calculated according to the standard spine page mark image; if the number S2 of the longitudinal qualified color blocks is equal to the number S1 of the longitudinal qualified color blocks calculated according to the standard spine page mark image, the signature is correctly collated; if the number S2 of longitudinally qualified color patches is not equal to the number S1 of longitudinally qualified color patches calculated from the standard spine page target image, the signature is collated incorrectly.
Step 602: preprocessing the spine page mark image to obtain a plurality of rectangular color block areas, wherein the method specifically comprises the following steps: the method specifically comprises the following steps:
step 6021: performing smooth filtering processing on the spine page marker image, removing noise points and obtaining a smooth image;
step 6022: dividing the smooth image according to a standard color block region R of a standard spine page mark image to obtain a region of interest;
step 6023: processing the region of interest by adopting a threshold segmentation method to obtain a plurality of color block regions;
step 6024: and (3) performing expansion, corrosion and rectangular shaping treatment on the plurality of color block areas by adopting a morphological treatment method to obtain a plurality of rectangular color block areas.
Step 606: the method for determining the number S2 of the longitudinal qualified color patches according to the longitudinal color patch area calculated by the standard spine page mark image specifically comprises the following steps:
judging whether the area of each longitudinal color block is equal to the area of the longitudinal color block calculated according to the standard spine page mark image; if the area of each longitudinal color block is equal to the area of the longitudinal color block calculated according to the standard spine page mark image, each longitudinal color block is a longitudinal qualified color block, and the number S2 of the longitudinal qualified color blocks is determined; if the area of each longitudinal color block is not equal to the area of the longitudinal color block calculated according to the standard spine page mark image, each longitudinal color block is removed.
The page-gathering detection method provided by the invention processes the spine page-mark image by sequentially adopting the threshold segmentation method and the morphological processing method, so that the detection accuracy is obviously improved.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to assist in understanding the methods of the present invention and the core ideas thereof; also, it is within the scope of the present invention to be modified by those of ordinary skill in the art in light of the present teachings. In view of the foregoing, this description should not be construed as limiting the invention.

Claims (2)

1. A collating detection method, characterized in that the collating detection method comprises:
step 10: starting the system, sending out an industrial camera and a camera light source switching signal to an output part of the I/O drive board, starting the camera, and lighting the light source;
step 20: detecting the input end of the I/O drive board, and judging whether a setting key is pressed; when a setting key is pressed, starting a camera to shoot a standard spine page mark image; if not, continuing to detect;
step 30: processing a standard spine page mark image to obtain standard model features of the standard spine page mark image, wherein the standard model features comprise a standard color block area R, a longitudinal color block number C1, a longitudinal qualified color block number S1, a longitudinal color block area and a standard color block area S;
step 40: detecting the input end of the I/O drive board, judging whether a start key is pressed, if yes, entering the next step, and if no, continuing to detect;
step 50: if the start key is pressed, detecting whether the input end of the I/O drive board is input with a collection signal, if yes, receiving a spine page mark image shot by an industrial camera, entering a step 60, and if no, continuing to detect;
step 60: identifying the acquired spine page marker image according to the standard model characteristics of the standard spine page marker image, judging whether the collected spine page marker image has a gathering error, if not, returning to the step 50, if so, sending a defective signal to a waste discharge device;
the identification process specifically comprises the following steps:
acquiring a spine page mark image of a spine page mark; the spine page mark comprises a page header mark, a colored block, a blank block and a page tail mark;
preprocessing the spine page mark image to obtain a plurality of rectangular color block areas;
judging whether the area of each rectangular color block area is larger than 0.7 times of the standard color block area; if the standard color block area is larger than 0.7 times, reserving the rectangular color block area; if the standard color block area is smaller than or equal to 0.7 times, eliminating the rectangular color block area;
determining the number of longitudinal color blocks according to the reserved plurality of rectangular color block areas; the number of the longitudinal color blocks is the number of the patches of the sample;
judging whether the number of the longitudinal color blocks is equal to the number of the longitudinal color blocks calculated according to the standard spine page mark image; if the number of longitudinal color patches is not equal to the number of longitudinal color patches calculated from the standard spine page mark image, the signature is collated incorrectly; if the number of longitudinal color blocks is equal to the number of longitudinal color blocks calculated according to the standard spine page mark image, determining the number of longitudinal qualified color blocks according to the longitudinal color block area calculated according to the standard spine page mark image;
judging whether the number of the longitudinal qualified color blocks is equal to the number of the longitudinal qualified color blocks calculated according to the standard spine page mark image; if the number of the longitudinal qualified color blocks is equal to the number of the longitudinal qualified color blocks calculated according to the standard spine page mark image, the signature is correctly collated; if the number of longitudinally acceptable color patches is not equal to the number of longitudinally acceptable color patches calculated from the standard spine page mark image, the signature is collated incorrectly.
2. The method for detecting a gathering as recited in claim 1, wherein preprocessing the spine page target image to obtain a plurality of rectangular color block areas comprises:
performing smooth filtering processing on the spine page marker image, removing noise points and obtaining a smooth image;
dividing the smooth image according to a standard color block area of a standard spine page mark image to obtain an interested area;
processing the region of interest by adopting a threshold segmentation method to obtain a plurality of color block regions;
and (3) performing expansion, corrosion and rectangular shaping treatment on the plurality of color block areas by adopting a morphological treatment method to obtain a plurality of rectangular color block areas.
CN201810436498.4A 2018-05-09 2018-05-09 Collating detection method Active CN108454258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810436498.4A CN108454258B (en) 2018-05-09 2018-05-09 Collating detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810436498.4A CN108454258B (en) 2018-05-09 2018-05-09 Collating detection method

Publications (2)

Publication Number Publication Date
CN108454258A CN108454258A (en) 2018-08-28
CN108454258B true CN108454258B (en) 2023-06-30

Family

ID=63215053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810436498.4A Active CN108454258B (en) 2018-05-09 2018-05-09 Collating detection method

Country Status (1)

Country Link
CN (1) CN108454258B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004216841A (en) * 2003-01-31 2004-08-05 Shinwa Insatsu Kk Book
JP3154582U (en) * 2009-08-03 2009-10-22 有限会社新田製本 Book
CN101833656A (en) * 2010-04-15 2010-09-15 陈有昌 Book registration device based on book characteristics
CN201864383U (en) * 2010-11-25 2011-06-15 广州市人民印刷厂 Collating machine

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2513035B2 (en) * 1989-07-13 1996-07-03 凸版印刷株式会社 Card set and its inspection method
CN2834711Y (en) * 2005-06-10 2006-11-08 北京工业大学 Incorrect plaster detection device having waste discharge function
JP5085946B2 (en) * 2007-01-19 2012-11-28 キヤノン株式会社 Printing system, control method, program, printing apparatus
US7873757B2 (en) * 2007-02-16 2011-01-18 Arm Limited Controlling complex non-linear data transfers
CN202296454U (en) * 2011-11-04 2012-07-04 淮南光华光神机械电子有限公司 Blocked section detection mechanism for collating machine
CN202669224U (en) * 2012-07-06 2013-01-16 东莞金杯印刷有限公司 False bookbinding preventing structure
CN208411152U (en) * 2018-05-09 2019-01-22 北京印刷学院 A kind of collating detection device and collating detection system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004216841A (en) * 2003-01-31 2004-08-05 Shinwa Insatsu Kk Book
JP3154582U (en) * 2009-08-03 2009-10-22 有限会社新田製本 Book
CN101833656A (en) * 2010-04-15 2010-09-15 陈有昌 Book registration device based on book characteristics
CN201864383U (en) * 2010-11-25 2011-06-15 广州市人民印刷厂 Collating machine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
改进的SIFT算法在书帖检测系统中的应用;朱娟;王玉兰;田纪亚;于书翰;;湘潭大学自然科学学报(第04期);全文 *

Also Published As

Publication number Publication date
CN108454258A (en) 2018-08-28

Similar Documents

Publication Publication Date Title
US7417774B2 (en) Method and apparatus for selective processing of captured images
EP1136283B1 (en) Integrated document creation and finishing using standalone finishing devices
US20090202134A1 (en) Print inspecting apparatus
CN101837696B (en) Book binding machine and method for operating same
CN105383193A (en) Printing device, control method of a printing device, and a program
CN105882142A (en) Printed matter defect detection system and method
EP1187464A3 (en) Image processing apparatus and its control method, and image processing method
RU2189076C2 (en) Method for manufacturing data media in the form of cards
CN108454258B (en) Collating detection method
CN205523047U (en) Printed matter defect detection system
CN114968137A (en) Intelligent manufacturing industrial production cooperative management platform based on big data analysis
CN105976001A (en) False-proofing license plate making QR code and serial number identifier identification method
CN110143050A (en) A kind of printed on line detection all-in-one machine
JPH07131779A (en) Method and device checking graphics
CN108388412B (en) Printing device and printing control method, device and system
CN1130669C (en) Additional apparatus for passbook management and operating method thereof
CN208411152U (en) A kind of collating detection device and collating detection system
CN101157422A (en) Method for inserting marking inserts
JP3139537U (en) Printed material inspection device
CN111445433B (en) Method and device for detecting blank page and fuzzy page of electronic file
CN205453925U (en) Wrong card control appearance of high type of bar code exhibition
CN207976869U (en) Printing is set with printing equipment
EP2199950B1 (en) Recognition of articles based on combination of codes and images
JPH0325387B2 (en)
EP2091738A1 (en) Control device for numbering machines used to print numbers in ascending or descending order on bank notes, lottery tickets and value cards in general

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant