Playing Card Recognizer ECE 4025 February 28, 2002 Group 5 Robert Barrett Jason Hodkin Chung Tse Mar Jay Silver David Winkler Yu Ming Wu.

Slides:



Advertisements
Similar presentations
Patient information extraction in digitized X-ray imagery Hsien-Huang P. Wu Department of Electrical Engineering, National Yunlin University of Science.
Advertisements

A Graph based Geometric Approach to Contour Extraction from Noisy Binary Images Amal Dev Parakkat, Jiju Peethambaran, Philumon Joseph and Ramanathan Muthuganapathy.
QR Code Recognition Based On Image Processing
電腦視覺 Computer and Robot Vision I
Maayan Zehavi. Pic-a-pix is a paint by number logic puzzle, in which cells in a grid must be colored or left blank according to numbers at the side of.
THE PROFESSIONAL APPROACH SERIES © 2008 The McGraw-Hill Companies, Inc. All rights reserved. 1 Lesson Objectives Lesson 5 objectives Use a template to.
Esmail Hadi Houssein ID/  „Motivation  „Problem Overview  „License plate segmentation  „Character segmentation  „Character Recognition.
Virtual Dart: An Augmented Reality Game on Mobile Device Supervisor: Professor Michael R. Lyu Prepared by: Lai Chung Sum Siu Ho Tung.
Video Object Tracking and Replacement for Post TV Production LYU0303 Final Year Project Spring 2004.
SWE 423: Multimedia Systems Chapter 4: Graphics and Images (4)
Ensemble Tracking Shai Avidan IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE February 2007.
Objective of Computer Vision
An Approach to Korean License Plate Recognition Based on Vertical Edge Matching Mei Yu and Yong Deak Kim Ajou University Suwon, , Korea 指導教授 張元翔.
Feature extraction: Corners and blobs
Objective of Computer Vision
MULTIPLE MOVING OBJECTS TRACKING FOR VIDEO SURVEILLANCE SYSTEMS.
A Novel 2D To 3D Image Technique Based On Object- Oriented Conversion.
Visualization- Determining Depth From Stereo Saurav Basu BITS Pilani 2002.
Lecture 6: Feature matching and alignment CS4670: Computer Vision Noah Snavely.
Vector vs. Bitmap SciVis V
Monitors and Sound Systems section 3A This lesson includes the following sections: · Monitors · PC Projectors · Sound Systems.
Presented By: Dahan Yakir Sepetnitsky Vitali. 2  The will to explore mathematical expressions given as a printed or captured image  It would be nice.
Real-Time Vision on a Mobile Robot Platform Mohan Sridharan Joint work with Peter Stone The University of Texas at Austin
V Obtained from a summer workshop in Guildford County July, 2014
VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature.
Make the Main Title with Large Bold Type Your Name and Title Here Your Department Here Texas A&M Health Science Center Make the Main Title with Large Bold.
Creating an Attractive Site How will your site look. Think about what your customers are seeking and what type of Web site they find attractive.
Machine Vision for Robots
Knowledge Systems Lab JN 9/10/2002 Computer Vision: Gesture Recognition from Images Joshua R. New Knowledge Systems Laboratory Jacksonville State University.
Copyright © 2002 by Pearson Education, Inc., publishing as Longman Publishers. All rights reserved. Chapter 9 Illustrations Professional Communication:
Vector vs. Bitmap
Developing Content and Layout Lesson 6. Creating Web Site Content Online users scan a page, read key words of text, and check out graphics Reading from.
Loop Investigation for Cursive Handwriting Processing and Recognition By Tal Steinherz Advanced Seminar (Spring 05)
Machine Vision Products that IMPACT your Bottom Line! Introducing KickStart!
Microsoft ® Office Excel 2007 Working with Charts.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
September 5, 2013Computer Vision Lecture 2: Digital Images 1 Computer Vision A simple two-stage model of computer vision: Image processing Scene analysis.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
The introduction of Microsoft Excel. Spreadsheet Basic.
Spin Image Correlation Steven M. Kropac April 26, 2005.
Computational Biology, Part 22 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Automatic License Plate Location Using Template Matching University of Wisconsin - Madison ECE 533 Image Processing Fall 2004 Project Kerry Widder.
Visual Computing Computer Vision 2 INFO410 & INFO350 S2 2015
By Pushpita Biswas Under the guidance of Prof. S.Mukhopadhyay and Prof. P.K.Biswas.
Augmented Reality and 3D modelling Done by Stafford Joemat Supervised by Mr James Connan.
Nottingham Image Analysis School, 23 – 25 June NITS Image Segmentation Guoping Qiu School of Computer Science, University of Nottingham
Image Representation Last update st March Heejune Ahn, SeoulTech.
Image features and properties. Image content representation The simplest representation of an image pattern is to list image pixels, one after the other.
Computer Vision Computer Vision based Hole Filling Chad Hantak COMP December 9, 2003.
Frank Bergschneider February 21, 2014 Presented to National Instruments.
Guilford County SciVis V104.03
CS552: Computer Graphics Lecture 17: Scan Conversion (Special Cases)
Date of download: 6/1/2016 Copyright © 2016 SPIE. All rights reserved. (a) Optical image of fore and hind wings from a male S. charonda butterfly at different.
IMAGE REPRESENTATION 1. 2 IMAGE REPRESENTATION MEANS CONVERSION OF ANALOG IMAGE INTO DIGITAL IMAGE THIS CONVERSION OF ANALOG(3D) TO DIGITAL (2D) TAKES.
Date of download: 6/3/2016 Copyright © ASME. All rights reserved. From: Quantifying Function in the Early Embryonic Heart J Biomech Eng. 2013;135(4):
Week 3 Emily Hand UNR. Online Multiple Instance Learning The goal of MIL is to classify unseen bags, instances, by using the labeled bags as training.
Over the recent years, computer vision has started to play a significant role in the Human Computer Interaction (HCI). With efficient object tracking.
OCR Reading.
S.Rajeswari Head , Scientific Information Resource Division
Computer and Robot Vision I
3D Vision Interest Points.
Introduction to Computational and Biological Vision Keren shemesh
Image Segmentation Classify pixels into groups having similar characteristics.
Computer Vision Lecture 5: Binary Image Processing
Machine Vision Acquisition of image data, followed by the processing and interpretation of these data by computer for some useful application like inspection,
CSDD Features: Center-Surround Distribution Distance
Presented by :- Vishal Vijayshankar Mishra
Comparing Images Using Hausdorff Distance
Volume 19, Issue 4, Pages (April 2011)
Patrick Cozzi University of Pennsylvania CIS Spring 2011
Presentation transcript:

Playing Card Recognizer ECE 4025 February 28, 2002 Group 5 Robert Barrett Jason Hodkin Chung Tse Mar Jay Silver David Winkler Yu Ming Wu

Motivation Short-term: –Demonstrate effectiveness and usefulness of character recognition Long-term: Design autonomous on-line card playing system

Project Scope Image Restrictions: –One card per image –No occlusion of card –High contrast solid background –Constant light source Image Allowances: –Scaling –Rotation –Font style

How does it work? System diagram Down Sample & Convert to Binary High Resolution Color Image Binary Image of Card Corner Label Connected Objects & Flood Fill Card Area Cross- correlate with Templates Compute Scores and Compare Card Value and Suit Use Major Axis to Find Corners for Scaling and Rotation Extract Corner for Comparison

Color to Gray Scale Conversion [R G B] Y R U R V R Y G U G V G Y B U B V B = Y U V We are only interested in intensity (Y) [R G B] YRYGYBYRYGYB = intensity Y R = Y G =0.587 Y B =0.114

Gray Scale to Binary Conversion If grayScaleValue > mean + 2*  Pixel = 1; Else, Pixel =

Labeling Identify blobs Determine characteristics of blobs Area = 24 Area = 4 Area = 5

Flood Fill FloodFill ( pixelToEliminate ) FloodFill ( allNeighboringPixels) Erase all neigboring pixels end

Calculate Angle of Major Axis of Best Fit Ellipse (orientation)

Rotate

Isolate the Important Information Right Side of Card Bottom of Card Top of Card Left Side of Card Scan each row and column for a white pixel

Locate Identifiable Symbol and isolate it top left bottom right

Choose an Appropriate Template and Scale to Match the Template Choose a font that should be consistent with most card fonts, but that is different from the data set. Template Image Freecell (A card game on most windows OS’s)

Take a Normalized Cross Correlation  [X(r+m,c+n)*H(r,c)] = Correlation(m,n) nm

Take a Normalized Cross Correlation

Highest “Score” is a Match Max Corr is Max Corr is

Implementation Overview EVM Correlation Calculation Templates Final Result Color to Binary HOST Corner Extraction Scaling Label Flood FillRotate Decision Model RTDX Camera

Implementation Overview Image File Decision Model HOST Corner Extraction Scaling RTDX EVM Correlation Calculation Templates Final Result

Realtime Constraint Realtime constraint depends on the application –How fast the cards change –Bounded by camera frame rate Set goal of 1 frame/second

Computational Complexity 1 frame/second 64x64 = 4096 pixels/template 100 cross-correlations/template 13 templates for number, 4 templates for suite 100 * 4096 * 17 * 1 = 7 Million MACs/second

Next Steps Implementing processing on EVM –Cross-correlation Implementing processing on host –Corner extraction –Scaling –Decision model and display Synchronizing host with EVM using RTDX API