Top Banner
Teaching the Fundamentals of Computer Vision and Deep Learning Debasis Bhattacharya, JD, DBA University of Hawaii Maui College ATE 2019 – Breakfast Roundtable debasisb @wawaii.edu http://m aui.hawaii.edu/cybersecurity October 25, 2019
12

Teaching the Fundamentals of Computer Vision and Deep Learningmaui.hawaii.edu/.../sites/13/2019/...Computer-Vision-and-Deep-Learning.pdf · Teaching the Fundamentals of Computer Vision

May 31, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Teaching the Fundamentals of Computer Vision and Deep Learningmaui.hawaii.edu/.../sites/13/2019/...Computer-Vision-and-Deep-Learning.pdf · Teaching the Fundamentals of Computer Vision

Teaching the Fundamentals of Computer Vision

and Deep LearningDebasis Bhattacharya, JD, DBA

University of Hawaii Maui CollegeATE 2019 – Breakfast Roundtable

[email protected]://maui.hawaii.edu/cybersecurity

October 25, 2019

Page 2: Teaching the Fundamentals of Computer Vision and Deep Learningmaui.hawaii.edu/.../sites/13/2019/...Computer-Vision-and-Deep-Learning.pdf · Teaching the Fundamentals of Computer Vision

Source: Edureka

Page 4: Teaching the Fundamentals of Computer Vision and Deep Learningmaui.hawaii.edu/.../sites/13/2019/...Computer-Vision-and-Deep-Learning.pdf · Teaching the Fundamentals of Computer Vision

Source: ACM - Computers in Entertainment - Association for Computing Machinery

Page 5: Teaching the Fundamentals of Computer Vision and Deep Learningmaui.hawaii.edu/.../sites/13/2019/...Computer-Vision-and-Deep-Learning.pdf · Teaching the Fundamentals of Computer Vision

Convolutional Neural Network - ConvNet

Source: https://ujjwalkarn.me/2016/08/11/intuitive-explanation-convnets/

Page 6: Teaching the Fundamentals of Computer Vision and Deep Learningmaui.hawaii.edu/.../sites/13/2019/...Computer-Vision-and-Deep-Learning.pdf · Teaching the Fundamentals of Computer Vision

Channels - Color images have 3 channels - RGB. Each Pixel Value ranges from 0 to 255

Image - Matrix of Pixels

Source: https://ujjwalkarn.me/2016/08/11/intuitive-explanation-convnets/

Grayscale Image -One channel, values 0 (white) to 255 (black)

Page 7: Teaching the Fundamentals of Computer Vision and Deep Learningmaui.hawaii.edu/.../sites/13/2019/...Computer-Vision-and-Deep-Learning.pdf · Teaching the Fundamentals of Computer Vision

Convolution - Extract Features

3x3 Filter, or Kernel or Feature Detector

Input Image, 5x5Move 3x3 Filter over 5x5 Input Image, one pixel at a time (STRIDE) and compute matrix multiplication. Convolved Feature or Feature Map

Source: https://ujjwalkarn.me/2016/08/11/intuitive-explanation-convnets/

Page 8: Teaching the Fundamentals of Computer Vision and Deep Learningmaui.hawaii.edu/.../sites/13/2019/...Computer-Vision-and-Deep-Learning.pdf · Teaching the Fundamentals of Computer Vision

Different values of the Filter or Kernel will create different Feature Maps from the Input Image

Examples of Features -Edges, Blurs, Sharpen

Parameters Depth - # of Filters Stride - movement across imageZero-Padding - apply filter to edges

Source: https://ujjwalkarn.me/2016/08/11/intuitive-explanation-convnets/

Page 9: Teaching the Fundamentals of Computer Vision and Deep Learningmaui.hawaii.edu/.../sites/13/2019/...Computer-Vision-and-Deep-Learning.pdf · Teaching the Fundamentals of Computer Vision

Forward Propagation

Source: https://ujjwalkarn.me/2016/08/11/intuitive-explanation-convnets/

Page 10: Teaching the Fundamentals of Computer Vision and Deep Learningmaui.hawaii.edu/.../sites/13/2019/...Computer-Vision-and-Deep-Learning.pdf · Teaching the Fundamentals of Computer Vision

Backward Propagation Calculate Gradient of errorUse Gradient Descent to update filter weightsReduce Output Error or Training LossEpoch = Forward + Backward PropagationHyperparameter = Learning RateValidation Data -> Forward Propagation OnlyMinimize Training Loss & Validation LossControl Overfitting using DropoutsAllow for Generalization of New Test Data

Source: https://ujjwalkarn.me/2016/08/11/intuitive-explanation-convnets/

Page 12: Teaching the Fundamentals of Computer Vision and Deep Learningmaui.hawaii.edu/.../sites/13/2019/...Computer-Vision-and-Deep-Learning.pdf · Teaching the Fundamentals of Computer Vision