SlideShare a Scribd company logo
1 of 1
Download to read offline
Detecting and Decoding Barcodes in Images
Daniel Taller
Research Adviser: Roberto Manduchi
Grad Student: Orazio Gallo
Introduction Barcode Localization Barcode Decoding Conclusions
o For the past several decades, handheld laser
scanners allow workers in stores to read barcodes
o It would be desirable to allow consumers to read
barcodes via camera phone to quickly find product
descriptions, reviews, and pricing information
o Current methods are not robust due to dim,
unfocused, noisy, or low-resolution image data.
oThis research focuses on making more efficient
and robust algorithms to localize and then decode
barcodes within images.
Fig 1. A cell phone is used to scan a barcode. This
technology may become ubiquitous if algorithms to
localize and decode barcodes can be made more robust.
o Once an image is obtained, the first step is to
localize the barcode, or to find its location within
the image. Many methods to do this have been
developed. This section summarizes one such
method.
oSince a typical barcode consists of vertical bars,
we may locate the barcode by looking for an
extended region with high horizontal gradients and
low vertical gradients. Thus, for an image ,
applying the operation
(1)
and then low-pass filtering the result leads us to the
bar code. This is shown pictorially below
Fig 2. Although the barcode in the image above is blurry
and the scene is cluttered, the barcode can be
successfully localized and decoded using methods
developed at UC Santa Cruz.
),(),( yxI
y
yxI
x ∂
∂
−
∂
∂
(a)
(b)
(c)
Fig 3. (a) The original image (b) Equation 1 is applied to
the image, and the result is low-pass filtered . The red
region, which is of the highest intensity, corresponds to the
barcode. (c) The barcode is localized using image b). Left
and right barcode boundaries are determined.
),( yxI
o After the barcode is localized using one of the
methods in the previous section, it must be
decoded in order to obtain the product’s
information. This section discusses one method I
implemented to accomplish this.
o Using the left and right bounds of the barcode
found during localization, a “scan line”, s(t), and
smoothed derivative, f(t), are obtained. This is
shown below:
o Next, peaks in f(t) are found. The peaks in f(t)
correspond to inflection points in s(t):
o Some peaks in the signal correspond to noise,
while others represent the bars we are looking for.
To identify the true bars, a statistical model called
an HMM is used. The results are shown below:
o By applying the localization methods and then
the decoding methods, blurry and unclear
barcodes may be properly interpreted.
o Future work may involve developing additional
localization and decoding methods, and improving
upon methods which already exist.
Sources
Rabiner, Lr. "A tutorial on hidden Markov models
and selected applications in speech
recognition." Proceedings of the IEEE 77.2 (1989):
257-286.
Tropf, Alexander. "Locating 1-D Bar Codes in DCT-
Domain." ICASSP 2(2006): 741-744. Print.
Kresic-Juric, S. "Applications of hidden Markov
models in bar code decoding." Pattern Recognition
Letters 27(2006): 1665-1672. Print.
Fig 4. (a) The barcode (b) A scan-line from the barcode,
s(t) (c) The smoothed derivative of s(t), called f(t)
Fig 5. (a) The derivative of the scan-line, f(t), with peaks
identified (b) The edges of the bars, which correspond to
the peaks of (a)
Fig 5. Final Result. The left side of each bar is marked
with a red circle, the right side with a red circle, and noise
is marked with red crosses
(a) (b) (c)
(a)
(b)

More Related Content

Viewers also liked

Ec caligramas regina 31 5
Ec caligramas  regina 31 5Ec caligramas  regina 31 5
Ec caligramas regina 31 5cepermotril1
 
Haikus para regina de antonia- escritura creativa- curso 15-16
Haikus  para regina de antonia- escritura creativa- curso 15-16Haikus  para regina de antonia- escritura creativa- curso 15-16
Haikus para regina de antonia- escritura creativa- curso 15-16cepermotril1
 
Использование персонализированных рекомендаций в триггерных и дайджестных рас...
Использование персонализированных рекомендаций в триггерных и дайджестных рас...Использование персонализированных рекомендаций в триггерных и дайджестных рас...
Использование персонализированных рекомендаций в триггерных и дайджестных рас...SPECIA
 
Kelompok 3 angka putus sekolah
Kelompok 3   angka putus sekolah Kelompok 3   angka putus sekolah
Kelompok 3 angka putus sekolah Bramantya Krisna
 
The human respiratory system
The human respiratory systemThe human respiratory system
The human respiratory systemSaraswati N
 
Penegakan ham (_pkn_kelas_x)
Penegakan ham (_pkn_kelas_x)Penegakan ham (_pkn_kelas_x)
Penegakan ham (_pkn_kelas_x)apotek agam farma
 
Anatomi Fisiologi Manusia
Anatomi Fisiologi Manusia Anatomi Fisiologi Manusia
Anatomi Fisiologi Manusia yuliartiramli
 

Viewers also liked (8)

Ec caligramas regina 31 5
Ec caligramas  regina 31 5Ec caligramas  regina 31 5
Ec caligramas regina 31 5
 
Haikus para regina de antonia- escritura creativa- curso 15-16
Haikus  para regina de antonia- escritura creativa- curso 15-16Haikus  para regina de antonia- escritura creativa- curso 15-16
Haikus para regina de antonia- escritura creativa- curso 15-16
 
Использование персонализированных рекомендаций в триггерных и дайджестных рас...
Использование персонализированных рекомендаций в триггерных и дайджестных рас...Использование персонализированных рекомендаций в триггерных и дайджестных рас...
Использование персонализированных рекомендаций в триггерных и дайджестных рас...
 
Projeto implantação Manutenção Centrada em Confiabilidade (RCM)
Projeto implantação Manutenção Centrada em Confiabilidade (RCM)Projeto implantação Manutenção Centrada em Confiabilidade (RCM)
Projeto implantação Manutenção Centrada em Confiabilidade (RCM)
 
Kelompok 3 angka putus sekolah
Kelompok 3   angka putus sekolah Kelompok 3   angka putus sekolah
Kelompok 3 angka putus sekolah
 
The human respiratory system
The human respiratory systemThe human respiratory system
The human respiratory system
 
Penegakan ham (_pkn_kelas_x)
Penegakan ham (_pkn_kelas_x)Penegakan ham (_pkn_kelas_x)
Penegakan ham (_pkn_kelas_x)
 
Anatomi Fisiologi Manusia
Anatomi Fisiologi Manusia Anatomi Fisiologi Manusia
Anatomi Fisiologi Manusia
 

Similar to barcode_poster_taller_0

barcodes [Recovered]
barcodes [Recovered]barcodes [Recovered]
barcodes [Recovered]dherendra dev
 
Visual Product Identification for Blind
Visual Product Identification for BlindVisual Product Identification for Blind
Visual Product Identification for BlindIJERA Editor
 
IRJET- Study of 3D Barcode with Steganography for Data Hiding
IRJET- Study of 3D Barcode with Steganography for Data HidingIRJET- Study of 3D Barcode with Steganography for Data Hiding
IRJET- Study of 3D Barcode with Steganography for Data HidingIRJET Journal
 
Iaetsd heuristics to detect and extract license plates
Iaetsd heuristics to detect and extract license platesIaetsd heuristics to detect and extract license plates
Iaetsd heuristics to detect and extract license platesIaetsd Iaetsd
 
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...Vladimir Kulyukin
 
Barcodes - Types, Working and Hardware
Barcodes - Types, Working and HardwareBarcodes - Types, Working and Hardware
Barcodes - Types, Working and HardwareMuhammed Afsal Villan
 
Working of barcode reader Ppt - Unitedworld School of Business
Working of barcode reader Ppt - Unitedworld School of BusinessWorking of barcode reader Ppt - Unitedworld School of Business
Working of barcode reader Ppt - Unitedworld School of BusinessArnab Roy Chowdhury
 
The Reliability in Decoding of Turbo Codes for Wireless Communications
The Reliability in Decoding of Turbo Codes for Wireless CommunicationsThe Reliability in Decoding of Turbo Codes for Wireless Communications
The Reliability in Decoding of Turbo Codes for Wireless CommunicationsIJMER
 
Bangla Optical Digits Recognition using Edge Detection Method
Bangla Optical Digits Recognition using Edge Detection MethodBangla Optical Digits Recognition using Edge Detection Method
Bangla Optical Digits Recognition using Edge Detection MethodIOSR Journals
 
Documentation on barcode technology
Documentation on barcode technologyDocumentation on barcode technology
Documentation on barcode technologybhupathi vikas
 
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...CSCJournals
 
Iris images encryption based on QR code and chaotic map
Iris images encryption based on QR code and chaotic mapIris images encryption based on QR code and chaotic map
Iris images encryption based on QR code and chaotic mapTELKOMNIKA JOURNAL
 
Bar code- Techlogogy : Seminar PPT
Bar code- Techlogogy : Seminar PPTBar code- Techlogogy : Seminar PPT
Bar code- Techlogogy : Seminar PPTBadshah34
 
Automatic no. plate recognition
Automatic no. plate recognitionAutomatic no. plate recognition
Automatic no. plate recognitionAnjali Mehra
 
Contact Bar Code Readers
Contact Bar Code ReadersContact Bar Code Readers
Contact Bar Code Readersadil529
 

Similar to barcode_poster_taller_0 (20)

barcodes [Recovered]
barcodes [Recovered]barcodes [Recovered]
barcodes [Recovered]
 
Visual Product Identification for Blind
Visual Product Identification for BlindVisual Product Identification for Blind
Visual Product Identification for Blind
 
IRJET- Study of 3D Barcode with Steganography for Data Hiding
IRJET- Study of 3D Barcode with Steganography for Data HidingIRJET- Study of 3D Barcode with Steganography for Data Hiding
IRJET- Study of 3D Barcode with Steganography for Data Hiding
 
Iaetsd heuristics to detect and extract license plates
Iaetsd heuristics to detect and extract license platesIaetsd heuristics to detect and extract license plates
Iaetsd heuristics to detect and extract license plates
 
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...
 
Barcodes - Types, Working and Hardware
Barcodes - Types, Working and HardwareBarcodes - Types, Working and Hardware
Barcodes - Types, Working and Hardware
 
Dwarakseminar1
Dwarakseminar1Dwarakseminar1
Dwarakseminar1
 
Working of barcode reader Ppt - Unitedworld School of Business
Working of barcode reader Ppt - Unitedworld School of BusinessWorking of barcode reader Ppt - Unitedworld School of Business
Working of barcode reader Ppt - Unitedworld School of Business
 
QR code optimization
QR code optimizationQR code optimization
QR code optimization
 
Working of barcode reader
Working of barcode readerWorking of barcode reader
Working of barcode reader
 
The Reliability in Decoding of Turbo Codes for Wireless Communications
The Reliability in Decoding of Turbo Codes for Wireless CommunicationsThe Reliability in Decoding of Turbo Codes for Wireless Communications
The Reliability in Decoding of Turbo Codes for Wireless Communications
 
Bangla Optical Digits Recognition using Edge Detection Method
Bangla Optical Digits Recognition using Edge Detection MethodBangla Optical Digits Recognition using Edge Detection Method
Bangla Optical Digits Recognition using Edge Detection Method
 
Documentation on barcode technology
Documentation on barcode technologyDocumentation on barcode technology
Documentation on barcode technology
 
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...
Vision-Based Localization and Scanning of 1D UPC and EAN Barcodes with Relaxe...
 
Iris images encryption based on QR code and chaotic map
Iris images encryption based on QR code and chaotic mapIris images encryption based on QR code and chaotic map
Iris images encryption based on QR code and chaotic map
 
Qr codes web
Qr codes webQr codes web
Qr codes web
 
Bar code- Techlogogy : Seminar PPT
Bar code- Techlogogy : Seminar PPTBar code- Techlogogy : Seminar PPT
Bar code- Techlogogy : Seminar PPT
 
Automatic no. plate recognition
Automatic no. plate recognitionAutomatic no. plate recognition
Automatic no. plate recognition
 
14 571
14 57114 571
14 571
 
Contact Bar Code Readers
Contact Bar Code ReadersContact Bar Code Readers
Contact Bar Code Readers
 

barcode_poster_taller_0

  • 1. Detecting and Decoding Barcodes in Images Daniel Taller Research Adviser: Roberto Manduchi Grad Student: Orazio Gallo Introduction Barcode Localization Barcode Decoding Conclusions o For the past several decades, handheld laser scanners allow workers in stores to read barcodes o It would be desirable to allow consumers to read barcodes via camera phone to quickly find product descriptions, reviews, and pricing information o Current methods are not robust due to dim, unfocused, noisy, or low-resolution image data. oThis research focuses on making more efficient and robust algorithms to localize and then decode barcodes within images. Fig 1. A cell phone is used to scan a barcode. This technology may become ubiquitous if algorithms to localize and decode barcodes can be made more robust. o Once an image is obtained, the first step is to localize the barcode, or to find its location within the image. Many methods to do this have been developed. This section summarizes one such method. oSince a typical barcode consists of vertical bars, we may locate the barcode by looking for an extended region with high horizontal gradients and low vertical gradients. Thus, for an image , applying the operation (1) and then low-pass filtering the result leads us to the bar code. This is shown pictorially below Fig 2. Although the barcode in the image above is blurry and the scene is cluttered, the barcode can be successfully localized and decoded using methods developed at UC Santa Cruz. ),(),( yxI y yxI x ∂ ∂ − ∂ ∂ (a) (b) (c) Fig 3. (a) The original image (b) Equation 1 is applied to the image, and the result is low-pass filtered . The red region, which is of the highest intensity, corresponds to the barcode. (c) The barcode is localized using image b). Left and right barcode boundaries are determined. ),( yxI o After the barcode is localized using one of the methods in the previous section, it must be decoded in order to obtain the product’s information. This section discusses one method I implemented to accomplish this. o Using the left and right bounds of the barcode found during localization, a “scan line”, s(t), and smoothed derivative, f(t), are obtained. This is shown below: o Next, peaks in f(t) are found. The peaks in f(t) correspond to inflection points in s(t): o Some peaks in the signal correspond to noise, while others represent the bars we are looking for. To identify the true bars, a statistical model called an HMM is used. The results are shown below: o By applying the localization methods and then the decoding methods, blurry and unclear barcodes may be properly interpreted. o Future work may involve developing additional localization and decoding methods, and improving upon methods which already exist. Sources Rabiner, Lr. "A tutorial on hidden Markov models and selected applications in speech recognition." Proceedings of the IEEE 77.2 (1989): 257-286. Tropf, Alexander. "Locating 1-D Bar Codes in DCT- Domain." ICASSP 2(2006): 741-744. Print. Kresic-Juric, S. "Applications of hidden Markov models in bar code decoding." Pattern Recognition Letters 27(2006): 1665-1672. Print. Fig 4. (a) The barcode (b) A scan-line from the barcode, s(t) (c) The smoothed derivative of s(t), called f(t) Fig 5. (a) The derivative of the scan-line, f(t), with peaks identified (b) The edges of the bars, which correspond to the peaks of (a) Fig 5. Final Result. The left side of each bar is marked with a red circle, the right side with a red circle, and noise is marked with red crosses (a) (b) (c) (a) (b)