TIEVisionObjectsFinder.getFoundRectCount
Declaration
function getFoundRectCount(name: PAnsiChar): int32_t; safecall;
Description
Returns the number of found objects for the specified object detector.
Parameter | Description |
name | Object detector |
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◼getFoundRect◼mergeRects◼mergeAllRects