| MATLAB File Help: cv.WBDetector | Index |
WaldBoost detector
Class for object detection using WaldBoost from [Sochman05].
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)
[Sochman05]:
J. Sochman and J. Matas. "WaldBoost - Learning for Time Constrained Sequential Detection", IEEE Conference on CVPR 2005, Vol 2, p. 150-156 https://dspace.cvut.cz/bitstream/handle/10467/9494/2005-Waldboost-learning-for-time-constrained-sequential-detection.pdf?sequence=1
| Superclasses | handle |
| Sealed | false |
| Construct on load | false |
| WBDetector | Create instance of WBDetector |
| id | Object ID |
| 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. | |
| 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 |