computer vision scene classification using neural nets and a knowledge base

20
Computer Vision Scene Classification Using Neural Nets and a Knowledge Base Daniel Vevang

Upload: oral

Post on 07-Jan-2016

61 views

Category:

Documents


0 download

DESCRIPTION

Computer Vision Scene Classification Using Neural Nets and a Knowledge Base. Daniel Vevang. Object Detection. Object Detection. Object Detection Training. Object Detection. Object Detection Training. Positive Samples. Object Detection. Object Detection Training. Positive Samples. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Computer Vision Scene Classification Using Neural Nets

and a Knowledge Base

Computer Vision Scene Classification Using Neural Nets

and a Knowledge Base

Daniel VevangDaniel Vevang

Page 2: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Object DetectionObject Detection

Page 3: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Object DetectionObject DetectionObject Detection Training

Page 4: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Object DetectionObject Detection

Positive Samples

Object Detection Training

Page 5: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Object DetectionObject Detection

Positive Samples Negative Samples

Object Detection Training

Page 6: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Object DetectionObject Detection

Positive Samples Negative Samples Vector Data

Object Detection Training

Page 7: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Object DetectionObject Detection

Positive Samples Negative Samples Vector Data

XML Haarcascade tree

Object Detection Training

Page 8: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Object DetectionObject Detection

Positive Samples Negative Samples Vector Data

XML Haarcascade tree

OpenCV Output: Object location and scale from an image.

Object Detection Training

Page 9: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Scene DetectionScene DetectionObject Detection Data:

location and scale

Page 10: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Scene DetectionScene DetectionObject Detection Data:

location and scale

Kohonen NetworkScene Detection

Page 11: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Scene DetectionScene DetectionObject Detection Data:

location and scale

Kohonen NetworkScene Detection

NN TrainingInput and Output Data

Page 12: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Scene DetectionScene DetectionObject Detection Data:

location and scale

Kohonen NetworkScene Detection

NN TrainingInput and Output Data

Trained Kohonen Net

Page 13: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Scene DetectionScene DetectionObject Detection Data:

location and scale

Kohonen NetworkScene Detection

NN TrainingInput and Output Data

Trained Kohonen Net

Knowledge Base

Page 14: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Tools: OpenCVTools: OpenCV

Diverse set of computer vision tools Diverse set of computer vision tools

QuickTime™ and a decompressor

are needed to see this picture.

Page 15: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

ObjectmarkerObjectmarker

GUI for Creating a text file of bounding box coordinates for a database of images

Additional scripting tools for creating haar xml cascades.

Eyepatch: Advanced scripting tool for training object detectors. Warning! Stability Issues!

GUI for Creating a text file of bounding box coordinates for a database of images

Additional scripting tools for creating haar xml cascades.

Eyepatch: Advanced scripting tool for training object detectors. Warning! Stability Issues!

Page 16: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Kohonen Net ImplementationKohonen Net Implementation

Code modified from Karsten Kutsa Still in the process of creating the data

model for Neural Net input. Currently looking to create 8 input nodes

for each image (8*5 images) for 40 images total.

Code modified from Karsten Kutsa Still in the process of creating the data

model for Neural Net input. Currently looking to create 8 input nodes

for each image (8*5 images) for 40 images total.

Page 17: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Kohenen Net Implementationfor detected images A-E

Kohenen Net Implementationfor detected images A-E

Example inputExample input

A B C D E

1.0 0.0 0.0 0.0 0.0

0.0 1.0 0.0 0.0 0.0

0.0 0.0 1.0 0.0 0.0

0.0 0.0 0.0 1.0 0.0

0.0 0.0 0.0 0.0 1.0

0.0 0.0 0.0 0.0 0.0

0.0 0.0 0.0 0.0 0.0

0.0 0.0 0.0 0.0 0.0

0.0 0.0 0.0 0.0 0.0

Page 18: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Parameters to work withParameters to work with

Learning rate for Kohonen layer Learning rate for output layer Learning rate for step sizes Smoothing factor for score deltas Parameter for width of neighborhood

Learning rate for Kohonen layer Learning rate for output layer Learning rate for step sizes Smoothing factor for score deltas Parameter for width of neighborhood

Page 19: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Additional data to considerAdditional data to consider

x y location scale of each object Multiples of the same object

x y location scale of each object Multiples of the same object

Page 20: Computer Vision Scene Classification Using Neural Nets and a Knowledge Base

Knowledge baseKnowledge base

Possible implementation of Narl to augment the performance of the Neural Net.

Possible implementation of Narl to augment the performance of the Neural Net.