Hello everyone,
We are currently working on integrating object detection models with a Kafka broker and displaying the resulting bounding boxes in Milestone Smart Client using ONVIF metadata. Below is an excerpt of our code, which generates the ONVIF metadata, including bounding box coordinates, and sends it to Kafka:
---------
ET.SubElement(shape, nsmap(“BoundingBox”),
left=f"{left:.6f}",
top=f"{top:.6f}",
right=f"{right:.6f}",
bottom=f"{bottom:.6f}"
)
---------
Our objective is to apply privacy masking by manipulating the opacity and color of the bounding boxes so that they function as a blur effect, effectively obscuring objects inside the detected areas.
Questions:
- Does ONVIF support defining opacity or other visual attributes for bounding boxes in metadata?
- Is there any way to achieve a blur effect on the detected objects using ONVIF metadata?
- If ONVIF does not support this natively, are there any alternative approaches within Milestone (e.g., overlays, plug-ins) to apply privacy masking to these bounding boxes?
We would greatly appreciate any insights or recommendations on how to implement this.
Thank you in advance for your help!
Best regards,
João Brito | DeepNeuronic
