cv.WBDetector - MATLAB File Help Go to online doc for cv.WBDetector
cv.WBDetector

WaldBoost detector - Object Detection using Boosted Features

Class for object detection using WaldBoost from [Sochman05]. Uses a Waldboost cascade and local binary patterns computed as integral features for 2D object detection.

Example

The basic usage is the following:

% train
detector = cv.WBDetector();
detector.train('/path/to/pos/', '/path/to/neg/');
detector.write('model.xml');

% detect
detector = cv.WBDetector();
detector.read('model.xml');
img = cv.imread('image.png', 'Grayscale',true);
[bboxes,conf] = detector.detect(img);
for i=1:numel(bboxes)
    img = cv.rectangle(img, bboxes{i}, 'Color',[0 255 0]);
end
imshow(img)

References

[Sochman05]:

J. Sochman and J. Matas. "WaldBoost - Learning for Time Constrained Sequential Detection", IEEE Conference on CVPR 2005, Vol 2, p. 150-156 PDF

See also
Class Details
Superclasses handle
Sealed false
Construct on load false
Constructor Summary
WBDetector Create instance of WBDetector 
Property Summary
id Object ID 
Method Summary
  addlistener Add listener for event. 
  delete Destructor 
  detect Detect objects on image using WaldBoost detector 
  eq == (EQ) Test handle equality. 
  findobj Find objects matching specified conditions. 
  findprop Find property of MATLAB handle object. 
  ge >= (GE) Greater than or equal relation for handles. 
  gt > (GT) Greater than relation for handles. 
Sealed   isvalid Test handle validity. 
  le <= (LE) Less than or equal relation for handles. 
  listener Add listener for event without binding the listener to the source object. 
  lt < (LT) Less than relation for handles. 
  ne ~= (NE) Not equal relation for handles. 
  notify Notify listeners of event. 
  read Read detector from file 
  train Train WaldBoost detector 
  write Write detector to file 
Event Summary
ObjectBeingDestroyed Notifies listeners that a particular object has been destroyed.