Input masks and ROI
Use inclusion, exclusion, and ROI masks to limit what the AI Manager sees.
Inclusion Area Mask


Exclusion Area Mask


Region of Interest (ROI)



Custom External Processing
Last updated
Use inclusion, exclusion, and ROI masks to limit what the AI Manager sees.
Inclusion and exclusion areas add a mask over the image sent to the AI Manager. The Region of Interest (ROI) removes all information outside the designated region and sends only the information inside the rectangle to the AI Manager.
For the inclusion area, only results within the designated polygon are returned.


In practice, results overlap the polygon borders slightly because the anchor location for a detected object is the middle of the bottom of the detection box.
The center of the bottom of the bounding box is chosen for the anchor location because that is usually a good indication for where a person or object is standing on the ground. In a line-crossing scenario for example, this would make it easier to detect if a person crosses a certain line.
The exclusion area works the same way: only objects with the anchor location outside the area are returned.


The region of interest defines a square region of the image sent to the AI Manager; the model does not see the parts outside the region.


This also means the image must be a rectangle; set the model resizing method to letterbox for the models to work correctly.

Using masks and region of interest at the same time is not supported.
To customize this behavior, create a preprocessor to build a mask, or a postprocessor to exclude results from a designated area.
For examples of custom preprocessors and postprocessors, see the sclbl-integration-sdk repository:
Last updated