SlideShare a Scribd company logo
5
Most read
16
Most read
21
Most read
Coin Recognition Using MATLAB
- Emad Zaben
- Bakir Hasanein
- Mohammed Omar
Introduction
There are several methods in recognize coins:
1. Mechanical method based systems;
2. Electromagnetic method based systems;
3. Neural networks and digital image processing based systems.
Introduction
Using digital image processing it’s possible to obtain the most accurate
method by reading the details of an obtained photo to compare it with
the properties of another standard photo.
Digital Image Processing
Digital image processing method depends on two dimensional Fourier
transform so the obtained samples of the photo would be formed in a
two dimensional array as in the following:
Digital Image Processing
The method of digital image processing done by taking a finite number
of samples whatever the scale of the photo so it’s possible to control
the accuracy of a digital image by increasing or decreasing the number
of samples (pixels).
Digital Image Processing
Each pixel would has two properties:
1. The intensity: which relates to the amount of light or the numerical
value of a pixel;
2. Location address: the location of a pixel within the array of pixels
(samples).
Edge Detection
There are many algorithms to process a photo, edge detection is one of
simplest methods which depends on significant changes like color or
some physical aspects.
Edge Detection
The simple meaning of edge detection is to transform a photo into set
of curves; the curves are the boundaries which split the significant
changes so some properties of the photo could be treated.
Neural Networks
- Neural network is a method to learn a system to deal with new
changes which are not seen before by it, so it looks like a system learns
from the experience;
- Neural network could be seen as a method to produce an
approximation functions that would be used to predict the output;
these approximations would be done using a stored data.
Neural Networks
The neural network consists of three parts:
1. Input;
2. Hidden;
3. Output.
Each part consists of neurons (nodes).
Neural Networks
- Input nodes represent the stored data within the network which
would be used to give the network the experience;
- Output nodes which would be used to give the output (result);
- Hidden nodes which could be used to map the input to output but
indirectly to increase the experience of the network.
Neural Networks
- Hidden nodes could be used or not, if they are not used (single-layer
network), the input data should match one of stored data within input
nodes to give a correct output.
- If hidden nodes are used (double-layer network), the network would
give a correct output when the input is close to or match the stored
data within input nodes.
Methodology
- To use neural networks, input nodes should be used with different
images for the same coin (rotation of the coin is considered) so a 36
images was taken.
- the input photo into the system should be converted to black and
white scale (binary) to extract the features then to compare it with
the futures of the images that stored within the neural network.
Coin identifier using Digital image processing
using MATLAB
Image processing: is a method to perform some operations on an image, in order to
get an enhanced image or to extract some useful information from it.
Objective: The main purpose of this project is to apply computer vision techniques to
develop a program which should recognize coins in an image by two ways ( will
discussed during the presentation) .
 Note: Commands used in the Program will discussed every step .
Types of Digital Images:
• Binary:
Each pixel is just black or white.
• Gray scale:
Each pixel is a shade of gray.
• True Color, or RGB:
Each pixel has a particular color.
This color is described by the amount of red,
green and blue in it.
Each has range of (0-255)
 IMGPROinmatlab.m
 Main commands used in the Program:
• imread: reads an image in a certain directory .
• Imshow(name.format): shows the loaded image
ex:imshow('img1.png').
• B=im2bw (A): convert the image to binary.
• D=imfill(C,'holes'): fill the shapes after converting to binary to get full
empty shape.
• [centers, radii] = imfindcircles(D,[20 200],'ObjectPolarity','bright'):
• this command used to determine the Centers and radius of each coin
( Filled holes).
• h = viscircles(centers,radii) : this command to make circle just on the
borders of the converted image.
Coin recognition using matlab
Methodology:
• Two methods used to get to the main objective :
 Static Image method:
Video Streaming method.
Static Image method:
• First step : image selection.
• Second step : the image converted to the different types.
• Final step : take measurements and display the result.
Video Streaming method:
• First step: a laptop camera will be running .
• Second step: each simple time a screen shot
will be made and converted to the other
types of digital images using commands.
• Third step :the measurements compared with the data stored
previously .
• final step: the result will be shown.
FinalDesign.m
Important notes a bout the process:
 the distance for the taken photos and the data base photos MUST be
the same.( constant distance here I take the photos from 20 cm)
The angle of shooting have to be constant.
For video stream the holder should placed at the same distance
when the data stored taken.

More Related Content

PPTX
Image feature extraction
PPTX
Data mining to predict academic performance.
PPTX
Image restoration and degradation model
PPTX
Developing R Graphical User Interfaces
PDF
Digital Image Fundamentals
PPTX
ppt on image processing
PPTX
Camera model ‫‬
PDF
Lec8: Medical Image Segmentation (II) (Region Growing/Merging)
Image feature extraction
Data mining to predict academic performance.
Image restoration and degradation model
Developing R Graphical User Interfaces
Digital Image Fundamentals
ppt on image processing
Camera model ‫‬
Lec8: Medical Image Segmentation (II) (Region Growing/Merging)

What's hot (20)

PPTX
Image processing
PPT
Image processing spatialfiltering
PDF
Image segmentation
PPT
Clipping
PDF
Machine learning in image processing
PPTX
Chain code in dip
PPT
Lecture _Line Scan Conversion.ppt
PDF
Digital Image Processing: Image Segmentation
PPTX
Curve clipping
PPT
Boundary Extraction
PPTX
Object recognition
PPTX
Image pyramid
PPT
Data structures
PPSX
Image processing on matlab presentation
PPT
Frequency Domain Image Enhancement Techniques
PPTX
Ensemble Method (Bagging Boosting)
PPTX
Features image processing and Extaction
PPTX
Unit 2. Image Enhancement in Spatial Domain.pptx
PPT
Polygon clipping
PPTX
Automated Storage/Retrieval System and Automatic Identification and Data Capt...
Image processing
Image processing spatialfiltering
Image segmentation
Clipping
Machine learning in image processing
Chain code in dip
Lecture _Line Scan Conversion.ppt
Digital Image Processing: Image Segmentation
Curve clipping
Boundary Extraction
Object recognition
Image pyramid
Data structures
Image processing on matlab presentation
Frequency Domain Image Enhancement Techniques
Ensemble Method (Bagging Boosting)
Features image processing and Extaction
Unit 2. Image Enhancement in Spatial Domain.pptx
Polygon clipping
Automated Storage/Retrieval System and Automatic Identification and Data Capt...
Ad

Similar to Coin recognition using matlab (20)

PPTX
project_final_seminar
PDF
IMPROVING IMAGE RESOLUTION THROUGH THE CRA ALGORITHM INVOLVED RECYCLING PROCE...
PDF
Improving image resolution through the cra algorithm involved recycling proce...
PPTX
Handwritten Digit Recognition(Convolutional Neural Network) PPT
PDF
interface and user experience. Responsive Design: Ensure the app is user-frie...
PPTX
OpenCV In Mobile Technology | Computer Vision on Mobile
PDF
IRJET - Single Image Super Resolution using Machine Learning
PDF
Real time-image-processing-applied-to-traffic-queue-detection-algorithm
DOCX
newcgreppainnewcgreppainnewcgreppainnewcgreppainnewcgreppain
DOC
Digital.cc
PDF
IRJET- Image based Approach for Indian Fake Note Detection by Dark Channe...
PPTX
Cahall Final Intern Presentation
PPTX
Machine vision.pptx
PPTX
AI Unit-5 Image Processing for all ML problems
PDF
International Journal of Computational Engineering Research(IJCER)
PPTX
19BCS1815_PresentationAutomatic Number Plate Recognition(ANPR)P.pptx
PDF
Automated Security Surveillance System in Real Time World
PPTX
Handwritten mathematical symbol recognition
PPTX
Introduction to Convolutional Neural Networks (CNNs).pptx
PPT
ROBOTIC-VISION-include image processing techniques
project_final_seminar
IMPROVING IMAGE RESOLUTION THROUGH THE CRA ALGORITHM INVOLVED RECYCLING PROCE...
Improving image resolution through the cra algorithm involved recycling proce...
Handwritten Digit Recognition(Convolutional Neural Network) PPT
interface and user experience. Responsive Design: Ensure the app is user-frie...
OpenCV In Mobile Technology | Computer Vision on Mobile
IRJET - Single Image Super Resolution using Machine Learning
Real time-image-processing-applied-to-traffic-queue-detection-algorithm
newcgreppainnewcgreppainnewcgreppainnewcgreppainnewcgreppain
Digital.cc
IRJET- Image based Approach for Indian Fake Note Detection by Dark Channe...
Cahall Final Intern Presentation
Machine vision.pptx
AI Unit-5 Image Processing for all ML problems
International Journal of Computational Engineering Research(IJCER)
19BCS1815_PresentationAutomatic Number Plate Recognition(ANPR)P.pptx
Automated Security Surveillance System in Real Time World
Handwritten mathematical symbol recognition
Introduction to Convolutional Neural Networks (CNNs).pptx
ROBOTIC-VISION-include image processing techniques
Ad

More from slmnsvn (20)

PPTX
Analysis optimization and monitoring system
PDF
Analysis optimization and monitoring system
DOCX
Smart home
DOCX
Smart fuel theft detector
PPTX
Smart fuel theft detector
PPTX
Rfid attendace system
PPTX
Quad pod transformable vehicle
DOCX
Quad pod transformable vehicle
PPTX
Power factor correction
DOCX
Power factor correction
PPTX
Optimum performances of ramallah
DOCX
Optimum performances of ramallah
PPTX
Optimum performance of tulkarim governorate network
DOCX
Optimum performance of tulkarim governorate network
PPTX
Optimum performance for aqraba electrical network 2
DOCX
Optimum performance for aqraba electrical network 2
PPTX
Optimum performance for aqraba electrical network
PPTX
Multi tone test
DOCX
Multi tone test
PPTX
Mini scada system for monitoring pv and wind installation in meteorology stat...
Analysis optimization and monitoring system
Analysis optimization and monitoring system
Smart home
Smart fuel theft detector
Smart fuel theft detector
Rfid attendace system
Quad pod transformable vehicle
Quad pod transformable vehicle
Power factor correction
Power factor correction
Optimum performances of ramallah
Optimum performances of ramallah
Optimum performance of tulkarim governorate network
Optimum performance of tulkarim governorate network
Optimum performance for aqraba electrical network 2
Optimum performance for aqraba electrical network 2
Optimum performance for aqraba electrical network
Multi tone test
Multi tone test
Mini scada system for monitoring pv and wind installation in meteorology stat...

Recently uploaded (20)

PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Construction Project Organization Group 2.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
Sustainable Sites - Green Building Construction
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Geodesy 1.pptx...............................................
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Structs to JSON How Go Powers REST APIs.pdf
Internet of Things (IOT) - A guide to understanding
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Construction Project Organization Group 2.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Model Code of Practice - Construction Work - 21102022 .pdf
Arduino robotics embedded978-1-4302-3184-4.pdf
Sustainable Sites - Green Building Construction
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Geodesy 1.pptx...............................................
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf

Coin recognition using matlab

  • 1. Coin Recognition Using MATLAB - Emad Zaben - Bakir Hasanein - Mohammed Omar
  • 2. Introduction There are several methods in recognize coins: 1. Mechanical method based systems; 2. Electromagnetic method based systems; 3. Neural networks and digital image processing based systems.
  • 3. Introduction Using digital image processing it’s possible to obtain the most accurate method by reading the details of an obtained photo to compare it with the properties of another standard photo.
  • 4. Digital Image Processing Digital image processing method depends on two dimensional Fourier transform so the obtained samples of the photo would be formed in a two dimensional array as in the following:
  • 5. Digital Image Processing The method of digital image processing done by taking a finite number of samples whatever the scale of the photo so it’s possible to control the accuracy of a digital image by increasing or decreasing the number of samples (pixels).
  • 6. Digital Image Processing Each pixel would has two properties: 1. The intensity: which relates to the amount of light or the numerical value of a pixel; 2. Location address: the location of a pixel within the array of pixels (samples).
  • 7. Edge Detection There are many algorithms to process a photo, edge detection is one of simplest methods which depends on significant changes like color or some physical aspects.
  • 8. Edge Detection The simple meaning of edge detection is to transform a photo into set of curves; the curves are the boundaries which split the significant changes so some properties of the photo could be treated.
  • 9. Neural Networks - Neural network is a method to learn a system to deal with new changes which are not seen before by it, so it looks like a system learns from the experience; - Neural network could be seen as a method to produce an approximation functions that would be used to predict the output; these approximations would be done using a stored data.
  • 10. Neural Networks The neural network consists of three parts: 1. Input; 2. Hidden; 3. Output. Each part consists of neurons (nodes).
  • 11. Neural Networks - Input nodes represent the stored data within the network which would be used to give the network the experience; - Output nodes which would be used to give the output (result); - Hidden nodes which could be used to map the input to output but indirectly to increase the experience of the network.
  • 12. Neural Networks - Hidden nodes could be used or not, if they are not used (single-layer network), the input data should match one of stored data within input nodes to give a correct output. - If hidden nodes are used (double-layer network), the network would give a correct output when the input is close to or match the stored data within input nodes.
  • 13. Methodology - To use neural networks, input nodes should be used with different images for the same coin (rotation of the coin is considered) so a 36 images was taken. - the input photo into the system should be converted to black and white scale (binary) to extract the features then to compare it with the futures of the images that stored within the neural network.
  • 14. Coin identifier using Digital image processing using MATLAB Image processing: is a method to perform some operations on an image, in order to get an enhanced image or to extract some useful information from it. Objective: The main purpose of this project is to apply computer vision techniques to develop a program which should recognize coins in an image by two ways ( will discussed during the presentation) .  Note: Commands used in the Program will discussed every step .
  • 15. Types of Digital Images: • Binary: Each pixel is just black or white. • Gray scale: Each pixel is a shade of gray. • True Color, or RGB: Each pixel has a particular color. This color is described by the amount of red, green and blue in it. Each has range of (0-255)  IMGPROinmatlab.m
  • 16.  Main commands used in the Program: • imread: reads an image in a certain directory . • Imshow(name.format): shows the loaded image ex:imshow('img1.png'). • B=im2bw (A): convert the image to binary. • D=imfill(C,'holes'): fill the shapes after converting to binary to get full empty shape. • [centers, radii] = imfindcircles(D,[20 200],'ObjectPolarity','bright'): • this command used to determine the Centers and radius of each coin ( Filled holes). • h = viscircles(centers,radii) : this command to make circle just on the borders of the converted image.
  • 18. Methodology: • Two methods used to get to the main objective :  Static Image method: Video Streaming method.
  • 19. Static Image method: • First step : image selection. • Second step : the image converted to the different types. • Final step : take measurements and display the result.
  • 20. Video Streaming method: • First step: a laptop camera will be running . • Second step: each simple time a screen shot will be made and converted to the other types of digital images using commands. • Third step :the measurements compared with the data stored previously . • final step: the result will be shown. FinalDesign.m
  • 21. Important notes a bout the process:  the distance for the taken photos and the data base photos MUST be the same.( constant distance here I take the photos from 20 cm) The angle of shooting have to be constant. For video stream the holder should placed at the same distance when the data stored taken.

Editor's Notes

  • #16: Binary (0 black 1 white) Gray ( from0 black to 255 white) RGB (this gives a total of 2563 different possible colors. ) Such an image is a “stack” of three matrices
  • #20: the image with the coin selected and read it by MATLAB, a good camera///////measurements will based on the converted image