KR101619304B1 - Apparatus and method for scanning barcode - Google Patents
Apparatus and method for scanning barcode Download PDFInfo
- Publication number
- KR101619304B1 KR101619304B1 KR1020150040665A KR20150040665A KR101619304B1 KR 101619304 B1 KR101619304 B1 KR 101619304B1 KR 1020150040665 A KR1020150040665 A KR 1020150040665A KR 20150040665 A KR20150040665 A KR 20150040665A KR 101619304 B1 KR101619304 B1 KR 101619304B1
- Authority
- KR
- South Korea
- Prior art keywords
- barcode
- format
- value
- predetermined
- image sensor
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1413—1D bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10544—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Electromagnetism (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Input (AREA)
Abstract
Description
The present disclosure relates to a barcode scanning apparatus and method for obtaining recorded information through scanning of a barcode.
In general, a code image such as a widely used barcode, OCR, or the like can contain predetermined information. That is, the code image can display various information as well as provide a simple code.
For example, code images are widely used for checking product prices at current marts / convenience stores. In addition, code images provide convenient product management. In particular, a code image created with a barcode has been proposed in various formats in consideration of its use and the like.
The conventional bar code scanning apparatus does not distinguish the format of the bar code, but performs a scan on the bar code in the same manner. In this case, although the recognition probability of the barcode created according to most formats may be high, the recognition probability of the barcode created according to some formats may be relatively low.
According to an embodiment of the present disclosure, a barcode scanning apparatus and method for increasing the recognition rate of a barcode created by a specific format can be provided.
According to an embodiment of the present disclosure, it is possible to provide a barcode scanning apparatus and method for re-scanning a bar code using a preset exposure set value when the format of the bar code confirmed by the initial scan is a preset format .
According to an embodiment of the present disclosure, there is provided a barcode scanning apparatus and method for re-scanning a corresponding barcode by adjusting brightness of a scanned image when the barcode data acquired by the initial scan includes data corresponding to a preset pattern can do.
The barcode scanning method according to various embodiments of the present invention includes scanning a barcode based on a fixed focus and a distance and determining a format of the scanned barcode based on the barcode data acquired by the scanning in a predetermined format Adjusting a preset value required for the scan to a preset exposure value corresponding to the preset format if the format of the scanned bar code corresponds to the preset format; Scanning the one bar code by applying the adjusted set value and finally outputting the bar code data obtained by the re-scan when the adjustment of the set value is completed,
Here, the preset format is a barcode format including a preset pattern at the beginning, middle, and end.
The barcode scanning device according to various embodiments of the present disclosure includes an image sensor and an image sensor processing unit for scanning one barcode based on a fixed focus and a distance and outputting barcode data according to the scanning, When the scanned barcode includes the first, middle, and last predetermined patterns based on the barcode data output by the processing unit, it is recognized that the scanned barcode is generated according to a predetermined format, And a control unit for providing a predetermined exposure value corresponding to the preset format to the image sensor and the image sensor processing unit when recognizing that the barcode having been set is generated by the predetermined format,
Here, the image sensor and the image sensor processor may adjust a set value required for the barcode scan using the preset exposure value provided from the controller, and apply the adjusted set value to the one barcode And the bar code data according to the re-scan is outputted to the control unit.
FIG. 1 is a block diagram illustrating a barcode scanning apparatus according to various embodiments of the present invention.
FIG. 2 illustrates a control flow for scanning a bar code in a bar code scanning apparatus according to various embodiments of the present invention; FIG.
FIG. 3 illustrates an example of a barcode format for application of various proposed embodiments; FIG.
Figure 4 illustrates another example of a barcode format for application of the various proposed embodiments;
Hereinafter, various embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood, however, that this disclosure is not intended to limit the present disclosure to the particular embodiments, but includes various modifications, equivalents, and / or alternatives of the embodiments of the present disclosure. In connection with the description of the drawings, like reference numerals may be used for similar components.
In the present disclosure, the expressions " have, " " comprise, " " comprise, " And does not exclude the presence of additional features.
In this disclosure, the expressions "A or B," "at least one of A and / or B," or "one or more of A and / or B," etc. may include all possible combinations of items listed together . For example, "A or B," "at least one of A and B," or "at least one of A or B" includes (1) at least one A, (2) Or (3) at least one A and at least one B all together.
The expressions " first ", " second ", " first ", or " second ", etc. used in various embodiments of the present disclosure may be used to modify various components, And does not limit the constituent elements. The representations may be used to distinguish one component from another. For example, the first user equipment and the second user equipment may represent different user equipment, regardless of order or importance. For example, without departing from the scope of the present disclosure, the first component may be referred to as a second component, and similarly, the second component may be named as the first component.
(Or functionally or communicatively) coupled with / to "another component (eg, a second component), or a component (eg, a second component) Quot; connected to ", it is to be understood that any such element may be directly connected to the other element or may be connected through another element (e.g., a third element). On the other hand, when it is mentioned that a component (e.g., a first component) is "directly connected" or "directly connected" to another component (e.g., a second component) It can be understood that there is no other component (e.g., a third component) between the other components.
The phrase " configured to be used " as used in this disclosure includes, for example, "having the capacity to," "suitable for, To be designed to, "" adapted to, "" made to, "or" capable of ". The term " configured (or set) to " may not necessarily mean " specifically designed to " Instead, in some situations, the expression " configured to " may mean that the device can " do " with other devices or components. For example, a processor configured (or configured) to perform the phrases " A, B, and C " may be a processor dedicated to performing the operation (e.g., an embedded processor), or one or more software programs To a generic-purpose processor (e.g., a CPU or an application processor) that can perform the corresponding operations.
The terms used in this disclosure are used only to describe certain embodiments and may not be intended to limit the scope of other embodiments. The singular expressions may include plural expressions unless the context clearly dictates otherwise. All terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by one of ordinary skill in the art of the present disclosure. Commonly used predefined terms may be construed as having the same or similar meaning as the contextual meanings of the related art and are not to be construed as ideal or overly formal in the sense of the art unless explicitly defined herein . In some cases, the terms defined herein may not be construed to exclude embodiments of the present disclosure.
A barcode scanning device in accordance with various embodiments of the present disclosure may be implemented in any electronic device having a function for barcode scanning. For this purpose, an electronic device including a barcode scan function can be used to mean a terminal that supports a communication service through a wireless or wired network and can acquire biometric information. For example, the electronic terminal may be a POS terminal, a smart phone, a tablet personal computer, a mobile phone, a videophone, an e-book reader, a desktop PC desktop personal computers, laptop personal computers, netbook computers, workstations, servers, personal digital assistants (PDAs), portable multimedia players (PMPs) Devices, cameras or wearable devices such as smart glasses, head-mounted-devices (HMDs), electronic apparel, electronic bracelets, electronic necklaces, electronic apps, , An electronic tattoo, a smart mirror, or a smart watch).
In some embodiments, the electronic device may be a smart home appliance. Smart home appliances include, for example, televisions, digital video disk players, audio, refrigerators, air conditioners, vacuum cleaners, ovens, microwaves, washing machines, air cleaners, set- a home automation control panel, a security control panel, a TV box, a game console, an electronic dictionary, an electronic key, a camcorder, or an electronic frame.
In an alternative embodiment, the electronic device may be any of a variety of medical devices (e.g., various portable medical measurement devices such as a blood glucose meter, a heart rate meter, a blood pressure meter, or a body temperature meter), magnetic resonance angiography (MRA) A global positioning system receiver, an event data recorder (EDR), a flight data recorder (FDR), an automotive infotainment device, a navigation system, a navigation system, Electronic point of sale (POS) systems, electronic point of sale (POS) systems, electronic point of sale (POS) systems, ), Or the Internet of Things (eg, light bulbs, various sensors, electricity or gas meters, sprinkler devices, fire alarms, thermostats, streetlights, toasters aster, a fitness equipment, a hot water tank, a heater, a boiler, etc.).
According to some embodiments, the electronic device is a piece of furniture or a part of a building / structure, an electronic board, an electronic signature receiving device, a projector, Water, electricity, gas, or radio wave measuring instruments, etc.). In various embodiments of the present disclosure, the electronic device may be one or more of the various devices described above. An electronic device according to some embodiments may be a flexible electronic device. Further, the electronic device according to the embodiment of the present disclosure is not limited to the above-described devices, and may include a new electronic device according to technological advancement.
Various embodiments to be proposed below will be described in detail with reference to the accompanying drawings.
FIG. 1 shows a block diagram of a barcode scanning device according to various embodiments of the present invention.
Referring to FIG. 1, the
According to one embodiment, the
The image
The image
For example, when the
According to one embodiment, one value for automatic exposure is set in the image
The
According to one embodiment, the
The
When the image
The image
The
FIG. 2 shows a control flow for scanning a bar code in the bar code scanning apparatus according to various embodiments of the present invention.
Referring to FIG. 2, the bar code scanning apparatus performs an initial scan of a bar code positioned at a distance from a fixed focus (step 210). The initial scan may be performed according to a value set for the remaining format other than the predetermined format.
The barcode scanning device analyzes the barcode data acquired by the initial scan (operation 212). For example, the barcode scanning device may analyze the barcode data to determine whether the scanned barcode includes a predetermined pattern. The preset pattern may include an arrangement in which the bar code is '10101' at the beginning, middle, and end. In the array '10101', 1 corresponds to the black barcode and 0 corresponds to the white bar of the barcode.
In
If it is determined that the barcode having the initial scan has a preset format, the barcode scanning device adjusts a preset value for re-scanning to a predetermined value (operation 216). The predetermined value may be a value for adjusting automatic exposure. In this case, the value may be set to an exposure value, in order to lower the light exposure amount during the barcode scan by 40%. For example, the light exposure amount during the scan may be determined by at least one of brightness, shutter speed, pixel sensitivity, and iris range of the entire automatic exposure.
The barcode scanning apparatus scans the barcode again using the adjusted value for re-scanning (step 218). The barcode scanning apparatus can obtain barcode data including pixel values whose contrast is lowered by about 20% on a black-and-white basis through re-scanning. The barcode scanning device processes the barcode data obtained by re-scanning and outputs the barcode data for final use in
If it is determined that the barcode having the initial scan does not have a predetermined format, the barcode scanning device processes the barcode data obtained by the initial scan and outputs the barcode data for final use in
Figure 3 shows an example of a barcode format for the application of the various embodiments proposed. The barcode format shown here corresponds to an example of the format proposed in EAN-13.
Referring to FIG. 3, an
Figure 4 shows another example of a bar code format for the application of the various proposed embodiments. The barcode format shown here corresponds to an example of a format proposed by UPC.
Referring to FIG. 4, an
While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, . Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the scope of the appended claims, as well as the appended claims. not only. These modifications should not be understood individually from the technical idea or viewpoint of the present disclosure.
Claims (14)
Adjusting a preset value required for the scan to a predetermined exposure value corresponding to the preset format if the format of the scanned barcode corresponds to the preset format;
Scanning the one bar code by applying the adjusted set value and finally outputting the bar code data obtained by the re-scan when the adjustment of the set value is completed,
Wherein the predetermined format is a barcode format including a predetermined pattern at the beginning, the middle, and the end.
And finally outputting the barcode data obtained by the scan if the format of the scanned barcode does not correspond to the preset format.
Wherein the predetermined exposure value is a value for adjusting automatic exposure.
Wherein the predetermined exposure value is a value for adjusting automatic exposure so as to lower the exposure amount of light by 40%.
Wherein the predetermined exposure value is a value for determining at least one of brightness, shutter speed, pixel sensitivity, and iris range of the entire automatic exposure.
Wherein the predetermined pattern is 10101, wherein 10101 to 1 are black, and 0 is white.
Wherein the at least one predetermined format is at least one of EAN-13, EAN-8, UPC-A, and UPC-E.
When the barcode scanned by the image sensor and the image sensor processing unit includes the first, middle, and last predetermined patterns, the scanned barcode is generated by a predetermined format And provides a preset exposure value corresponding to the preset format to the image sensor and the image sensor processing unit when recognizing that the preset barcode is generated by the preset format In addition,
Here, the image sensor and the image sensor processing unit may include:
Wherein the control unit adjusts a set value required for the barcode scan using the preset exposure value provided from the control unit, re-scans the one barcode by applying the adjusted set value, To the control unit.
Wherein the bar code data obtained by the scanning is finally output when the scanned bar code does not have the predetermined format.
Wherein the predetermined exposure value is a value for adjusting automatic exposure.
Wherein the predetermined exposure value is a value for adjusting automatic exposure so as to lower the exposure amount of light by 40%.
Wherein the predetermined exposure value is a value for determining at least one of brightness, shutter speed, pixel sensitivity, and iris range of the entire automatic exposure.
The predetermined pattern is 10101. In the 10101, 1 is black and 0 is white.
Wherein the at least one predetermined format is at least one of EAN-13, EAN-8, UPC-A, and UPC-E.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150040665A KR101619304B1 (en) | 2015-03-24 | 2015-03-24 | Apparatus and method for scanning barcode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150040665A KR101619304B1 (en) | 2015-03-24 | 2015-03-24 | Apparatus and method for scanning barcode |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101619304B1 true KR101619304B1 (en) | 2016-05-10 |
Family
ID=56021186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150040665A KR101619304B1 (en) | 2015-03-24 | 2015-03-24 | Apparatus and method for scanning barcode |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101619304B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180113262A (en) | 2017-04-06 | 2018-10-16 | 김화 | Barcode scan system using mobile terminal |
KR20190085036A (en) * | 2016-11-18 | 2019-07-17 | 알리바바 그룹 홀딩 리미티드 | METHOD AND DEVICE FOR IMPLEMENTING BAR CODE BASED COMMUNICATION AND BILLING |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013101664A (en) * | 2005-03-11 | 2013-05-23 | Hand Held Products Inc | Image reader having global electronic shutter control |
JP2014523058A (en) * | 2011-08-12 | 2014-09-08 | フレゼニウス カービ ドイチュラント ゲーエムベーハー | Medical device barcode reader |
-
2015
- 2015-03-24 KR KR1020150040665A patent/KR101619304B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013101664A (en) * | 2005-03-11 | 2013-05-23 | Hand Held Products Inc | Image reader having global electronic shutter control |
JP2014523058A (en) * | 2011-08-12 | 2014-09-08 | フレゼニウス カービ ドイチュラント ゲーエムベーハー | Medical device barcode reader |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190085036A (en) * | 2016-11-18 | 2019-07-17 | 알리바바 그룹 홀딩 리미티드 | METHOD AND DEVICE FOR IMPLEMENTING BAR CODE BASED COMMUNICATION AND BILLING |
KR102240548B1 (en) | 2016-11-18 | 2021-04-19 | 어드밴스드 뉴 테크놀로지스 씨오., 엘티디. | Method and device for implementing barcode-based communication and payment |
KR20180113262A (en) | 2017-04-06 | 2018-10-16 | 김화 | Barcode scan system using mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11048061B2 (en) | Electronic device including camera module | |
US11062003B2 (en) | Method for adaptive authentication and electronic device supporting the same | |
US10771706B2 (en) | Method and electronic device for focus control | |
US9967444B2 (en) | Apparatus and method for capturing image in electronic device | |
US10715761B2 (en) | Method for providing video content and electronic device for supporting the same | |
KR102277178B1 (en) | Electronic Device Including The Camera Module And Method For Processing Image Of the Same | |
US20180032815A1 (en) | Electronic device and method for iris authentication thereof | |
US20180013955A1 (en) | Electronic device including dual camera and method for controlling dual camera | |
US10382665B2 (en) | Auto focus method and electronic device for performing the same | |
US20180131869A1 (en) | Method for processing image and electronic device supporting the same | |
CN107124543B (en) | Shooting method and mobile terminal | |
KR20180061835A (en) | Electronic device and method for displaying image for iris recognition in electronic device | |
KR102392751B1 (en) | Electronic device including camera module and method for controlling thereof | |
EP3642673B1 (en) | Electronic device for controlling focus of lens and method for controlling the same | |
TW200939201A (en) | Liquid crystal display device capable of automatically adjusting brightness and method thereof | |
KR102423364B1 (en) | Method for providing image and electronic device supporting the same | |
KR102504174B1 (en) | Electronic apparatus and controlling method thereof | |
CN113545028B (en) | Gain control for facial authentication | |
EP3994657B1 (en) | Image processing method and electronic device supporting the same | |
KR101619304B1 (en) | Apparatus and method for scanning barcode | |
US20180020142A1 (en) | Electronic device and method for controlling the same | |
CN110363036B (en) | Code scanning method and device based on wire controller and code scanning system | |
US11533444B2 (en) | Image processing device | |
KR102251307B1 (en) | Thermal camera system with distance measuring function | |
CN107493425B (en) | Electronic device and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20190412 Year of fee payment: 4 |