Example
Detection Pipeline
Run only the classes you care about and shed the rest of the load.
Steps
- Read the current filters from `/api/detection/filters`.
- Disable classes you do not need; the change persists and applies live.
- Disabled classes are dropped at the detector, freeing tracking, Re-ID and analytics.
Command
shell
curl -X POST http://127.0.0.1:8787/api/detection/filters \
-H "content-type: application/json" \
-d '{"vehicle":false,"animal":false}'
Result
Output
A lighter pipeline that only detects and tracks the enabled classes.