TIEVisionObjectsFinder.getFoundRect
Declaration
function getFoundRect(name: PAnsiChar; index: int32_t): TIEVisionRect; safecall;
Description
Returns the n-th object found for the specified object detector.
Parameter | Description |
name | Name of object detector |
index | Index of found rectangle |
objectsFinder.findIn(image);
foundRects := objectsFinder.getFoundRectCount('face detector 1');
for i := 0 to foundRects-1 do
with GetFoundRect('face detector 1', i) do
begin
// do something with x, y and width, height
end;
See Also
◼findIn
◼getFoundRectCount
◼mergeRects
◼mergeAllRects