Property VLHaarDetectObjects.TVLHaarSearching.RoughSearch

From Mitov Wiki Doc
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TVLHaarSearching

Contents

Syntax

Delphi:

property RoughSearch : Boolean read FRoughSearch write SetRoughSearch default False;

C++ Builder:

__property bool RoughSearch = { read=FRoughSearch, write=SetRoughSearch, default=False };

Summary

Specifies if only a rough object search should be performed.

Description

Use this property to specify if only a rough object search should be performed.

It should be used only when FindBiggestObject is set and MinNeighbors > 0. If the flag is set, the function does not look for candidates of a smaller size as soon as it has found the object (with enough neighbor candidates) at the current scale. Typically, when MinNeighbors is fixed, the mode yields less accurate (a bit larger) object rectangle than the regular single-object mode (FindBiggestObject=True), but it is much faster, up to an order of magnitude. A greater value of MinNeighbors may be specified to improve the accuracy.


Note, that in single-object mode UseCanny does not improve performance much and can even slow down the processing.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox