Method for scanning multiple barcodes and system thereof
Abstract
A method for scanning multiple barcodes is provided. A tag template, recording a predetermined number of barcode forms and relative configuration orientations of the predetermined number of barcode forms, is read. The tag is photographed to obtain a tag image of the tag, wherein a surface of the tag includes a plurality of barcodes. The tag image is analyzed to obtain barcode patterns of the barcodes in the tag image, and barcode types and relative coordinates of the barcode patterns. The barcode types of the barcode patterns and the relative coordinates of the barcode patterns are detected according to the tag template to identify from the barcode patterns a predetermined number of barcode patterns to be outputted matching the tag template. The barcode patterns to be outputted are decoded to obtain information respectively represented by the barcode patterns to be outputted, and the information obtained is outputted.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A method for scanning a tag having multiple barcodes, comprising:
reading a tag template, wherein the tag template records a plurality number of barcode forms and relative configuration orientations of the barcode forms;
photographing a tag to capturecapturing a tag image of the tag, wherein a surface of the tag comprises a plurality of barcodes;
analyzing the tag image of the tag to obtain barcode patterns of the barcodes in the tag image, respective barcode types of the barcode patterns, and respective relative coordinates of the barcode patterns;
detecting the barcode types of the barcode patterns and the relative coordinates of the barcode patterns according to the barcode forms and the relative configuration orientations to identify from the barcode patterns a plurality of barcode patterns to be outputted matching the barcode forms and the relative configuration orientations;
decoding the barcode patterns to be outputted to obtain information respectively represented by the barcode patterns to be outputted; and
outputting the information obtained.
2. The method for scanning the tag having multiple barcodes according to claim 1 , wherein the tag template records an output sequence of the barcode forms; the method for scanning multiple barcodes further comprising:
before the step of outputting the information obtained, sorting the information obtained according to the output sequence;
wherein, the step of outputting the information obtained comprises outputting the sorted information.
3. The method for scanning the tag having multiple barcodes according to claim 1 , wherein the relative coordinates of each of the barcode patterns comprise a first-direction coordinate and a second-direction coordinate, and the step of detecting the barcode types of the barcode patterns and the relative coordinates of the barcode patterns according to the barcode forms and the relative configuration orientations to identify from the barcode patterns the plurality of barcode patterns to be outputted matching the barcode forms and the relative configuration orientations comprises:
detecting the barcode types of the barcode patterns according to the barcode forms to identify from the barcode patterns a plurality selected barcode patterns having the barcode types matching the barcode forms; and
comparing a value relationship of the first-direction coordinates of the selected barcode patterns and a value relationship of the second-direction coordinates of the selected barcode patterns according to the relative configuration orientations to identify from the selected barcode patterns the barcode patterns to be outputted having the value relationship of the first-direction coordinates and the value relationship of the second-direction coordinates matching the relative configuration orientations.
4. The method for scanning the tag having multiple barcodes according to claim 1 , wherein the step of decoding the barcode patterns to be outputted to obtain the information respectively represented by the barcode patterns to be outputted comprises:
decoding the barcode patterns to generate the information represented by the barcode patterns; and
identifying from the information generated the information of the barcode patterns to be outputted.
5. The method for scanning multiple barcodes according to claim 1 , wherein the step of photographing the tag to capture capturing the tag image of the tag comprises photographing the tag by a photographing unit to capture the tag image of the tag.
6. A system for scanning multiple barcodes, comprising:
a storage unit, storing a tag template, wherein the tag template records a plurality number of barcode forms and relative configuration orientations of the barcode forms;
a photographing unit, photographing a tag to capture a tag image of the tag;
a processing unit, coupled to the storage unit and the photographing unit, to:
readingread the tag template, analyzinganalyze the tag image to obtain barcode patterns of the barcodes in the tag image, respective barcode types of the barcode patterns, and respective relative coordinates of the barcode patterns;
the processing unit detectingdetect the barcode types of the barcode patterns and the relative coordinates of the barcode patterns according to the barcode forms and the relative configuration orientations to identify from the barcode patterns a plurality of barcode patterns to be outputted matching the barcode forms and the relative configuration orientations;
the processing unit decodingdecode the barcode patterns to be outputted to obtain information respectively represented by the barcode patterns to be outputted; and
a display unit, outputting to output the information obtained.
7. The system for scanning multiple barcodes according to claim 6 , wherein the tag template records is to record an output sequence of the barcode forms, the processing unit further sorts is to sort the information obtained according to the output sequence, and the display unit displays is to the information sorted according to the output sequence.
8. The system for scanning multiple barcodes according to claim 6 , wherein:
the relative coordinates of each of the barcode patterns comprise a first-direction coordinate and a second-direction coordinate;
in the step of detectingand wherein to detect the barcode types of the barcode patterns and the relative coordinates of the barcode patterns according to the barcode forms and the relative configuration orientations to identify from the barcode patterns the plurality of barcode patterns to be outputted matching the barcode forms and the relative configuration orientations, the processing unit detectsis to detect the barcode types of the barcode patterns according to the barcode forms to identify from the barcode patterns a plurality selected barcode patterns having the barcode types matching the barcode forms, and comparescompare a value relationship of the first-direction coordinates of the selected barcode patterns and a value relationship of the second-direction coordinates of the selected barcode patterns according to the relative configuration orientations to identify from the selected barcode patterns the barcode patterns to be outputted having the value relationship of the first-direction coordinates and the value relationship of the second-direction coordinates matching the relative configuration orientations.
9. The system for scanning multiple barcodes according to claim 6 , wherein in the step of decoding to decode the barcode patterns to be outputted to obtain the information respectively represented by the barcode patterns to be outputted, the processing unit decodes is to decode the barcode patterns to generate the information represented by the barcode patterns, and identifies identify from the information generated the information of the barcode patterns to be outputted.
10. A system for scanning a tag having multiple barcodes, comprising:
a processing unit to:
read a tag template, wherein the tag template records a plurality number of barcode forms and relative configuration orientations of the barcode forms;
capture a tag image of the tag, wherein a surface of the tag comprises a plurality of barcodes;
analyze the tag image of the tag to obtain barcode patterns of the plurality of barcodes, respective barcode types of the barcode patterns, and respective relative coordinates of the barcode patterns;
detect the barcode types of the barcode patterns and the relative coordinates of the barcode patterns according to the barcode forms and the relative configuration orientations to identify from the barcode patterns a plurality of barcode patterns to be outputted matching the barcode forms and the relative configuration orientations;
decode the barcode patterns to be outputted to obtain information respectively represented by the barcode patterns to be outputted; and
output the information obtained.
11. The system according to claim 10 , wherein the tag template is to record an output sequence of the barcode forms, wherein the processing unit is further to:
before the information obtained is output, sort the information obtained according to the output sequence; wherein to output the information obtained, the processing unit is to output the sorted information.
12. The system according to claim 10 , wherein the relative coordinates of each of the barcode patterns comprise a first-direction coordinate and a second-direction coordinate, and wherein to detect the barcode types of the barcode patterns and the relative coordinates of the barcode patterns according to the barcode forms and the relative configuration orientations to identify from the barcode patterns the plurality of barcode patterns to be outputted matching the barcode forms and the relative configuration orientations, the processing unit is further to:
detect the barcode types of the barcode patterns according to the barcode forms to identify from the barcode patterns a plurality selected barcode patterns having the barcode types matching the barcode forms; and compare a value relationship of the first-direction coordinates of the selected barcode patterns and a value relationship of the second-direction coordinates of the selected barcode patterns according to the relative configuration orientations to identify from the selected barcode patterns the barcode patterns to be outputted having the value relationship of the first-direction coordinates and the value relationship of the second-direction coordinates matching the relative configuration orientations.
13. The system according to claim 10 , wherein to decode the barcode patterns to be outputted to obtain the information respectively represented by the barcode patterns to be outputted, the processing unit is further to:
decode the barcode patterns to generate the information represented by the barcode patterns; and identify from the information generated the information of the barcode patterns to be outputted.
14. The system according to claim 10 , further comprising:
a photographing unit to capture the tag image of the tag.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.