Skip to content

vedaldi/practical-object-category-detection

Repository files navigation

Object category detection practical

A computer vision practical by the Oxford Visual Geometry group, authored by Andrea Vedaldi and Andrew Zisserman.

Start from doc/instructions.html.

Package contents

The practical consists of four exercises, organized in the following files:

  • exercise1.m -- Part 1: Detection fundamentals
  • exercise2.m -- Part 2: Multiple scales and learning with an SVM
  • exercise3.m -- Part 3: Multiple objects and evaluation
  • exercise4.m -- Part 4: Hard negative mining
  • exercise5.m -- Part 5: Train your own object detector

The practical runs in MATLAB and uses MatConvNet and VLFeat. This package contains the following MATLAB functions:

  • boxinclusion.m: compute the inclusion of bounding boxes.
  • boxoverlap.m: compute the overlap of bounding boxes.
  • boxsuppress.m: non-maxima box suppression.
  • detect.m: sliding window detector.
  • detectAtMultipleScales.m: an intermediate example detector.
  • evalDetections.m: evaluate detections using the PASCAL VOC criterion.
  • evaluateModel.m: evaluate a detector against a database of images.
  • extract.m: extract HOG features from bounding boxes.
  • loadData.m: load practical data.
  • setup.m: setup MATLAB environment.

Appendix: Installing from scratch

The practical requires both VLFeat and MatConvNet. VLFeat comes with pre-built binaries, but MatConvNet does not.

  1. From Bash, run ./extras/download.sh. This will download the German Street Sign Benchmark data and VLFeat.
  2. From MATLAB, run addpath extras ; prepareLabData.m.

Changes

  • 2014a - Initial edition

License

Copyright (c) 2011-13 Andrea Vedaldi

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

About

A VGG practical on the detection of visual object categories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published