
Spatial containment test: takes a geometry item (a box, point, mask, polygon or point list) and an ROI shape, and emits a Bool indicating whether the item lies inside or outside the region under the configured rule.
Detect objects, test each detection against a fixed region of interest, and keep only the ones inside before publishing.
Segment a frame, test mask coverage against a region, and publish the boolean result over HTTP for an occupancy monitor.
bbox_mode (its centre, or its coverage fraction against bbox_iou_threshold), while masks and polygons use the overlap fraction against mask_min_overlap.pass_when inverts the final answer, so the same containment test can report true for items inside or true for items outside the region without changing the geometry logic.Automated release