LIST OF CONTENTS CHAPTER CONTENT PAGE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK



Similar documents
CHAPTER I INTRODUCTION

Barcodes principle. Identification systems (IDFS) Department of Control and Telematics Faculty of Transportation Sciences, CTU in Prague

Enhanced Bar Code Engine

Selecting the Correct Automatic Identification & Data Collection Technologies for your Retail Distribution Center Application

How To Fix Out Of Focus And Blur Images With A Dynamic Template Matching Algorithm

SE03. Benefits of Image Based Bar Code Scanning

Locating and Decoding EAN-13 Barcodes from Images Captured by Digital Cameras

Application of Data Matrix Verification Standards

WHITE PAPER DECEMBER 2010 CREATING QUALITY BAR CODES FOR YOUR MOBILE APPLICATION

Making Multiple Code Reading Easy. Webinar

Back to Basics: Introduction to Industrial Barcode Reading

Diffraction of a Circular Aperture

Automatic Recognition Algorithm of Quick Response Code Based on Embedded System

Analecta Vol. 8, No. 2 ISSN

Digital Photography Composition. Kent Messamore 9/8/2013

Solutions Lab. AXIS Barcode Reader Beta 0.3

To effectively manage and control a factory, we need information. How do we collect it?

The Layman's Guide to ANSI, CEN, and ISO Bar Code Print Quality Documents

Geometric Camera Parameters

White paper. Guide to Scanning Technologies

OCR and 2D DataMatrix Specification for:

Understanding Line Scan Camera Applications

Full page passport/document reader Regula model 70X4M

Endoscope Optics. Chapter Introduction

Softek Software Ltd. Softek Barcode Reader Toolkit for Android. Product Documentation V7.5.1

3D Scanner using Line Laser. 1. Introduction. 2. Theory

QR Codes and Other Symbols Seen in Mobile Commerce

HIGH-PERFORMANCE INSPECTION VEHICLE FOR RAILWAYS AND TUNNEL LININGS. HIGH-PERFORMANCE INSPECTION VEHICLE FOR RAILWAY AND ROAD TUNNEL LININGS.

Glencoe. correlated to SOUTH CAROLINA MATH CURRICULUM STANDARDS GRADE 6 3-3, , , 4-9

Intelligent Database Monitoring System using ARM9 with QR Code

Revision problem. Chapter 18 problem 37 page 612. Suppose you point a pinhole camera at a 15m tall tree that is 75m away.

Demonstration of Barcodes to QR Codes through Text Using Document Software

Visual Product Identification for Blind

PDF Created with deskpdf PDF Writer - Trial ::

Grazing incidence wavefront sensing and verification of X-ray optics performance

FACTORY AUTOMATION LASER BARCODE SCANNERS FOR INDUSTRIAL AUTOMATION

DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS RAYLEIGH-SOMMERFELD DIFFRACTION INTEGRAL OF THE FIRST KIND

Technical guide 1. june 2011

Barcode Based Automated Parking Management System

Shape Measurement of a Sewer Pipe. Using a Mobile Robot with Computer Vision

TABLE OF CONTENT CHAPTER TITLE PAGE TITLE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK

APPLICATION OF HOUGH TRANSFORM AND SUB-PIXEL EDGE DETECTION IN 1-D BARCODE SCANNING

3D MODEL DRIVEN DISTANT ASSEMBLY

Digital Photography. Author : Dr. Karl Lenhardt, Bad Kreuznach

Automatic Location for Multi-Symbology and Multiple 1D and 2D Barcodes

LEICA TRI-ELMAR-M mm f/4 ASPH. 1

PHOTOGRAMMETRIC TECHNIQUES FOR MEASUREMENTS IN WOODWORKING INDUSTRY

Personal Identity Verification (PIV) IMAGE QUALITY SPECIFICATIONS FOR SINGLE FINGER CAPTURE DEVICES

White Paper. Supercharged ID: Image-based Barcode Readers Leap Forward With Breakthrough Technology

BCST-20 Barcode Scanner. Instruction Manual.

Digital image processing

Eight Tips for Optimal Machine Vision Lighting

Layman's Guide to ANSI X3.182

Sony IR Day Semiconductor Business. June 29, Terushi Shimizu

Understanding astigmatism Spring 2003

Introduction to Robotics Analysis, Systems, Applications

Texture. Chapter Introduction

4. CAMERA ADJUSTMENTS

May Prepared: Product version: Keyword: Accelio Present Central 5.4. Original value:

MAVIparticle Modular Algorithms for 3D Particle Characterization

Optical Design for Automatic Identification

How an electronic shutter works in a CMOS camera. First, let s review how shutters work in film cameras.

A whitepaper on: Invisible and Fluorescing Bar Code Printing and Reading

Scanners and How to Use Them

A technical overview of the Fuel3D system.

λ = c f, E = h f E = h c λ

PCB Component Placement Inspection

Laser Barcode Scanner

Mouse Control using a Web Camera based on Colour Detection

BAR CODE CONTROL BAR CODE CONTROL - 1

Barcode-ABC. For further information, please visit our website at or contact us: 4/2005

1 Introduction. 1.1 Overview of barcode technology Definition of barcode

vii TABLE OF CONTENTS CHAPTER TITLE PAGE DECLARATION DEDICATION ACKNOWLEDGEMENT ABSTRACT ABSTRAK

Static Environment Recognition Using Omni-camera from a Moving Vehicle

Customer Barcoding Technical Specifications

Digital Image Requirements for New Online US Visa Application

ENGINEERING METROLOGY

A PHOTOGRAMMETRIC APPRAOCH FOR AUTOMATIC TRAFFIC ASSESSMENT USING CONVENTIONAL CCTV CAMERA

Table of Contents. I. Banner Design Studio Overview II. Banner Creation Methods III. User Interface... 8

Technical Drawing Specifications Resource A guide to support VCE Visual Communication Design study design

The process to convert a computer message into a bar code symbol is a fourstep

Computer Vision. Image acquisition. 25 August Copyright by NHL Hogeschool and Van de Loosdrecht Machine Vision BV All rights reserved

GS1 bar code validation and verification

Graphic Design. Background: The part of an artwork that appears to be farthest from the viewer, or in the distance of the scene.

INTRODUCTION TO RENDERING TECHNIQUES

Understanding The Face Image Format Standards

ME 111: Engineering Drawing

INDUSTRIAL VISION. Don Braggins, UK Industrial Vision Association

Contents. Bar code data transmission specifications...b-1. A October 1997 i

Computer Peripherals

Development of The Next Generation Document Reader -Eye Scanner-

WHITE PAPER. Are More Pixels Better? Resolution Does it Really Matter?

Imaging Systems Laboratory II. Laboratory 4: Basic Lens Design in OSLO April 2 & 4, 2002

A Lightweight and Effective Music Score Recognition on Mobile Phone

Synthetic Sensing: Proximity / Distance Sensors

Matt Cabot Rory Taca QR CODES

K Service Source. Video Conferencing. QuickTime Conferencing Kit, QuickTime Conferencing ISDN Kit

SkillsUSA 2014 Contest Projects 3-D Visualization and Animation

Real-time 3D Scanning System for Pavement Distortion Inspection

3D Drawing. Single Point Perspective with Diminishing Spaces

Transcription:

vii LIST OF CONTENTS CHAPTER CONTENT PAGE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK LIST OF CONTENTS LIST OF TABLES LIST OF FIGURES LIST OF NOTATIONS LIST OF ABBREVIATIONS LIST OF APPENDICES ii iii iv v vi vii x xi xiv xv xvi CHAPTER I INTRODUCTION 1 1.1 Introduction 1 1.2 Limitations of Conventional Barcode Readers 3 1.3 Objectives 5 1.4 Scope of Project 5 1.5 Project Outline 6

CHAPTER II REVIEW OF LITERATURE STUDIES 8 viii 2.1 Introduction 8 2.2 Barcode Readers 8 2.3 Vision Based Barcode Readers 10 2.3.1 Barcode Localization 10 2.3.2 Barcode Reading 12 2.4 The Anatomy of EAN-13 and UPC-A 13 2.4.1 Barcode Size and Color 15 2.4.2 Barcode Structure 16 2.4.3 Encoding 18 2.4.4 Check Digit Calculation 20 2.5.5 Decoding 21 CHAPTER II I THEORETICAL BACKGROUND 22 3.1 Introduction 22 3.2 Imaging Devices 22 3.2.1 Field of View & Angle of View 23 3.2.2 Resolution 28 3.2.3 Depth of View 29 3.2.4 Lighting 34 3.2.5 Distortion 37 3.2.5 Blurring & Motion Tearing 38 CHAPTER IV ALGORITHMS & IMPLEMENTATIONS 40 4.1 Introduction 40 4.2 Overall System Design 40 4.3 Preprocessing 41 4.3.1 Grayscaling 42 4.3.2 Filtering 43

ix 4.3.3 Thresholding 44 4.4 Decoding 48 4.4.1 Scanning 48 4.4.2 Barcode Identification & Extraction 50 4.4.3 Decoding 54 4.5 Height Extraction Algorithm 60 4.6 Program Architecture 62 CHAPTER V RESULT 75 5.1 Introduction 75 5.2 Uneven Illumination, Shadow and Glare 75 5.3 Barcode Orientation 78 5.4 Tests on Various Object Shapes 79 5.5 Multiple Barcodes in a Scene 82 5.6 Product Comparison 82 5.6.1 Recognition Rate/Accuracy 84 5.6.2 Performance Comparison 86 5.7 Discussion 88 CHAPTER VI CONCLUSION & SUMMARY 90 6.1 Summary 90 6.2 Conclusion 90 6.3 Recommendations for Future Work 91 REFERENCES 93 APPENDIX 97

x LIST OF TABLES TABLE TITLE PAGE 2.1 Specification for EAN-13 & UPC-A barcodes 15 2.2 Parity encoding table 20 2.3 Character encoding table 20 3.1 Approximation of FoV for various CCD sizes 27 3.2 Type of illumination for different application requirements 35 4.1 The normalization and rounding process 56 4.2 Normal barcode (left to right) 57 4.3 Flipped or mirrored barcode 57 4.4 Height extraction reference table 61 5.1 Feature comparison 83 5.2 Test of accuracy 84-85

xi LIST OF FIGURES FIGURE TITLE PAGE 1.1 Common one-dimensional barcodes 2 1.2 Two-dimensional barcodes, (a) 3-DI and (b) Array Tag, (c) 3 PDF417, (d) Data Matrix, (e) MaxiCode and (f) Aztec Code 2.1 Shows different types of barcode readers, (a) a Pen-type reader, 9 (b) a Laser scanner and (c) a CCD scanner 2.2 (a) UPC-A barcode, (b) equivalent EAN-13 barcode, with the 14 first character set to zero, and (c) an EAN-13 with an additional digit used 2.3 Actual sizes of EAN-13/UPC-A barcodes 16 2.4 Encoding the number 5 19 3.1 Comparison of AoV between a 25mm and a 35mm camera lens 24 3.2 Projection of AoV and FoV in the horizontal and vertical 24 directions 3.3 Projection of FoV at a distance of do 25 3.4 FoV for a (a) 35mm lens, (b) 25mm lens shows the amount of 26 information can be captured 3.5 Aspect ratio of various industry standard CCD sensors 27 3.6 Nothing smaller than the physical size of two pixels can be 30 resolved. 3.7 DoV is larger when the aperture opening is small (large f-stop) 31 3.8 DoV can be increased by adjusting the aperture 32 3.9 Insufficient DoV will cause barcodes with odd placement 33 unreadable 3.10 DoV at various object-to-lens distances for 35mm and 25mm camera lens at f/1.3, f/2 and f/4 34

xii 3.11 Barcode inspection under (a) highly directional light source and 36 (b) diffuse lighting [20] 3.12 (a) Directional lighting, (b) diffuse lighting, (c) ring guide and 37 (d) diffuse axial lighting 3.13 Radial distortion on the KPC-S38CZV camera 38 3.14 Motion tear 39 4.1 Block diagram of project 41 4.2 Spatial filters (a) Gaussian Blur, (b)laplacian (c) Sharpen (d) 43 Unsharpen Mask 4.3 (a) Global, (b) segmented, (c) local (Chow & Kanenko), (d) and 45 (e) algorithmic adaptive thresholding based on variance [23] 4.4 (a) Actual gray-level image, (b) manually selected global 47 threshold of 114, (c) global heuristic threshold, (d) local neighborhood of 5x5 with max-min threshold (e) local neighborhood (max-min) of 5x5 and Tg=3, (f) segment (heuristic) of 10x10 (g) segment (heuristic) of 10x10 with Tg=12 (h) algorithmic adaptive thresholding based on variance 4.5 Execution time of different thresholding methods on a 512x512 48 gray-level image 4.6 Scan directions implemented 49 4.7 Skewed barcodes at different angles, where it is picked up by 50 several scan lines (a) horizontal and diagonal, (b) diagonal (c) vertical scan lines. 4.8 Steps to identify and extract the UPC-A and EAN-13 barcodes 51 4.9 Predictive decoding tree for character determination 59 4.10 Predictive tree to determine the symbology and the 1st character 59 4.11 Performance comparison between predictive and exhaustive 60 decoding 4.12 Height extraction state machine 61 4.13 Comparison between SISD and SIMD (MMX) architectures 63 4.14 Program screenshot 64 4.15 Program flowchart 66 4.16 Barcode detection process 67

xiii 4.17 Scanning algorithm 68 4.18 Quiet zone detection algorithm 69 4.19 Algorithm for guard bars detection 70 4.20 Checking the equality of the guard bars 71 4.21 Algorithm for obtaining the height and width of a bar 71 4.22 Algorithm for obtaining all the remaining bars of the EAN-13 72 and UPC-A symbologies 4.23 The normalization process 73 4.24 The error detection and correction process 74 5.1 Shows how adaptive local thresholding is capable of 76 successfully thresholding an image which is affected by severe uneven illumination; (a) actual image affected by uneven illumination, (b) global thresholding, (c) local thresholding 5.2 Glare and shadowing on a specular surface 77 5.3 Elimination of glare through local thresholding; (a) glare 78 affected region of a barcode, (b) missing bars due to global thresholding, (c) local thresholding able to recover missing bars (d) successful decoding process 5.4 Barcodes at different orientation (angle) 79 5.5 Barcode orientation on (a) flat surfaces, (b) along the 80 circumference of a cylinder or curved object, (c) along the axis of a cylinder, and (d) on irregular surfaces 5.6 Barcodes on flat surfaces 80 5.7 Barcodes on the circumference of cylinders 81 5.8 Barcodes along the axis of cylinders 81 5.9 Barcodes on irregular surfaces 81 5.10 Successful detection of multiple barcodes in one scene 82 5.11 Recognition accuracy 86 5.12 Decoding time for a 512x512px color image 87 5.13 The importance of optimal thresholding 89

xiv LIST OF NOTATIONS a c d i d o f H h ccd h i h o T T g T o w ccd w i w o θ h θ w Lens aperture (f-stop) Diameter of circle of confusion. Distance from the image plane to the optical center of the lens Distance from the object plane to the optical center of the lens Focal length Hyperfocal distance Height of CCD in pixels Height of image in millimeters Height of object in millimeters Threshold value Global threshold value Threshold Convergence factor Width of CCD in pixels Width of image in millimeters Width of the object in millimeters Vertical angle of view Horizontal angle of view

xv LIST OF ABREVIATIONS AoV BMP BPNN CCD CMOS CoC DoV EAN FF FoV FPS ISBN LUT MLP MMX NF PCI PDA px RBF RGBA SIMD SSE UPC Angle of View Windows Bitmap Back Propagation Neural Network Charge-Coupled Device Complementary Metal Oxide Semi-Conductor Circle of Confusion Depth of View European Article Number Far-Field Field of View Frames per Second International Standard Book Number Look-up Table Multi Layer Perceptron MultiMedia extension Near-Field Peripheral Component Interface Personal Digital Assistant Pixel Radial Basis Function Red-Green- Blue-Alpha Single Instruction Multiple Data Streaming SIMD Extensions Universal Product Code

xvi LIST OF APPENDICES APPENDIX TITLE PAGE A System Specification 97 B Scan Profiles 99 C C++ Class Declaration 100 D Test Images 110 E Results 112 F Screenshots of Commercial Test Programs 117