DistanceRatio¶
Specifies a factor between different search distances for the Find operation.
The view templates are generated at a certain distance (i.e. size in the camera view) by the GenerateModel function. If the search in the Find function is to carried out over a large distance range, the prepared templates will be scaled to different sizes and hypothesis generation is carried out at each scale individually. The resizing factor to a larger or smaller scale is fixed by this parameter as Scaling or 1/Scaling respectively.
Using a smaller scale factor might increase the detection rate when searching over a large distance range at the cost of runtime.
The actual search distances used in the Find operation are indicated in the Distance result.
Format
Number |
A scale factor larger than 1.01 to be used for generating resized templates for different distances. |
Default
1.2