CN1075810A - Apparatus for reading of bar-code marks - Google Patents

Apparatus for reading of bar-code marks Download PDF

Info

Publication number
CN1075810A
CN1075810A CN 93101652 CN93101652A CN1075810A CN 1075810 A CN1075810 A CN 1075810A CN 93101652 CN93101652 CN 93101652 CN 93101652 A CN93101652 A CN 93101652A CN 1075810 A CN1075810 A CN 1075810A
Authority
CN
China
Prior art keywords
bar
code marks
code
marks
mentioned
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.)
Granted
Application number
CN 93101652
Other languages
Chinese (zh)
Other versions
CN1035287C (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.)
ORINPESU OPTICS INDUSTRY Co Ltd
Original Assignee
ORINPESU OPTICS INDUSTRY Co Ltd
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
Priority claimed from JP4133533A external-priority patent/JPH05325550A/en
Priority claimed from JP4136725A external-priority patent/JPH05334482A/en
Application filed by ORINPESU OPTICS INDUSTRY Co Ltd filed Critical ORINPESU OPTICS INDUSTRY Co Ltd
Publication of CN1075810A publication Critical patent/CN1075810A/en
Application granted granted Critical
Publication of CN1035287C publication Critical patent/CN1035287C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

Can prevent dual apparatus for reading of bar code that reads and method, comparing section is made comparisons to four jiaos the coordinate that detects four jiaos coordinate of the newly discovered bar-code marks sign of handling part and be stored in the bar-code marks sign that deciphering in the secondary buffer storer finish with bar-code marks that is stored in memory buffer.When their two coordinates were different, control part was deciphered the content that derives from the bar-code marks that is stored in the image information in the frame memory in the decoding handling part.If identical, it is invalid that this bar-code marks that newly reads in is masked as, and do not decipher, thereby prevent dual reading.

Description

Apparatus for reading of bar-code marks
The present invention relates to read the apparatus for reading of bar-code marks of bar-code marks, particularly about preventing the dual device that reads.So-called in this manual " dual reading " vocabulary shows is the content (decoding) that reads bar-code marks, to the bar-code marks that the principal computer transfer of data finishes, videotape again then and decipher to main frame and pass on.
In recent years, followed popularizing of point of sale (POS) system, bar-code marks becomes and is found everywhere.Tens kinds of coding schemes are arranged in this bar-code marks, and representational have: the JAN/UPC/EAN sign indicating number, ITF(five is every two) and sign indicating number, CODE39, the NW-7 sign indicating number, CODE128, etc.These bar-code marks systems are called as the monobasic bar-code marks, and open ended quantity of information is tens literal.
On the other hand, POS system is being widely adopted at the scene of pin commodity such as department store, supermarket, is using apparatus for reading of bar code as its terminal.There, apparatus for reading of bar-code marks require low price, easy to use, the wanding mark is correct.
Bar-code marks read method substance is as follows, that is, the illumination that will come from light source to bar-code marks, scanning, the light that will reflect on bar-code marks gathers the light receiving element of reading device inside.The output signal of light receiving element is done decoding handle in the electric loop that is made of microcomputer etc., read in view of the above bar-code marks.
Apparatus for reading of bar-code marks is divided into through the pattern of the scanning of bar-code marks often with corresponding to the operation of read switch etc. the pattern of scanning bar code mark, particularly, in the former the often pattern to bar-code marks scanning, that has been read the what is called that bar-code marks once can not be read again and " has prevented dual reading " function is important.Especially to the valuation in supermarket etc., it is necessary that this function becomes that yes.Promptly, if reading the article that post bar-code marks after bar-code marks finishes by this apparatus for reading of bar code has still put for a moment at there, perhaps the slow motion that article are taken away a bit, same bar-code marks has been read several times, perhaps do not plan to read the article of its bar-code marks and among here or thereto moving, read several times, the number of actual purchase article and finally read and be transferred to the inconsistent worry of number that main frame goes and can take place.
Here, the identical occasion of content of the bar-code marks that ought read has continuously been proposed in monobasic apparatus for reading of bar-code marks in the past, a bar-code marks is judged as and repeats to read, the back read bar-code marks be called invalid method as preventing the dual method that reads, and propose will the bar-code marks of certain hour back not be read after the principal computer transfer of data way as preventing the dual method that reads.
In recent years, the quantity of information deficiency of monobasic bar-code marks is caused to talk, so, developed and multiplely contained, be called as the coding scheme of binary bar-code marks than multiple data quantity.A kind of numeric data code that is called wherein.This numeric data code can be made of the housing of L font and chequered with black and white border and inner data field thereof with the black and white pattern of binary, and doing as a whole is foursquare figure.But, in reading the binary apparatus for reading of bar-code marks that such binary bar-code marks is a purpose, also effectively do not prevent the scheme of the dual method that reads.
If in this binary apparatus for reading of bar-code marks, use the anti-dual read method of above-mentioned the sort of monobasic bar-code marks, because binary bar-code marks quantity of information is more significantly than the monobasic bar-code marks, so the comparison process time of data must be oversize.In addition, the decoding processing of binary bar-code marks itself is because of very complicated, and the time is also very long.Thereby use the method in the past that decoded content is compared, and processing time length is a problem points, to be used for the binary apparatus for reading of bar-code marks improper like this.
Also have, alleged certain hour after the principal computer transfer of data is not read the method for later bar-code marks, wherein the setting of this certain hour is very difficult, the occasion of setting-up time length is not easy the reading of bar-code marks of back, and the problem that the short identical bar-code marks secondary of occasion of setting-up time reads still exists.And the label that the operator will record bar-code marks is forgotten also can become " dual reading " eventually in that local occasion.
The present invention is point in view of the above problems, can prevent that to provide with simple and high speed processing the dual apparatus for reading of bar-code marks that reads from being purpose.
The apparatus for reading of bar-code marks that provides in first style of the present invention has: at interval bar-code marks is videotaped, stores the videotaping and memory storage of picture information that is videotaped gained by this every official hour; By be stored in above-mentioned videotape and memory storage in picture information detect the position-detecting apparatus of the positional information of bar-code marks; The primary importance memory storage that rheme is put the bar-code marks positional information that detection device detects is used in storage; The second place memory storage of the bar-code marks positional information that storage once detects before by above-mentioned position-detecting apparatus; To being stored in two comparison means that positional information compares in above-mentioned first and second location storage devices; Result according to above-mentioned comparison means comparison judges two occasions that positional information is different, to videotaping and be stored in the code translator that picture information gets the memory storage bar-code marks content is deciphered from above-mentioned.
The dual reading device that prevents that second style according to the present invention provides has: position-detecting apparatus, and its detects the positional information of bar-code marks according to the picture information that bar-code marks is videotaped gained every specific time interval; First memory storage, it will be used rheme and put the bar-code marks cached location information that detection device detects; Second memory storage stores by the previous bar-code marks positional information that detects of above-mentioned position-detecting apparatus; To being stored in two comparison means that positional information compares in above-mentioned first and second memory storages; Control device, it is judged as two positional informations in the result according to above-mentioned comparison means comparison and does not produce the decoding enabling signal simultaneously.
Promptly by the apparatus for reading of bar-code marks of first style of the present invention and preventing in the dual device that reads of second style, be provided with first and second memory storage and the comparison means that compares two positional informations of the positional information that stores bar-code marks, make comparisons in position to the position of deciphering the bar-code marks that finishes and the bar-code marks that newly reads in, they are the same in this way, it is invalid that this bar-code marks that newly reads in is labeled as, do not decipher, to prevent dual reading.
Also have, the 3rd apparatus for reading of bar-code marks that style provides according to the present invention has: be used for by bar and the empty imaging device that videotapes every the bar-code marks of forming; The bar-code marks detection device detects having of bar-code marks or does not have from the output signal of above-mentioned imaging device; The bar-code marks code translator is used for explaining the content of this bar-code marks of the image that derives from the above-mentioned bar-code marks that videotapes with above-mentioned imaging device; Control device, it is after being deciphered bar-code marks by above-mentioned bar-code marks code translator, according to above-mentioned bar-code marks detection device, when existence at least once can not detect the state of bar-code marks, the action of giving above-mentioned bar-code marks code translator subsequently was with permission.
Promptly, after in the apparatus for reading of bar-code marks of the third style of the present invention, bar-code marks being deciphered by the bar-code marks code translator, unless the bar-code marks detection device does not at least once detect bar-code marks, control device is just forbidden the action of bar-code marks code translator subsequently, thereby checking out that bar-code marks did not carry out reading in of bar-code marks before this apparatus for reading of bar-code marks breaks away from, thereby prevent " dual reading ".
Fig. 1 is the block scheme that first embodiment of the invention constitutes;
Fig. 2 is the process flow diagram for the action that first embodiment is described;
Fig. 3 A is in order to be described in more detail a series of process flow diagrams that bar-code marks in Fig. 2 process flow diagram detects processing to Fig. 3 C;
Fig. 4 is that expression is for four jiaos direction of scanning of asking for bar-code marks and the figure that detects coordinate points;
To be expression ask two figure of the image of the coordinate points at the straight line of quadrature and four angles substantially by the coordinate points that detects to Fig. 5;
Fig. 6 is the figure of structure that the PDF417 mark of binary bar-code marks example is used as in expression;
Fig. 7 is the process flow diagram that detect processing of expression about second embodiment bar-code marks;
Fig. 8 be imaginary, the bar-code marks image projection of the PDF417 that 4 * 1 tag array are arranged is become mode chart with the drawing configuration of cells of frame memory;
Fig. 9 A and Fig. 9 B are scanning among Fig. 7 and a series of process flow diagrams that detect subroutine;
Figure 10 represents the figure of the formation of the 8th embodiment;
Figure 11 is the process flow diagram that is used for illustrating the action of the 8th embodiment;
Figure 12 is used for illustrating the parallel mobile mode chart of bar-code marks;
Figure 13 is the block scheme of the formation of ninth embodiment of the invention;
Figure 14 is the process flow diagram that is used for illustrating the action of the 9th embodiment.
Below, with reference to accompanying drawing, embodiments of the invention are described.
First embodiment
Fig. 1 is the block scheme that first embodiment of the present invention constitutes.In the figure, 10 pairs of the CCD image sensors picture information that be printed on bar-code marks and commodity etc. of labeing in the drawings on the article of not expression videotape.Frame memory 12 will temporarily store with the picture information of above-mentioned CCD image sensor 10 shootings.
Bar-code marks detects in the data of handling part 14 from be stored in frame memory 12 and finds out bar code label, exports its positional information.A memory buffer 16 is stored in turn and is detected the positional information that handling part 14 detects bar code label with above-mentioned bar-code marks, simultaneously passes on the mark positional information of its storage to secondary buffer storer 18 or comparing section 20.When secondary buffer storer 18 stores the mark positional information of sending here from an above-mentioned memory buffer 16, pass on the mark positional information of its storage to above-mentioned comparing section 20.20 pairs of comparing sections once compare with two mark positional informations that secondary buffer storer 16,18 is sent here from those.
Decoding handling part 22 based on the positional information that detects the bar-code marks that handling part 14 detects with above-mentioned bar-code marks, read out the data that oneself is stored in the bar-code marks in the frame memory 12, with the decoding of the content of this bar-code marks, the result of decoding is transferred in the not shown principal computer etc.
The above-mentioned CCD image of control part 24 control sensor 10, bar-code marks detect each one such as handling part 14, memory buffer 16, secondary buffer storer 18, comparing section 20, decoding handling part 22.
In addition, above-mentioned bar-code marks detects handling part 14, compares 20, decoding handling part 22, and control part 24 constitutes CPU26.
Below, in formation as described above, with the numeric data code delivered as an example, with the processing flow chart explanation of Fig. 2 handling procedure about the occasion of reading in bar-code marks.
According to the control of control part 24, at first, videotape and be stored in (step S1) in the frame memory 12 with the picture intelligence of 10 pairs of bar-code marks of CCD image sensor.Secondly, detect detect (the step S2) that handling part 14 carries out bar-code marks by bar-code marks.That is, the occasion of numeric data code mark to having the graphic of L font housing feature, detects this graphic coordinate that just can find four angles.Then, judge to have or not bar-code marks that the coordinate (step S3) of not trying to achieve four jiaos is finally arranged.In videotaping the image of gained,, get back to above-mentioned steps S1 if do not have bar-code marks.
Here, be described in more detail the judgement that detects and have or not with reference to the process flow diagram of Fig. 3 A to Fig. 3 C in addition at the bar-code marks of above-mentioned steps S2 and S3.
Bar-code marks detects handling part 14, for example, as shown in Figure 4, with every several picture units in the horizontal direction (X) to frame memory 12 scanning.That is, set the Building Y at first in the early stage and be marked in initial value Y OBack (step S21) is marked with every several picture units ground from initial value X the Building X OChange to maximal value X N, scan (step S22) in the horizontal direction.Then, the coordinate points of the black level that detects at first in this scanning and the black level that detects is at last stored (step S23).Next, with decided at interval that A upgrades Building Y mark (step S24), its result is judged whether to surpass maximal value Y N(step S25).As do not surpass, get back to above-mentioned steps S22, repeat above-mentioned processing.
So, as the whole been scanned of horizontal direction, link the coordinate points of the black level that detects at first, seek the straight line A(of a plurality of coordinate points of binding (as more than 4) such as the L among Fig. 5 1), as straight line A exist (step S26) that this straight line A is gone up whole coordinate points P AStore (step S27).Equally, link the coordinate points of the black level that detects at last, seek the straight line B that a plurality of coordinate points (for example more than 4) link up, as the words (step S28) that this straight line B exists, will be at the whole coordinate points P on this straight line B BStore (step S29).After, judge straight line A, substantially whether B quadrature (step S30), if quadrature, from stored coordinate points P A, P BCalculating is tried to achieve the intersection point b(of two straight line A, B referring to Fig. 5) coordinate (step S31).
On the other hand, in above-mentioned step S30, if be judged as two straight line A, the words (comprise and asking less than two straight line A, the occasion of B) that B is non-orthogonal substantially go up scanning in vertical direction (Y) again, carry out same processing.That is, at first with initial value X OAfter the mark of initial setting Building X (step S32), the Building Y is marked from initial value Y every several picture units OBe altered to maximal value Y N, scan (step S33) in vertical direction.Then, the coordinate points of the black-level that detects at first in this scanning and the black-level that detects is at last stored (step S34).Then, consequently do not surpass maximal value X with decided B renewal Building X mark (step S35) judgement at interval N(step S36).If do not surpass, get back to above-mentioned steps S33, repeat above-mentioned processing.Subsequently, after the been scanned as whole vertical direction, the coordinate points of the black-level that detects is at first linked up, seek the straight line C that a plurality of coordinate points (for example more than 4) link up, this straight line C is (step S37) if present, will be at the whole coordinate points P on this straight line C CStore (step S38).Equally, link the coordinate points of the black-level detect at last, for example seek straight line D(that a plurality of coordinate points (for example more than 4) link up, the L among Fig. 5 2), as straight line D have (step 39), will be at the whole coordinate points P on this straight line D DStore (step S40).Judge again at straight line A and in D, whether two straight lines quadrature (step S41) is substantially arranged.The if there is no situation of quadrature, as there not being bar-code marks (step S42), processing finishes, and gets back to above-mentioned steps S1.
Also have,, calculate from the coordinate points of stored two straight lines about this quadrature and to try to achieve two straight-line intersection b(referring to Fig. 5 if two of quadrature straight lines exist substantially) coordinate (step S43).
Then from four jiaos coordinate a, b, c, d of the intersection point b of two straight lines of calculating and the coordinate points decision bar-code marks that detects.That is, separately along two straight lines of quadrature open at height on the direction of intersection point b and scan sense data (step S44), the last coordinate points of black-level is stored (step S45) as an a and c.From the coordinate of the coordinate calculation level d of 3 some a of these storages, b, c, the result is stored, four jiaos coordinate points a, the b that simultaneously these is tried to achieve, the coordinate of c, d output in memory buffer 16 (step S46) as positional information again.At last, in the occasion of numeric data code, because the profile of its bar-code marks is a square, so, can determine four angles simply if intersection point and length on one side are known.In addition, even the coordinate at these four angles also has no relations with mark malposition ground is consistent.
So, the coordinate at four angles finding temporarily is stored in memory buffer 16, and one time memory buffer 16 is transferred to comparing section 20 and secondary buffer storer 18 with this positional information.Secondary buffer storer 18 passes on stored positional information when going comparing section 20, the cached location information of the mark that will send here from a memory buffer 16.After, in comparing section 20, to coordinate points at least relatively among two group of four point coordinates sending here from memory buffer 16 and secondary buffer reservoir 18, whether judge identical (step S4), in this was judged, just to be considered as be identical if the error of each coordinate points is the degree of several picture units.Here, judging that the position is identical occasion, identical bar-code marks is judged as secondary reads in, this mark is as invalid, send the alarm signal that expression prevents dual reading mechanism action, urge and change bar-code marks, just change commodity (step S5).After this, get back to above-mentioned steps S1 and carry out following reading in.
Have again, in above-mentioned steps S4, be judged to be the different occasion in position, carry out definite processing (the static affirmation of bar-code marks is handled) of the position of bar-code marks.That is, directly read in (step S6) again, carry out same detecting the mark position that 14 li of handling parts do at bar-code marks and detect (step S7) with above-mentioned steps S2.Then, new cached location information in memory buffer 16 and the positional information that is stored in the mark of the preceding the last time in the secondary buffer storer 18 in comparing section 20, carry out coordinate relatively (step S8).Specifically, if the position is considered as bar-code marks and determines identical.
So if the position of bar-code marks determines that it is static promptly confirming as, then, control part 24 is given 22 1 decoding of decoding handling part enabling signal, corresponding to this, decoding handling part 22 carries out the decoding (step S9) of bar-code marks.That is, in the decoding handling part 22, use the mark positional information that detects handling part 14 from bar-code marks, scan the frame memory that only has the bar-code marks part successively along as shown in Figure 5 bar-code marks, the bar-code marks decoding of information.Subsequently, the result of decoding is passed on (step S10) to not shown principal computer, read to report a bar-code marks that to finish be that the alarm signal of purpose sends back (step S11), processing finishes, and gets back to above-mentioned steps S1 and shifts reading in for following bar-code marks.
On the other hand, if in above-mentioned steps 8, be judged as the position difference, control part 24, being judged as bar-code marks is to have moved, being considered as is to be that changing of commodity do not carried out the decoding by decoding handling part 22 in the operation at bar-code marks, gets back to above-mentioned steps S1 and shifts to read in next time.
In a word, in this first embodiment, bar-code marks is changed the back and is just videotaped with CCD image sensor 10, videotapes with CCD image sensor 10 again immediately, if there is not mark to move, just begins decoding.And to the mark that will decipher till be replaced, all want the circulation of repeating step S1-S5, and then decoding, promptly prevented dual reading.
If to causing in mark moves and to have made a video recording for taking this bar-code marks of having translated sign indicating number away, just becoming can be by the result of step S4 to step S6, get back to step S1 in this occasion according to eliminating with the static affirmation of step S8, decoding has promptly prevented dual reading again.
Among bar-code marks subsequently inserts, eliminated by the static affirmation of step S8, decoding does not begin before this bar-code marks stops.
But this occasion, if read in by bar-code marks in the time between till after step S8 eliminates, reading in mobile to bar-code marks at step S1 based on bar-code marks at step S6, always study carefully on step S4 that can be judged as the position identical, just can not carry out the later processing of step S6, probably have and take office the thing when marquis does not decipher yet.But, in this occasion,, report described situation about can not read in to the operator according to the alarm signal of step S5, impel and any is moved in the bar-code marks position carry out countermeasure and handle.
Like this, in this first embodiment, because only the positional information of bar-code marks is made comparisons, so comparison process is carried out simply, fast.Also have, because determine to decipher, so dual the reading also of changing in the operation at bar-code marks can prevent from the position of bar-code marks.
Second embodiment
In first above embodiment, bar-code marks has used numeric data code, and the present invention has more than and is defined in this, no matter be PDF417, CODE49 waits other binary bar-code marks also passable.
Therefore, will use the occasion of PDF417 to illustrate in addition as second embodiment.Herein, the formation of PDF417 mark is as being shown in Fig. 6.That is, this bar-code marks has: use by bar and empty what constitute every the bar code symbol group who combines should be the sign portion 28 in the zone of a plurality of informational contents; With configuration before and after the sign portion be the initial code 30 and the end code 32 of initial/terminating symbol.So, a sign indicating number, except end code 32, by 4 bars and empty every forming, and end code 32A by 5 bars and 4 skies every forming.In addition, initial code and end code 30,32 begin with thick bar 30A, the 32A that is called as " thick bar ".As long as detect thick bar 30A, the 32A of this feature, just can find four jiaos coordinate of mark.
Sign portion 28 is made of the sign indicating number that is called as line pointer 28A that exists adjacent to initial code 30 and end code 32, the tag array 28C that a plurality of data rows 28B formed that is clipped in the record real data between them.In line pointer 28A, recorded and narrated the line direction of sign, the scale of column direction, and reliability step etc.Wherein, reliability step is that the grade of correcting wrong ability is arranged to PDF417, and one has nine grades.Thereby, separate the information of reading this row indicateing arm 28A, can determine the information scale of bar-code marks etc.
This Fig. 6 shows the bar-code marks of 4 * 2 tag array.
This second embodiment, for above-mentioned first embodiment, it is different having only bar-code marks to detect processing (the step S2 of Fig. 2), so only this part processing flow chart with reference to Fig. 7 is described.In this manual, process flow diagram is write according to the narration way of program language C.
Fig. 8 be expression imaginary, the bar-code marks image projection of the PDF417 that 4 * 1 tag array are arranged is become the mode chart of the drawing configuration of cells of frame memory 12, bar-code marks detects handling part 14 and detects the projection image 34 that is projected in the bar-code marks in this frame memory 12 next.That is, detect in the handling part 14 at bar-code marks, at first to frame memory 12 on level (X) direction to scan every several drawings unit, detect initial code 30 and end code 32(step S51), find four angles of bar-code marks 34.If in horizontal scanning, can not find the occasion (step S52) of bar-code marks 34, frame memory 12 is scanned on vertical (Y) direction, similarly look for four jiaos (step S53) of bar-code marks 34.If so all can not find under the situation of mark 34 (step S54), as there not being bar-code marks (mark detects) to withdraw from this processing.Be exactly to obtain not having the information of mark just to return.Moreover in this instructions, because just become Writing method among this figure according to the souvenir mode of C language, as according to the souvenir mode of FORTRAN etc., become what is called will have the Writing method that just returns after the unmarked identification marking.Also have,,, withdraw from this processing as bar-code marks (detecting mark) is arranged finding under four jiaos of occasions of bar-code marks about above-mentioned steps S52 or S54.
Wherein, about step S51-S53, with reference to the subroutine that detects of Fig. 9 A and Fig. 9 B detailed description bar-code marks 34.
At first, in order to read every several drawings unit, value as read-out position counting n, initial setting be equivalent to above-mentioned several drawings unit after the value of fixed drawing unit increment scan-inc (step S61), judgement is horizontal scanning or vertical scanning (step S62), if horizontal scanning is read the capable data of n (step S63) from frame memory 12.If vertical scanning, the data (step S64) of reading the n row.
Secondly, judge that having initial code 30 in the DS that is taken out denys (step S65).The occasion that exists judges whether be to belong to for the first time to detect (step S66) in present pictorial data.Then, be first occasion, the coordinate that detects is deposited be coordinate parameter e(step S67).Be not first occasion, the coordinate that detects is deposited be coordinate parameter g(step S68).
Again secondly, similarly, judge to have end code 32(step S69).When the occasion that exists, judge whether it is the result (step S70) who detects for the first time.First occasion is deposited the coordinate that detects and is coordinate parameter f(step S71).Be not first occasion, the coordinate that detects is deposited be coordinate parameter h(step S72).
So, on the value of read-out position counting n, add that above-mentioned drawing unit increment scan-inc sets scanning position (step S73) next time like this, judge that this position is whether outside drawing (step S74).The occasion of genus in drawing then got back to above-mentioned steps S62 and read next DS.
On the other hand, belong to the occasion beyond the drawing, judge initial code/end code detect coordinate whether found respectively 2 points (step S75, S76).That is, judge coordinate plural number e, g, f, h have all defined does not have, then be judged as bar-code marks and be not detected, move on to reading in of following bar-code marks as not being defined.
The coordinate parameter is the occasion of definition all, calculates and store the coordinate (step S77) at four angles of bar-code marks.Particularly, try to achieve straight line, then by coordinate e, g, enter the position (i of several drawing unit to the inboard of thick bar from coordinate e, g, j) rise, on mark/lower limb direction observed data, the initial border coordinate of finding is deposited respectively and is coordinate plural number m, n.Again from coordinate m, n to making vertical line by the straight line of coordinate e, g, its intersection point is a, b, is exactly the coordinate at two angles of the initial code side of bar-code marks.The end code side is handled similarly, can be in the hope of c, the d at two angles.
This occasion, these two angle c, d are not the coordinate that is equivalent to the angle of actual bar-code marks, so because promptly use these coordinate points not have problem for computational short cut, just use these coordinate points c, d yet.Much less, determine the sign indicating number shape of end code 32, from a c, d reading of data on above-mentioned vertical line direction, thus also can be in the hope of the coordinate at the angle of the reality of bar-code marks.
Coordinate points a, the b at four angles that these are tried to achieve, the coordinate of c, d as a token of positional information are exported to a memory buffer 16 and the positional information that is stored in the secondary buffer storer 18 is made comparisons, and prevent that the dual of bar-code marks from reading.
The 3rd embodiment
In above-mentioned first and second embodiment, the bar-code marks of above-mentioned steps S6 read in immediately carry out, for example carry out after 1,2 second, because can confirm that bar-code marks positively is positioned, can more correctly read.
The 4th embodiment
Also have, to above the 3rd embodiment, if consider 1, the reading in of bar-code marks of the above-mentioned steps S6 that carried out later in 2 seconds must be to have read in other bar-code marks, then can omit the position comparison process of the bar-code marks of step S8, so, can be than handling more quickly.
The 5th embodiment
In above-mentioned first and second embodiment, getting back to step S1 after above-mentioned steps S11 sends alarm signal immediately carries out bar-code marks and reads in processing, owing to will wait for that the people changes bar-code marks and has adequate time at interval, for example 2,3 seconds, if carry out the reading in of bar-code marks of step S1 so again, the situation of omitting above-mentioned steps S6~S8 is possible, becomes and can faster handle.To above-mentioned the 3rd and the 4th embodiment similarly, from the time marquis that step S11 gets back to step S1, wait for that one allows the people have the time interval of changing bar-code marks fully relatively good.
So, wait for similarly that the time marquis who gets back to step S1 from above-mentioned steps S5 a time interval that allows the people have to change bar-code marks fully is relatively good like this.
The 6th embodiment
The bar-code marks positional information can be regardless of or two or three among four coordinates at four angles that indicate.
The 7th embodiment
In addition, above-mentioned first in the 6th embodiment, used the combination of CCD image sensor 10 and frame memory 12, as photography element, can random-access CMD(electric charge modulation device charge modulation device if use) because possess the function of frame memory, become and there is no need so frame memory is set in addition.
The 8th embodiment
As the 8th embodiment, the system that is attached to the binary bar-code marks on the commodity that flow on the belt conveyor that reads is described.
Figure 10 is the pie graph of present embodiment system.On various article 36, post binary bar-code marks 38, such as the place to go of article, Item Title, quilt such as quantity numberization is on this binary bar code 38.Each article 36 is along with belt conveyor 40 moves on certain orientation with the speed that it was had, and the time marquis who passes through under the gamma camera 42 that is provided with on preposition videotapes bar-code marks 38.Gamma camera 42 often is to videotape repeatedly, because with the cause of flash of light high-speed shutter, does not make image blur because of article 36 moving.By video camera 42 take the photograph bar-code marks in code translator 44, implemented decoding and handled, corresponding to decoded content, control flowing of article 36 according to travelling belt controller 46.
The formation of code translator 44 and the frame memory of first embodiment 12 later formations are same, just the contents processing difference of comparing section 20.
On one side with reference to Figure 11, describe as binary bar-code marks and use the decoding of the present embodiment of PDF417 occasion handle on one side.
At first, video camera 42 carries out image pickup repeatedly, receive take the photograph view data deposit frame memory 12(step S80 in).Detect in the handling part 14 on the one hand from frame memory 12 sense datas at bar-code marks, detect the coordinate (step S81) at four angles of bar-code marks on the one hand according to aforesaid sign method for detecting.Whether then, judge the coordinate that whether finds four angles, judging at last has mark (step S82) in drawing, and it's not true just gets back to above-mentioned steps S80, transfers to and reads following image.
Again, exist, deposit the coordinate at four angles detecting in memory buffer 16 one time as positional information, make comparisons in 20 li of comparing sections and the positional information that deposits the previous mark of secondary buffer storer 18 in if be determined bar-code marks.In comparing section 20, earlier relatively the coordinate at four angles is judged previous mark position and this time whether identical (step S83).If the position is identical, be judged as identical bar code note and read in continuously once more, the mark that reads in specifically becomes to be done invalidly not decipher, and gets back to above-mentioned steps S80, and transferring to next time, image reads in.
On the other hand, the occasion that the position is different in this 8th embodiment, because bar-code marks 38 moves on belt conveyor, is moving on this point on the certain orientation with certain speed so be conceived to bar-code marks.Figure 12 represents to be projected in the picture 48 of the bar-code marks on the frame storage.On this figure, once videotape the image S1 of the mark of gained before 50 expressions, this time the make a video recording image S2 of mark of gained of 52 expressions, some a, b, c, d and some a', b', c', d' represent the respectively coordinate position at these four angles that detects respectively.Bar-code marks 38 is moving on belt conveyor 40, read in mark S1 after, along with belt conveyor 40 mobile read in the parallel mark S2 that has moved.The absolute position of mark S1 and S2 is different, relatively sees, if the parallel such relation of distance that belt conveyor 40 moves within shooting at interval that moved is arranged, should be judged as identical bar-code marks 38 and read in continuously once more.The picked-up of video camera 42 is short at interval, and this position is different but situation that be read into as same mark takes place manyly.
Therefore, in this 8th embodiment, next to judge corresponding to two mark S1, parallel whether the moving of pedestal (step S84) at four angles of S2, if parallel having moved, be judged as identical bar-code marks secondary and read in continuously, get back to above-mentioned steps S80 and transfer to next image and read in.Moreover, be entirely different position, read in as new bar-code marks, decipher (step S85) by decoding handling part 22, decode results is transferred to conveyer controller 46(step S86).And, at this moment from translating of a memory buffer 16 positional information of mark of sign indicating number be output to secondary buffer storer 18.After this, get back to above-mentioned steps S80, shift to next time image being taken into.
Like this, single: the coordinate position at four angles of mark relatively, also be provided with and judge that having denys parallel mobile comparison process, can prevent that in view of the above the dual of bar-code marks of moving from reading on certain orientation.
The 9th embodiment
Below, the 9th embodiment of the present invention is described.
Figure 13 is the figure of its formation of expression, goes up the lighting device not have to represent by figure and illuminates and contain the label etc. that bar has yard mark 54, and its reflected light is injected video camera 56.In video camera 56 converting optical signals is become electric signal, having added synchronizing signal or the like in addition becomes vision signal, and they are sent into video loop 58.In video loop 58, synchronizing signal is separated from the vision signal of input, remake the A/D conversion and digitizing.This digitizing signal deposit in the frame memory 60.
Contain image on the label of the bar-code marks 54 that deposits frame memory 60 in by calculating loop scanning (detecting image information from storer 60) at a high speed, that implements that bar-code marks 54 has or not detects and the decoding of bar-code marks 54.The content of decoding temporarily deposits in the decode results register storage 64.Calculate road 62 at a high speed and finish, remove decoding permission flag (forbidding decoding) with this decoding.
CPU68 is the thing of each component part of control, for example, to video loop 58 output indication to frame memory 60 send into image send into commencing signal, to high speed calculate loop 62 output bar-code marks 54 the decoding commencing signal that detects commencing signal and bar-code marks 54, also have the action of control from the each several part of the decoding that detects status signal and bar-code marks 54 of calculating loop 62 reception bar-code marks 54 at a high speed and checkout signal etc.In addition, when bar-code marks 54 can detect, whether passable decoding permission flag 66(decoding is permitted to bar code 54 decodings to set expression), from decode results register storage 64, take out the information of the bar-code marks 54 of record, the principal computer that does not have expression among the figure given this message transport by main control system interface circuit 70.
Below, the action of " dual reading " anti-locking mechanism of the apparatus for reading of bar-code marks that constitutes with reference to this appearance of the flowchart text of Figure 14.
At first, CPU68 exports the signal of sending into beginning to video loop 58, carries out send into (step 91) of image to frame memory 60.After this step image was sent into and finished, CPU68 calculated the commencing signal that detects of loop 62 output bar-code marks 54 to high speed, calculated loop 62 by high speed and carried out detect (the step S92) that bar-code marks 54 has or not.Detecting of this bar-code marks, except that the front narrated also known the whole bag of tricks arranged, for example, the patent gazette spy of Japan open on flat 2-23483 number disclosed like that, known a kind of judgement in the situation of confirming as a plurality of parallel bars has the method for bar-code marks.Also have,,, can obtain the method that bar-code marks exists that detects according to the existence of the characteristic of confirming alleged initial thick bar code and L font housing to the binary bar-code marks of these classes such as PDF417, DATA, CODE.Subsequently, calculate at a high speed loop 62 result that detects of bar-code marks 54 is exported to CPU68 as detecting status signal.
CPU68 is according to calculating detecting status signal and doing to judge whether there is bar-code marks 54(step S93 the image of sending into frame memory 60 of loop 62 at a high speed from this).So marquis when bar-code marks 54 is non-existent gets back to above-mentioned steps S91, image is sent in indication again.And the time marquis that bar code note 54 exists calculates the decoding commencing signal that bar-code marks 54 are exported in loop 62 to high speed, is drilling the decoding (step S94) of carrying out bar-code marks 54 in the fast loop 62 at a high speed.Calculate at a high speed loop 62,, confirmed the decoding permission flag 66(decoding permission that sets corresponding to this decoding commencing signal) the fact after, from the image of the bar-code marks 54 of sending into frame memory 60, the information of this bar-code marks is deciphered.In addition, calculate the inspection (step S95) that this decode results is carried out in loop 62 at a high speed.The inspection of this decoded content, only confirm occasion (JAN/UPC/EAN sign indicating number, ITF(five are every the two row) sign indicating number, CODE39, NW-7 sign indicating number, CODE128 of decode results etc.) lining has, and the occasion of correcting with mistake (binary bar-code marks such as PDF417, DATA, CODE) also has.After, calculate at a high speed loop 62 and provide the decoding of bar-code marks 54 of the information that contains this check result and the inspection signal that finishes to CPU68.
Here, CPU68 makes to judge (step S96) to the signal that finishes from the above-mentioned decoding of calculating at a high speed loop 62 and inspection, in can not correct decoding, gets back to above-mentioned steps S91, sends into from image again to begin repetition.Again, time marquis that can correct decoding, CPU68 outputs to the decode results holding signal and calculates loop 62 at a high speed.At a high speed calculate loop 62,, when temporarily depositing the content of having deciphered into decode results register storage 64, remove decoding permission flag 66(and forbid decoding corresponding to this decode results holding signal) (step S97).
Secondly, the information that CPU68 takes out the bar-code marks 54 of record from decode results register storage 64, main control system interface circuit 70, with this information in figure not the principal computer of expression pass on (step S98).
Later processing is the part that prevents " dual reading " function.
That is, again, from CPU68 to video loop 58 output send into the commencing signal of image and send into image (step S99) to frame memory 60.After this image is sent into end, by calculating at a high speed detect (the step S100) that loop 62 ingoing silver font code marks 54 have or not.Here, in the image of sending into frame memory 60, exist in the bar-code marks 54, confirmed the fact (step S101) that decoding permission flag 66 is eliminated, begin repetition from the sending into of image of above-mentioned steps S99.As a result, after passing on of main frame finished, in the occasion that also has bar-code marks 54, being through with was judged as less than under the situation of taking away from this reading device to the bar-code marks 54 that main frame passes on, and later processing is not just carried out.
On the other hand, when bar-code marks 54 is non-existent (step S101), again, sends the commencing signal of sending into to the image of frame memory 60 and send into image (step S102) to video loop 58 from CPU68.Sending into after the end of this image carried out detect (the step S103) that bar-code marks 54 has or not by calculating at a high speed loop 62.Here, in the image of sending into frame memory 60, exist in the bar-code marks 54, confirm the fact (step S104) that decoding permission flag 66 is eliminated, begin repetition from the sending into of image of above-mentioned steps S99.Promptly as step S102 to step S104, repeat and above-mentioned steps S99 to the same processing of the processing of step S101.
In above-mentioned steps S104, be judged as and do not have in the bar-code marks 54 CPU68 setting decoding permission flag 66(step S105).That is, in secondary is sent into the image of frame memory 60 continuously, do not have bar-code marks 54 in, become and set decoding permission flag 66.After this, get back to above-mentioned steps S91, repeat aforesaid processing.
As described above, among this 9th embodiment, because be not according to the fact of bar-code marks 54 decodings and only just can realize preventing the function of " dual reading ", so processing speed is very fast according to detecting of having or not of mark.The result, because the decoding processing prior to bar-code marks 54 necessarily must detect processing by mark, as long as with spend in this example mark detect time till finishing dealing with just may deal with problems opposite, then also must to add on this time before decoding finish dealing with till the required time.Again, if the label of record bar-code marks 54 is forgotten also not have there the thing of " dual reading ", because also do not use the optional feature of switch etc., so we can say that from the number of packages and the operability of parts all be extraordinary method.
As previously mentioned, the time marquis who in secondary is sent into the image of frame memory 60 continuously, does not have bar-code marks 54, taken away the thing that setting decoding permission flag 66 is just arranged with regard to bar-code marks 54, then working as this reading device and bar-code marks 54 has vibrated under the occasion because of certain reason, sent into image with this timing method to frame memory 60, if not taking away bar-code marks 54 also finally is judged as bar-code marks 54 and does not exist, and in addition, in the way of taking away in the mobile bar-code marks, image also is judged as bar-code marks 54 and does not exist, when in case bar-code marks 54 has stopped in this way, no matter be to have deciphered the also decoding again of bar-code marks 54 that finishes, the last so-called dual thing that reads just becomes and has not had.
Here, among this 9th embodiment, secondary is sent into when not having bar-code marks 54 in the image of frame memory 60 continuously, bar-code marks 54 is taken away just can set decoding permission flag 66,, once non-existent words for example, bar-code marks 54 are taken away just can be set decoding permission flag 66 and make to finish and prevent that " dual reading " function from also being possible.As this embodiment, no matter continuous quadratic is judged as that the marquis will set decoding permission flag 66 when non-existent, also no matter in this reading device and bar-code marks the occasion because of certain reason vibration, sent into image with this timing method to frame memory 60, do not taken away when judging that bar-code marks 54 is worried for not having for bar-code marks 54 yet, the time marquis image that also has in taking the process of action away result to move bar-code marks 54 is judged as and does not have bar-code marks 54, in case if in this process bar-code marks 54 stopped following time no matter be the also decoding of having deciphered again of bar-code marks 54, the dual time marquis who reads worry to also taking place in the result, with regard to can preventing dual reading, present embodiment has improved reliability.In addition, it is continuous not to be limited to secondary, with the effect that also can get more than three times equally.
In addition, in order to avoid worry as described above, in fact, to the cycle of reading in till the judgement that has or not that frame memory 60 is sent to bar-code marks 54 confidential relation is arranged from the image of bar-code marks 54.That is, it is too long that this reads in the cycle, although be from step S99 be sent to step S102 send into during this period of time in bar-code marks 54 change to finish also do not have decoding bar-code marks 54 become not decoded.So in the present embodiment, this cycle of reading in is 0.3 second a degree.
The tenth embodiment
Be replaced by detecting bar-code marks 54 in the image of sending into successively among above-mentioned the 9th embodiment, for example, getting frame memory 60 has the capacity of two drawings to send image to go into the figure picture with the time interval that limits, on two pictures, detect the occasion of bar-code marks 54, decoding permission flag 66 will be set, and same effect can be obtained.
The 11 embodiment
In addition, in above-mentioned first to the tenth embodiment, be not particularly limited the kind of the bar-code marks that reads, the method for detecting of relevant bar-code marks 54 uses the JAN/UPC/EAN sign indicating number, and the ITF(five-element are every two row) sign indicating number, CODE39, the NW-7 sign indicating number, the various bar-code marks method for detecting of CODE128 etc. can, also have, binary bar-code marks (CODE16K, CODE49, PDF417, DATA, CODE etc.) words that use of relevant various bar-code marks method for detecting are also no problem.
Like this, each embodiment does not limit the kind of bar-code marks, and is effective especially for the binary bar-code marks that time for reading is long.

Claims (3)

1, apparatus for reading of bar-code marks is characterized in that device comprises:
At interval bar-code marks is made a video recording, store shooting and memory storage by the image information of this shooting gained every official hour;
By the position-detecting apparatus that detects the positional information of bar-code marks in the image information that is stored in above-mentioned shooting and the memory storage;
The primary importance memory storage that rheme is put the bar-code marks positional information that detection device detects is used in storage;
Storage according to above-mentioned position-detecting apparatus at the second place memory storage that than the positional information in the primary importance memory storage is the positional information of the bar-code marks that detects on the previous time point;
To being stored in two comparison means that positional information compares in above-mentioned first and second location storage devices; With
According to the comparative result of above-mentioned comparison means, judging that two positional informations are different occasions, the code translator that the content of the bar-code marks that the image information that stores is got is deciphered from above-mentioned shooting and memory storage.
2, apparatus for reading of bar-code marks is used prevents from the dual device that reads to it is characterized in that this device comprises:
According at interval the image information of bar-code marks shooting gained is detected the position-detecting apparatus of the positional information of bar-code marks every official hour;
First memory storage that rheme is put the positional information of the bar-code marks that detection device detects is used in storage;
Storage according to above-mentioned position-detecting apparatus at second memory storage that than the positional information in first memory storage is the positional information of the bar-code marks that detects on the previous time point;
To being stored in two comparison means that positional information compares in above-mentioned first and second memory storage; With
According to above-mentioned comparison means result relatively, judge that two positional informations are different time marquis, send the control device of decoding enabling signal.
3, apparatus for reading of bar-code marks is characterized in that this device comprises:
To being made a video recording every the bar-code marks of forming by bar and sky is the camera head of purpose;
Detect the bar-code marks detection device that has or not of bar-code marks by the output signal of above-mentioned camera head;
Explain the bar-code marks code translator of content of this bar-code marks of image of above-mentioned bar-code marks of free above-mentioned camera head shooting; With
After bar-code marks being deciphered by above-mentioned bar-code marks code translator, according to above-mentioned bar code detection device, when existence at least once can not detect the state of bar-code marks, give the control device of the action of later above-mentioned bar-code marks code translator with permission.
CN93101652A 1992-02-20 1993-02-20 Bar code marks reader Expired - Fee Related CN1035287C (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP033533/92 1992-02-20
JP133533/92 1992-02-20
JP4133533A JPH05325550A (en) 1992-05-26 1992-05-26 Substrate voltage generating circuit for mos dynamic ram
JP136725/92 1992-05-28
JP4136725A JPH05334482A (en) 1992-05-28 1992-05-28 Bar code symbol reader

Publications (2)

Publication Number Publication Date
CN1075810A true CN1075810A (en) 1993-09-01
CN1035287C CN1035287C (en) 1997-06-25

Family

ID=26467857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN93101652A Expired - Fee Related CN1035287C (en) 1992-02-20 1993-02-20 Bar code marks reader

Country Status (1)

Country Link
CN (1) CN1035287C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7849325B2 (en) 2005-08-31 2010-12-07 Fujitsu Limited Device, method, and computer product for matching biological information
CN102346839A (en) * 2010-07-21 2012-02-08 东芝泰格有限公司 Commodity code reading apparatus and control method
CN101551850B (en) * 2008-04-04 2012-05-30 东芝泰格有限公司 Code symbol reading apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4873426A (en) * 1988-08-03 1989-10-10 Image Business Systems Corporation Technique for reading bar codes
DE4035396A1 (en) * 1990-11-07 1992-05-14 F & O Elektronic Systems Gmbh METHOD AND DEVICE FOR READING AND IDENTIFYING THE INFORMATION OF A CHARACTER TEMPLATE, IN PARTICULAR BARCODE, WITHIN A TWO OR THREE-DIMENSIONAL FIELD BY MEANS OF A VIDEO CAMERA THAT GENERATES A BINARY VIDEO SIGNAL OF THE IMAGE

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7849325B2 (en) 2005-08-31 2010-12-07 Fujitsu Limited Device, method, and computer product for matching biological information
CN101551850B (en) * 2008-04-04 2012-05-30 东芝泰格有限公司 Code symbol reading apparatus
CN102346839A (en) * 2010-07-21 2012-02-08 东芝泰格有限公司 Commodity code reading apparatus and control method

Also Published As

Publication number Publication date
CN1035287C (en) 1997-06-25

Similar Documents

Publication Publication Date Title
KR100271245B1 (en) Bar code reading apparatus
CN1039458C (en) Method and apparatus for decoding two-dimensional bar code using CCD/CMD camera
US9195907B1 (en) Method for omnidirectional processing of 2D images including recognizable characters
CA2282764C (en) System and method for ocr assisted bar code decoding
KR100483393B1 (en) Method of reading two-dimensional barcode
US6123261A (en) Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field
US5304787A (en) Locating 2-D bar codes
EP1388118B1 (en) Method for operating an optical reader having a plurality of imaging modes
US5635697A (en) Method and apparatus for decoding two-dimensional bar code
US8006911B2 (en) System and method for encoding and decoding large capacity 2-dimensional color bar code which can be color-corrected
DK175742B1 (en) Hexagonal information encoding object, method of encoding and reading information and systems for practicing the method
CN1950828A (en) 2-dimensional code region extraction method, 2-dimensional code region extraction device, electronic device, 2-dimensional code region extraction program, and recording medium containing the program
JPS61115179A (en) Bar code reader
CN1036807C (en) Bar code reader with function of automatic begining
CN1035287C (en) Bar code marks reader
TW211614B (en) A bar code signal read-in device with the mechanism of preventing second read-in
US5923022A (en) Method and apparatus for identifying bar code symbols using reading gates
US20020021835A1 (en) Method and device for recording of information
CN115272143A (en) Visual enhancement method, device and equipment for bar code and storage medium
JP2000057250A (en) Reading method for two-dimensional code
JP3580901B2 (en) Symbol information reader
EP1178665A2 (en) Optical scanner and image reader including one and two dimensional symbologies at variable depth of field
EP1916557B1 (en) Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field
CN112560535A (en) Decoding output method for panoramic sequencing
JPH07160799A (en) Character recognition system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee