FisFilter_DL_LocateObjects
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
| Module: | DL_LO |
Performs locating objects using a pretrained deep learning model.
Syntax
void fil::FisFilter_DL_LocateObjects ( const fil::Image& inImage, ftl::Optional<const fil::Region&> inRoi, const fil::LocateObjectsModelId& inModelId, const float inMinDetectionScore, ftl::Array<fil::ClassifiedRectangle>& outObjects )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inRoi | Optional<const Region&> | NIL | Limits the area where objects may be located |
![]() |
inModelId | const LocateObjectsModelId& | Identifier of a Locate Objects model | |
![]() |
inMinDetectionScore | const float | 0.5f | Sets a minimum required score for an object to be returned. |
![]() |
outObjects | Array<ClassifiedRectangle>& |
Requirements
For input inImage only pixel formats are supported: 1⨯uint8, 3⨯uint8.
Read more about pixel formats in Image documentation.
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Not supported inImage pixel format in FisFilter_DL_LocateObjects. Supported formats: 1xUInt8, 3xUInt8. |


