SlideShare a Scribd company logo
1 of 18
Image classification using CNN
Compiler: Parham Abolghasemi
Professor: Hamirdeza Bolhasani
2022, December 22
What Is Image Classification?
• It’s the task of extracting and categorizing useful information from a multi-band
raster image.
• The image is classified according to its visual content.
• The classification aim is to categorize all pixels of an image into one class.
Convolutional Neural Networks (CNNs)
• A branch of deep learning
• CNNs take a biological inspiration from the visual cortex which has a has small regions of cells that
are sensitive to specific regions of the visual field.
CNN Structure
What we see Vs. What Computer Sees
For humans, this task is one of the first skills we learn and
it comes naturally and effortlessly as adults.
Being able to quickly recognize patterns, generalize from
prior knowledge, and adapt to different image
environments are difficult tasks for machines.
Neural network Scenario For Classification
Closer Look 👀
• Scan the image
• Determine 0 & 1 pixels
• Image converts to 1D array
• Applying math operations
• ApplyingActivation function
• Classify the image
RELU Activation Function
• An operation called Rectified Linear Unit (RELU) has been used after every Convolution operation.
• It’s an element wise operation (applied per pixel) and replaces all negative pixel values in the feature map by zero.
• The purpose is to introduce non-linearity to the network.
CIFAR Dataset
• The CIFAR-10 dataset is a collection of images that are commonly used to train machine learning and computer vision algorithms. It
is one of the most widely used datasets for machine learning research.
• The CIFAR-10 dataset contains 60,000 color images in 10 different classes. (There are 6,000 images of each class)
A. Airplanes
B. Cars
C. Birds
D. Cats
E. Deer
F. Dogs
G. Frogs
H. Horses
I. Ships
J. Trucks
cifar-dataset
Essential Libraries
• Import libraries
• Load CIFAR dataset
Displaying image
Normalizing Image
• the process that changes the range of pixel values.
• The purpose of Normalization is to bring image to range that is normal to sense.
• Channels are RGB
• Each pixel exists between 0 – 255
• Dividing return values to 255
Image Classification Using ANN (artificial neural network)
Image Classification Using CNN (convolutional neural network)
• 32 filters (detect 32 edges of an image)
 https://storyset.com/
 https://slideplayer.com/slide/6276611/
 https://www.youtube.com/watch?v=7HPwo4wnJeA
 https://www.sciencedirect.com/topics/engineering/image-normalization
 https://www.slideshare.net/kirankrish5/image-classification-using-convolutional-neural-network
 https://github.com/codebasics/deep-learning-keras-tf-
tutorial/blob/master/16_cnn_cifar10_small_image_classification/cnn_cifar10_dataset.ipynb
 https://www.google.com/url?sa=i&url=https%3A%2F%2Falgoritmaonline.com%2Fimage-classification-
cnn%2F&psig=AOvVaw3RX50QDmi18WmOYp-
F1Ng5&ust=1671788685343000&source=images&cd=vfe&ved=0CBAQjRxqFwoTCOiU_rD4jPwCFQAAAAAdAAAAABAE
 https://www.youtube.com/watch?v=LIgJZ_P4de4
 https://www.google.com/url?sa=i&url=https%3A%2F%2Ftowardsdatascience.com%2Fcovolutional-neural-network-
cb0883dd6529&psig=AOvVaw0xXd49R3H05_gDVOM7jRk2&ust=1671789171213000&source=images&cd=vfe&ved=0CBAQjRxqFwoTCN
jerpj6jPwCFQAAAAAdAAAAABAE
 https://www.youtube.com/watch?v=HGwBXDKFk9I
 https://production-media.paperswithcode.com/datasets/4fdf2b82-2bc3-4f97-ba51-400322b228b1.png
Recourses
THANKS FOR LISTENING!
Compiler: Parham Abolghasemi
Professor: Hamirdeza Bolhasani
2022, December 22

More Related Content

Similar to image_classification.pptx

Rapid object detection using boosted cascade of simple features
Rapid object detection using boosted  cascade of simple featuresRapid object detection using boosted  cascade of simple features
Rapid object detection using boosted cascade of simple features
Hirantha Pradeep
 

Similar to image_classification.pptx (20)

Convolutional neural network
Convolutional neural networkConvolutional neural network
Convolutional neural network
 
Deep learning
Deep learning Deep learning
Deep learning
 
Introduction to computer vision and
Introduction to computer vision andIntroduction to computer vision and
Introduction to computer vision and
 
slide-171212080528.pptx
slide-171212080528.pptxslide-171212080528.pptx
slide-171212080528.pptx
 
物件偵測與辨識技術
物件偵測與辨識技術物件偵測與辨識技術
物件偵測與辨識技術
 
Real Time Object Dectection using machine learning
Real Time Object Dectection using machine learningReal Time Object Dectection using machine learning
Real Time Object Dectection using machine learning
 
Introduction to computer vision with Convoluted Neural Networks
Introduction to computer vision with Convoluted Neural NetworksIntroduction to computer vision with Convoluted Neural Networks
Introduction to computer vision with Convoluted Neural Networks
 
AISF19 - Unleash Computer Vision at the Edge
AISF19 - Unleash Computer Vision at the EdgeAISF19 - Unleash Computer Vision at the Edge
AISF19 - Unleash Computer Vision at the Edge
 
Rapid object detection using boosted cascade of simple features
Rapid object detection using boosted  cascade of simple featuresRapid object detection using boosted  cascade of simple features
Rapid object detection using boosted cascade of simple features
 
Introduction talk to Computer Vision
Introduction talk to Computer Vision Introduction talk to Computer Vision
Introduction talk to Computer Vision
 
Introduction to computer vision
Introduction to computer visionIntroduction to computer vision
Introduction to computer vision
 
A Large-scale hierarchical image database
A Large-scale hierarchical image databaseA Large-scale hierarchical image database
A Large-scale hierarchical image database
 
Automatic Attendace using convolutional neural network Face Recognition
Automatic Attendace using convolutional neural network Face RecognitionAutomatic Attendace using convolutional neural network Face Recognition
Automatic Attendace using convolutional neural network Face Recognition
 
Chap_1_Digital_Image_Fundamentals_DD (2).pdf
Chap_1_Digital_Image_Fundamentals_DD (2).pdfChap_1_Digital_Image_Fundamentals_DD (2).pdf
Chap_1_Digital_Image_Fundamentals_DD (2).pdf
 
Image classification using cnn
Image classification using cnnImage classification using cnn
Image classification using cnn
 
Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.
 
NVIDIA 深度學習教育機構 (DLI): Medical image segmentation using digits
NVIDIA 深度學習教育機構 (DLI): Medical image segmentation using digitsNVIDIA 深度學習教育機構 (DLI): Medical image segmentation using digits
NVIDIA 深度學習教育機構 (DLI): Medical image segmentation using digits
 
Introduction to Deep Learning for Image Analysis at Strata NYC, Sep 2015
Introduction to Deep Learning for Image Analysis at Strata NYC, Sep 2015Introduction to Deep Learning for Image Analysis at Strata NYC, Sep 2015
Introduction to Deep Learning for Image Analysis at Strata NYC, Sep 2015
 
Convolution Neural Network (CNN)
Convolution Neural Network (CNN)Convolution Neural Network (CNN)
Convolution Neural Network (CNN)
 
ppt.pdf
ppt.pdfppt.pdf
ppt.pdf
 

Recently uploaded

Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

image_classification.pptx

  • 1. Image classification using CNN Compiler: Parham Abolghasemi Professor: Hamirdeza Bolhasani 2022, December 22
  • 2. What Is Image Classification? • It’s the task of extracting and categorizing useful information from a multi-band raster image. • The image is classified according to its visual content. • The classification aim is to categorize all pixels of an image into one class.
  • 3. Convolutional Neural Networks (CNNs) • A branch of deep learning • CNNs take a biological inspiration from the visual cortex which has a has small regions of cells that are sensitive to specific regions of the visual field.
  • 5. What we see Vs. What Computer Sees For humans, this task is one of the first skills we learn and it comes naturally and effortlessly as adults. Being able to quickly recognize patterns, generalize from prior knowledge, and adapt to different image environments are difficult tasks for machines.
  • 6. Neural network Scenario For Classification
  • 7. Closer Look 👀 • Scan the image • Determine 0 & 1 pixels • Image converts to 1D array • Applying math operations • ApplyingActivation function • Classify the image
  • 8. RELU Activation Function • An operation called Rectified Linear Unit (RELU) has been used after every Convolution operation. • It’s an element wise operation (applied per pixel) and replaces all negative pixel values in the feature map by zero. • The purpose is to introduce non-linearity to the network.
  • 9. CIFAR Dataset • The CIFAR-10 dataset is a collection of images that are commonly used to train machine learning and computer vision algorithms. It is one of the most widely used datasets for machine learning research. • The CIFAR-10 dataset contains 60,000 color images in 10 different classes. (There are 6,000 images of each class) A. Airplanes B. Cars C. Birds D. Cats E. Deer F. Dogs G. Frogs H. Horses I. Ships J. Trucks cifar-dataset
  • 10. Essential Libraries • Import libraries • Load CIFAR dataset
  • 11.
  • 13.
  • 14. Normalizing Image • the process that changes the range of pixel values. • The purpose of Normalization is to bring image to range that is normal to sense. • Channels are RGB • Each pixel exists between 0 – 255 • Dividing return values to 255
  • 15. Image Classification Using ANN (artificial neural network)
  • 16. Image Classification Using CNN (convolutional neural network) • 32 filters (detect 32 edges of an image)
  • 17.  https://storyset.com/  https://slideplayer.com/slide/6276611/  https://www.youtube.com/watch?v=7HPwo4wnJeA  https://www.sciencedirect.com/topics/engineering/image-normalization  https://www.slideshare.net/kirankrish5/image-classification-using-convolutional-neural-network  https://github.com/codebasics/deep-learning-keras-tf- tutorial/blob/master/16_cnn_cifar10_small_image_classification/cnn_cifar10_dataset.ipynb  https://www.google.com/url?sa=i&url=https%3A%2F%2Falgoritmaonline.com%2Fimage-classification- cnn%2F&psig=AOvVaw3RX50QDmi18WmOYp- F1Ng5&ust=1671788685343000&source=images&cd=vfe&ved=0CBAQjRxqFwoTCOiU_rD4jPwCFQAAAAAdAAAAABAE  https://www.youtube.com/watch?v=LIgJZ_P4de4  https://www.google.com/url?sa=i&url=https%3A%2F%2Ftowardsdatascience.com%2Fcovolutional-neural-network- cb0883dd6529&psig=AOvVaw0xXd49R3H05_gDVOM7jRk2&ust=1671789171213000&source=images&cd=vfe&ved=0CBAQjRxqFwoTCN jerpj6jPwCFQAAAAAdAAAAABAE  https://www.youtube.com/watch?v=HGwBXDKFk9I  https://production-media.paperswithcode.com/datasets/4fdf2b82-2bc3-4f97-ba51-400322b228b1.png Recourses
  • 18. THANKS FOR LISTENING! Compiler: Parham Abolghasemi Professor: Hamirdeza Bolhasani 2022, December 22