Per camera object classification #22563
-
|
I cannot find a way to exclude object classification for a single camera (known cars in my case) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Based on the available documentation, there isn't a direct way to exclude custom object classification models on a per-camera basis. The classification configuration is defined globally under the However, you have a few workarounds: 1. Use object filter masks at the camera level You can use object filter masks to prevent car detections in specific areas of a camera, which would effectively prevent those objects from being classified:(3)(1) cameras:
your_camera:
objects:
filters:
car:
mask: 0.000,0.000,1.000,0.000,1.000,1.000,0.000,1.000This masks the entire frame for car detections on that specific camera. 2. Exclude cars from tracking on specific cameras You can override the cameras:
your_camera:
objects:
track:
- person
- dog
# omit 'car' from this listThis means cars won't be tracked (and therefore won't be classified) on that specific camera, while other cameras using the global config will still track and classify cars. Note that per-camera exclusion syntax (like 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Based on the available documentation, there isn't a direct way to exclude custom object classification models on a per-camera basis. The classification configuration is defined globally under the
classificationsection.(1)(2)However, you have a few workarounds:
1. Use object filter masks at the camera level
You can use object filter masks to prevent car detections in specific areas of a camera, which would effectively prevent those objects from being classified:(3)(1)
(1)
This masks the entire frame for car detections on that specific camera.
2. Exclude cars f…