Introduction to object detection

Brodmann17
Brodmann17Brodmann17
Introduction to Object Detection
Computer Vision Tasks
Source: CS231n Object detection http://cs231n.stanford.edu/slides/2016/winter1516_lecture8.pdf
Computer Vision Tasks
Source: CS231n Object detection http://cs231n.stanford.edu/slides/2016/winter1516_lecture8.pdf
Classification + Localization
● Classification:
○ Input: Image
○ Output: Class label
○ Loss: Cross entropy (Softmaxlog)
○ Evaluation metric: Accuracy
● Localization:
○ Input: Image
○ Output: Box in the image (x, y, w, h)
○ Loss: L2 Loss (Euclidean distance)
○ Evaluation metric: Intersection over Union
● Classification + Localization:
○ Input: Image
○ Output: Class label + box in the image
○ Loss: Sum of both losses
Classification + Localization: ImageNet Challenge
● Dataset
○ 1000 Classes.
○ Each image has 1 class with at least one
bounding box.
○ ~800 Training images per class.
● Evaluation
○ Algorithm produces 5 (class + bounding box)
guesses.
○ Example is correct if at least one of guess has
correct class AND bounding box at least 50%
intersection over union.
Intersection Over Union (IoU)
● Important measurement for object localization.
● Used in both training and evaluation.
Intersection(A,B)
Union(A,B)
IoU(A,B)
=
Classification + Localization: Model
Classification Head:
● C Scores for C
classes
Localization Head:
● Class agnostic:
(x,y,w,h)
● Class specific:
(x,y,w,h) X C
Computer Vision Tasks
Source: CS231n Object detection http://cs231n.stanford.edu/slides/2016/winter1516_lecture8.pdf
Object Detection 2001-2007
● Rapid Object Detection using a Boosted Cascade of
Simple Features (2001)
○ Viola & Jones
● Histograms of Oriented Gradients for Human
Detection (2005)
○ Dalal & Triggs
● Object Detection with Discriminatively Trained Part
Based Models (2010)
○ Felzenszwalb, Girshick, Ramanan
● Fast Feature Pyramids for Object Detection (2014)
○ Dollar
Object Detection 2007-2012
Source: Ross Girshick’s CVPR 2017 Tutorial http://deeplearning.csail.mit.edu/instance_ross.pptx
Object Detection Today
Source: Ross Girshick’s CVPR 2017 Tutorial http://deeplearning.csail.mit.edu/instance_ross.pptx
Object Detection: Datasets
2007
Pascal VOC
● 20 Classes
● 11K Training images
● 27K Training objects
Was de-facto standard,
currently used as quick
benchmark to evaluate new
detection algorithms.
2013
ImageNet ILSVRC
● 200 Classes
● 476K Training images
● 534K Training objects
Essentially scaled up version
of PASCAL VOC, similar object
statistics.
2015
MS COCO
● 80 Classes
● 200K Training images
● 1.5M Training objects
More categories and more
object instances in every
image. Only 10% of images
contain a single object
category, 60% in Pascal. More
small objects than large
objects.
Pascal Examples
COCO Examples
Object Detection
● Input: Image
● Output: For each object class c and each
image i, an algorithm returns predicted
detections: locations with
confidence scores .
Object Detection: Evaluation
● True positive: correct class prediction AND IoU > 50%.
● False positive: wrong class or IoU < 50%.
● False negative: missed (not detected) object
● Only one detection can be matched to an object.
●
Object Detection: Evaluation
● Mean Average Precision (mAP) across all classes, based on Average Precision
(AP) per class, based on Precision and Recall.
Precision And Recall For a Threshold
Precision-Recall Curve
Source: Drawing by Prof. William H. Press, the University of Texas at Austin
Average Precision (AP)
● [In the vision community] AP is the estimated area under the PR curve
 
Mean Average Precision (mAP)
● The winner of each object class is the team with the highest average precision
● The winner of the challenge is the team with the highest mean Average
Precision (mAP) across all classes.
Object Detection: Evaluation
● Mean Average Precision (mAP) across all classes, based on Average Precision
(AP) per class, based on Precision and Recall.
Object Detection: Evaluation
● Today new metrics are emerging
○ Averaging precision over all IoU thresholds: 0.5:0.05:0.95
○ Averaging precision for different object sizes (small, medium, big)
○ Averaging recall as a metric to measure object proposal quality.
Looking for brilliant researchers
cv@brodmann17.com
1 de 24

Recomendados

Object detection with deep learning por
Object detection with deep learningObject detection with deep learning
Object detection with deep learningSushant Shrivastava
8K visualizações20 slides
Object detection por
Object detectionObject detection
Object detectionROUSHAN RAJ KUMAR
1.1K visualizações12 slides
Deep learning based object detection basics por
Deep learning based object detection basicsDeep learning based object detection basics
Deep learning based object detection basicsBrodmann17
3.1K visualizações30 slides
Object Detection & Tracking por
Object Detection & TrackingObject Detection & Tracking
Object Detection & TrackingAkshay Gujarathi
19.3K visualizações28 slides
Object detection presentation por
Object detection presentationObject detection presentation
Object detection presentationAshwinBicholiya
8K visualizações18 slides
Object Detection Using R-CNN Deep Learning Framework por
Object Detection Using R-CNN Deep Learning FrameworkObject Detection Using R-CNN Deep Learning Framework
Object Detection Using R-CNN Deep Learning FrameworkNader Karimi
895 visualizações38 slides

Mais conteúdo relacionado

Mais procurados

[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection por
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
[PR12] You Only Look Once (YOLO): Unified Real-Time Object DetectionTaegyun Jeon
39.2K visualizações97 slides
Object tracking presentation por
Object tracking  presentationObject tracking  presentation
Object tracking presentationMrsShwetaBanait1
1.4K visualizações27 slides
Object Detection using Deep Neural Networks por
Object Detection using Deep Neural NetworksObject Detection using Deep Neural Networks
Object Detection using Deep Neural NetworksUsman Qayyum
1.3K visualizações31 slides
Machine Learning - Object Detection and Classification por
Machine Learning - Object Detection and ClassificationMachine Learning - Object Detection and Classification
Machine Learning - Object Detection and ClassificationVikas Jain
3.7K visualizações28 slides
Object detection por
Object detectionObject detection
Object detectionJksuryawanshi
905 visualizações11 slides
Object detection por
Object detectionObject detection
Object detectionSomesh Vyas
16.9K visualizações13 slides

Mais procurados(20)

[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection por Taegyun Jeon
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
Taegyun Jeon39.2K visualizações
Object tracking presentation por MrsShwetaBanait1
Object tracking  presentationObject tracking  presentation
Object tracking presentation
MrsShwetaBanait11.4K visualizações
Object Detection using Deep Neural Networks por Usman Qayyum
Object Detection using Deep Neural NetworksObject Detection using Deep Neural Networks
Object Detection using Deep Neural Networks
Usman Qayyum1.3K visualizações
Machine Learning - Object Detection and Classification por Vikas Jain
Machine Learning - Object Detection and ClassificationMachine Learning - Object Detection and Classification
Machine Learning - Object Detection and Classification
Vikas Jain3.7K visualizações
Object detection por Jksuryawanshi
Object detectionObject detection
Object detection
Jksuryawanshi905 visualizações
Object detection por Somesh Vyas
Object detectionObject detection
Object detection
Somesh Vyas16.9K visualizações
Convolution Neural Network (CNN) por Suraj Aavula
Convolution Neural Network (CNN)Convolution Neural Network (CNN)
Convolution Neural Network (CNN)
Suraj Aavula13.6K visualizações
You Only Look Once: Unified, Real-Time Object Detection por DADAJONJURAKUZIEV
You Only Look Once: Unified, Real-Time Object DetectionYou Only Look Once: Unified, Real-Time Object Detection
You Only Look Once: Unified, Real-Time Object Detection
DADAJONJURAKUZIEV851 visualizações
A Brief History of Object Detection / Tommi Kerola por Preferred Networks
A Brief History of Object Detection / Tommi KerolaA Brief History of Object Detection / Tommi Kerola
A Brief History of Object Detection / Tommi Kerola
Preferred Networks10.8K visualizações
Deep learning based object detection por chettykulkarni
Deep learning based object detectionDeep learning based object detection
Deep learning based object detection
chettykulkarni422 visualizações
Computer Vision image classification por Wael Badawy
Computer Vision image classificationComputer Vision image classification
Computer Vision image classification
Wael Badawy407 visualizações
You only look once (YOLO) : unified real time object detection por Entrepreneur / Startup
You only look once (YOLO) : unified real time object detectionYou only look once (YOLO) : unified real time object detection
You only look once (YOLO) : unified real time object detection
Entrepreneur / Startup6.8K visualizações
Convolutional Neural Network Models - Deep Learning por Benha University
Convolutional Neural Network Models - Deep LearningConvolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep Learning
Benha University12.6K visualizações
Convolutional neural network por MojammilHusain
Convolutional neural networkConvolutional neural network
Convolutional neural network
MojammilHusain1.1K visualizações
Object Detection and Recognition por Intel Nervana
Object Detection and Recognition Object Detection and Recognition
Object Detection and Recognition
Intel Nervana5.1K visualizações
U-Net (1).pptx por Changjin Lee
U-Net (1).pptxU-Net (1).pptx
U-Net (1).pptx
Changjin Lee2.3K visualizações
Convolutional Neural Network and Its Applications por Kasun Chinthaka Piyarathna
Convolutional Neural Network and Its ApplicationsConvolutional Neural Network and Its Applications
Convolutional Neural Network and Its Applications
Kasun Chinthaka Piyarathna4.6K visualizações
Machine Learning - Convolutional Neural Network por Richard Kuo
Machine Learning - Convolutional Neural NetworkMachine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural Network
Richard Kuo1K visualizações

Similar a Introduction to object detection

Introduction to object detection por
Introduction to object detectionIntroduction to object detection
Introduction to object detectionAmar Jindal
91 visualizações30 slides
#10 pydata warsaw object detection with dn ns por
#10   pydata warsaw object detection with dn ns#10   pydata warsaw object detection with dn ns
#10 pydata warsaw object detection with dn nsAndrew Brozek
1.7K visualizações78 slides
Object Detection with Deep Learning - Xavier Giro-i-Nieto - UPC School Barcel... por
Object Detection with Deep Learning - Xavier Giro-i-Nieto - UPC School Barcel...Object Detection with Deep Learning - Xavier Giro-i-Nieto - UPC School Barcel...
Object Detection with Deep Learning - Xavier Giro-i-Nieto - UPC School Barcel...Universitat Politècnica de Catalunya
590 visualizações94 slides
Codetecon #KRK 3 - Object detection with Deep Learning por
Codetecon #KRK 3 - Object detection with Deep LearningCodetecon #KRK 3 - Object detection with Deep Learning
Codetecon #KRK 3 - Object detection with Deep LearningMatthew Opala
776 visualizações71 slides
机器学习Adaboost por
机器学习Adaboost机器学习Adaboost
机器学习AdaboostShocky1
50 visualizações46 slides
Yolo por
YoloYolo
YoloSourav Garai
584 visualizações17 slides

Similar a Introduction to object detection(20)

Introduction to object detection por Amar Jindal
Introduction to object detectionIntroduction to object detection
Introduction to object detection
Amar Jindal91 visualizações
#10 pydata warsaw object detection with dn ns por Andrew Brozek
#10   pydata warsaw object detection with dn ns#10   pydata warsaw object detection with dn ns
#10 pydata warsaw object detection with dn ns
Andrew Brozek1.7K visualizações
Codetecon #KRK 3 - Object detection with Deep Learning por Matthew Opala
Codetecon #KRK 3 - Object detection with Deep LearningCodetecon #KRK 3 - Object detection with Deep Learning
Codetecon #KRK 3 - Object detection with Deep Learning
Matthew Opala776 visualizações
机器学习Adaboost por Shocky1
机器学习Adaboost机器学习Adaboost
机器学习Adaboost
Shocky150 visualizações
Yolo por Sourav Garai
YoloYolo
Yolo
Sourav Garai584 visualizações
Yulia Honcharenko "Application of metric learning for logo recognition" por Fwdays
Yulia Honcharenko "Application of metric learning for logo recognition"Yulia Honcharenko "Application of metric learning for logo recognition"
Yulia Honcharenko "Application of metric learning for logo recognition"
Fwdays316 visualizações
Learning Globally-Consistent Local Distance Functions for Shape ... por butest
Learning Globally-Consistent Local Distance Functions for Shape ...Learning Globally-Consistent Local Distance Functions for Shape ...
Learning Globally-Consistent Local Distance Functions for Shape ...
butest261 visualizações
Avihu Efrat's Viola and Jones face detection slides por wolf
Avihu Efrat's Viola and Jones face detection slidesAvihu Efrat's Viola and Jones face detection slides
Avihu Efrat's Viola and Jones face detection slides
wolf11K visualizações
The RoboCup Rescue Dataset por Peter Lorenz
The RoboCup Rescue DatasetThe RoboCup Rescue Dataset
The RoboCup Rescue Dataset
Peter Lorenz34 visualizações
Image Object Detection Pipeline por Abhinav Dadhich
Image Object Detection PipelineImage Object Detection Pipeline
Image Object Detection Pipeline
Abhinav Dadhich1.7K visualizações
PR-132: SSD: Single Shot MultiBox Detector por Jinwon Lee
PR-132: SSD: Single Shot MultiBox DetectorPR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox Detector
Jinwon Lee3.5K visualizações
Gan seminar por San Kim
Gan seminarGan seminar
Gan seminar
San Kim394 visualizações
物件偵測與辨識技術 por CHENHuiMei
物件偵測與辨識技術物件偵測與辨識技術
物件偵測與辨識技術
CHENHuiMei368 visualizações
Andrii Belas "Overview of object detection approaches: cases, algorithms and... por Lviv Startup Club
Andrii Belas  "Overview of object detection approaches: cases, algorithms and...Andrii Belas  "Overview of object detection approaches: cases, algorithms and...
Andrii Belas "Overview of object detection approaches: cases, algorithms and...
Lviv Startup Club79 visualizações
Shai Avidan's Support vector tracking and ensemble tracking por wolf
Shai Avidan's Support vector tracking and ensemble trackingShai Avidan's Support vector tracking and ensemble tracking
Shai Avidan's Support vector tracking and ensemble tracking
wolf2.1K visualizações
08 cie552 image_segmentation por Elsayed Hemayed
08 cie552 image_segmentation08 cie552 image_segmentation
08 cie552 image_segmentation
Elsayed Hemayed31 visualizações

Mais de Brodmann17

5 Practical Steps to a Successful Deep Learning Research por
5 Practical Steps to a Successful  Deep Learning Research5 Practical Steps to a Successful  Deep Learning Research
5 Practical Steps to a Successful Deep Learning ResearchBrodmann17
1.7K visualizações38 slides
Advanced deep learning based object detection methods por
Advanced deep learning based object detection methodsAdvanced deep learning based object detection methods
Advanced deep learning based object detection methodsBrodmann17
1.6K visualizações36 slides
Fast methods for deep learning based object detection por
Fast methods for deep learning based object detectionFast methods for deep learning based object detection
Fast methods for deep learning based object detectionBrodmann17
860 visualizações43 slides
Deep Learning on Everyday Devices por
Deep Learning on Everyday DevicesDeep Learning on Everyday Devices
Deep Learning on Everyday DevicesBrodmann17
349 visualizações17 slides
Brodmann17 I The rise of edge vision intelligence I Adi Pinhas I DLD 2017 por
Brodmann17 I The rise of edge vision intelligence I Adi Pinhas I DLD 2017Brodmann17 I The rise of edge vision intelligence I Adi Pinhas I DLD 2017
Brodmann17 I The rise of edge vision intelligence I Adi Pinhas I DLD 2017Brodmann17
504 visualizações17 slides
DLD meetup 2017, Efficient Deep Learning por
DLD meetup 2017, Efficient Deep LearningDLD meetup 2017, Efficient Deep Learning
DLD meetup 2017, Efficient Deep LearningBrodmann17
1.1K visualizações31 slides

Mais de Brodmann17(8)

5 Practical Steps to a Successful Deep Learning Research por Brodmann17
5 Practical Steps to a Successful  Deep Learning Research5 Practical Steps to a Successful  Deep Learning Research
5 Practical Steps to a Successful Deep Learning Research
Brodmann171.7K visualizações
Advanced deep learning based object detection methods por Brodmann17
Advanced deep learning based object detection methodsAdvanced deep learning based object detection methods
Advanced deep learning based object detection methods
Brodmann171.6K visualizações
Fast methods for deep learning based object detection por Brodmann17
Fast methods for deep learning based object detectionFast methods for deep learning based object detection
Fast methods for deep learning based object detection
Brodmann17860 visualizações
Deep Learning on Everyday Devices por Brodmann17
Deep Learning on Everyday DevicesDeep Learning on Everyday Devices
Deep Learning on Everyday Devices
Brodmann17349 visualizações
Brodmann17 I The rise of edge vision intelligence I Adi Pinhas I DLD 2017 por Brodmann17
Brodmann17 I The rise of edge vision intelligence I Adi Pinhas I DLD 2017Brodmann17 I The rise of edge vision intelligence I Adi Pinhas I DLD 2017
Brodmann17 I The rise of edge vision intelligence I Adi Pinhas I DLD 2017
Brodmann17504 visualizações
DLD meetup 2017, Efficient Deep Learning por Brodmann17
DLD meetup 2017, Efficient Deep LearningDLD meetup 2017, Efficient Deep Learning
DLD meetup 2017, Efficient Deep Learning
Brodmann171.1K visualizações
Brodmann17 CVPR 2017 review - meetup slides por Brodmann17
Brodmann17 CVPR 2017 review - meetup slides Brodmann17 CVPR 2017 review - meetup slides
Brodmann17 CVPR 2017 review - meetup slides
Brodmann171.6K visualizações
Geektime 2017 por Brodmann17
Geektime 2017Geektime 2017
Geektime 2017
Brodmann17292 visualizações

Último

scopus cited journals.pdf por
scopus cited journals.pdfscopus cited journals.pdf
scopus cited journals.pdfKSAravindSrivastava
7 visualizações15 slides
Experimental animal Guinea pigs.pptx por
Experimental animal Guinea pigs.pptxExperimental animal Guinea pigs.pptx
Experimental animal Guinea pigs.pptxMansee Arya
15 visualizações16 slides
A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance... por
A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...
A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...InsideScientific
49 visualizações62 slides
application of genetic engineering 2.pptx por
application of genetic engineering 2.pptxapplication of genetic engineering 2.pptx
application of genetic engineering 2.pptxSankSurezz
9 visualizações12 slides
MODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdf por
MODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdfMODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdf
MODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdfKerryNuez1
24 visualizações5 slides
Ecology por
Ecology Ecology
Ecology Abhijith Raj.R
7 visualizações10 slides

Último(20)

Experimental animal Guinea pigs.pptx por Mansee Arya
Experimental animal Guinea pigs.pptxExperimental animal Guinea pigs.pptx
Experimental animal Guinea pigs.pptx
Mansee Arya15 visualizações
A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance... por InsideScientific
A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...
A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...
InsideScientific49 visualizações
application of genetic engineering 2.pptx por SankSurezz
application of genetic engineering 2.pptxapplication of genetic engineering 2.pptx
application of genetic engineering 2.pptx
SankSurezz9 visualizações
MODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdf por KerryNuez1
MODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdfMODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdf
MODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdf
KerryNuez124 visualizações
Ecology por Abhijith Raj.R
Ecology Ecology
Ecology
Abhijith Raj.R7 visualizações
"How can I develop my learning path in bioinformatics? por Bioinformy
"How can I develop my learning path in bioinformatics?"How can I develop my learning path in bioinformatics?
"How can I develop my learning path in bioinformatics?
Bioinformy23 visualizações
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ... por ILRI
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...
ILRI5 visualizações
별헤는 사람들 2023년 12월호 전명원 교수 자료 por sciencepeople
별헤는 사람들 2023년 12월호 전명원 교수 자료별헤는 사람들 2023년 12월호 전명원 교수 자료
별헤는 사람들 2023년 12월호 전명원 교수 자료
sciencepeople37 visualizações
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx por MN
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptxENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx
MN7 visualizações
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ... por ILRI
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...
ILRI5 visualizações
Distinct distributions of elliptical and disk galaxies across the Local Super... por Sérgio Sacani
Distinct distributions of elliptical and disk galaxies across the Local Super...Distinct distributions of elliptical and disk galaxies across the Local Super...
Distinct distributions of elliptical and disk galaxies across the Local Super...
Sérgio Sacani31 visualizações
Pollination By Nagapradheesh.M.pptx por MNAGAPRADHEESH
Pollination By Nagapradheesh.M.pptxPollination By Nagapradheesh.M.pptx
Pollination By Nagapradheesh.M.pptx
MNAGAPRADHEESH16 visualizações
MILK LIPIDS 2.pptx por abhinambroze18
MILK LIPIDS 2.pptxMILK LIPIDS 2.pptx
MILK LIPIDS 2.pptx
abhinambroze187 visualizações
RemeOs science and clinical evidence por PetrusViitanen1
RemeOs science and clinical evidenceRemeOs science and clinical evidence
RemeOs science and clinical evidence
PetrusViitanen136 visualizações
A training, certification and marketing scheme for informal dairy vendors in ... por ILRI
A training, certification and marketing scheme for informal dairy vendors in ...A training, certification and marketing scheme for informal dairy vendors in ...
A training, certification and marketing scheme for informal dairy vendors in ...
ILRI13 visualizações
DEVELOPMENT OF FROG.pptx por sushant292556
DEVELOPMENT OF FROG.pptxDEVELOPMENT OF FROG.pptx
DEVELOPMENT OF FROG.pptx
sushant2925565 visualizações
Metatheoretical Panda-Samaneh Borji.pdf por samanehborji
Metatheoretical Panda-Samaneh Borji.pdfMetatheoretical Panda-Samaneh Borji.pdf
Metatheoretical Panda-Samaneh Borji.pdf
samanehborji16 visualizações
Batrachospermum.pptx por nisarahmad632316
Batrachospermum.pptxBatrachospermum.pptx
Batrachospermum.pptx
nisarahmad63231643 visualizações

Introduction to object detection

  • 2. Computer Vision Tasks Source: CS231n Object detection http://cs231n.stanford.edu/slides/2016/winter1516_lecture8.pdf
  • 3. Computer Vision Tasks Source: CS231n Object detection http://cs231n.stanford.edu/slides/2016/winter1516_lecture8.pdf
  • 4. Classification + Localization ● Classification: ○ Input: Image ○ Output: Class label ○ Loss: Cross entropy (Softmaxlog) ○ Evaluation metric: Accuracy ● Localization: ○ Input: Image ○ Output: Box in the image (x, y, w, h) ○ Loss: L2 Loss (Euclidean distance) ○ Evaluation metric: Intersection over Union ● Classification + Localization: ○ Input: Image ○ Output: Class label + box in the image ○ Loss: Sum of both losses
  • 5. Classification + Localization: ImageNet Challenge ● Dataset ○ 1000 Classes. ○ Each image has 1 class with at least one bounding box. ○ ~800 Training images per class. ● Evaluation ○ Algorithm produces 5 (class + bounding box) guesses. ○ Example is correct if at least one of guess has correct class AND bounding box at least 50% intersection over union.
  • 6. Intersection Over Union (IoU) ● Important measurement for object localization. ● Used in both training and evaluation. Intersection(A,B) Union(A,B) IoU(A,B) =
  • 7. Classification + Localization: Model Classification Head: ● C Scores for C classes Localization Head: ● Class agnostic: (x,y,w,h) ● Class specific: (x,y,w,h) X C
  • 8. Computer Vision Tasks Source: CS231n Object detection http://cs231n.stanford.edu/slides/2016/winter1516_lecture8.pdf
  • 9. Object Detection 2001-2007 ● Rapid Object Detection using a Boosted Cascade of Simple Features (2001) ○ Viola & Jones ● Histograms of Oriented Gradients for Human Detection (2005) ○ Dalal & Triggs ● Object Detection with Discriminatively Trained Part Based Models (2010) ○ Felzenszwalb, Girshick, Ramanan ● Fast Feature Pyramids for Object Detection (2014) ○ Dollar
  • 10. Object Detection 2007-2012 Source: Ross Girshick’s CVPR 2017 Tutorial http://deeplearning.csail.mit.edu/instance_ross.pptx
  • 11. Object Detection Today Source: Ross Girshick’s CVPR 2017 Tutorial http://deeplearning.csail.mit.edu/instance_ross.pptx
  • 12. Object Detection: Datasets 2007 Pascal VOC ● 20 Classes ● 11K Training images ● 27K Training objects Was de-facto standard, currently used as quick benchmark to evaluate new detection algorithms. 2013 ImageNet ILSVRC ● 200 Classes ● 476K Training images ● 534K Training objects Essentially scaled up version of PASCAL VOC, similar object statistics. 2015 MS COCO ● 80 Classes ● 200K Training images ● 1.5M Training objects More categories and more object instances in every image. Only 10% of images contain a single object category, 60% in Pascal. More small objects than large objects.
  • 15. Object Detection ● Input: Image ● Output: For each object class c and each image i, an algorithm returns predicted detections: locations with confidence scores .
  • 16. Object Detection: Evaluation ● True positive: correct class prediction AND IoU > 50%. ● False positive: wrong class or IoU < 50%. ● False negative: missed (not detected) object ● Only one detection can be matched to an object. ●
  • 17. Object Detection: Evaluation ● Mean Average Precision (mAP) across all classes, based on Average Precision (AP) per class, based on Precision and Recall.
  • 18. Precision And Recall For a Threshold
  • 19. Precision-Recall Curve Source: Drawing by Prof. William H. Press, the University of Texas at Austin
  • 20. Average Precision (AP) ● [In the vision community] AP is the estimated area under the PR curve  
  • 21. Mean Average Precision (mAP) ● The winner of each object class is the team with the highest average precision ● The winner of the challenge is the team with the highest mean Average Precision (mAP) across all classes.
  • 22. Object Detection: Evaluation ● Mean Average Precision (mAP) across all classes, based on Average Precision (AP) per class, based on Precision and Recall.
  • 23. Object Detection: Evaluation ● Today new metrics are emerging ○ Averaging precision over all IoU thresholds: 0.5:0.05:0.95 ○ Averaging precision for different object sizes (small, medium, big) ○ Averaging recall as a metric to measure object proposal quality.
  • 24. Looking for brilliant researchers cv@brodmann17.com