acap-native-sdk-examples icon indicating copy to clipboard operation
acap-native-sdk-examples copied to clipboard

metadata broker feedback

Open paromarc opened this issue 2 years ago • 22 comments

Hi,

I have been playing around with the metadata broker API and wanted to report some feedback.

Starting with the API docs --> https://axiscommunications.github.io/acap-documentation/docs/api/src/api/metadata-broker/html/standard_topics.html

The payload doesn't start with the "data" property --> { "data": { "frame": { "timestamp": "2023-03-08T09:00:19.320111Z", "observations": [

but instead from the "frame" property "frame": { "timestamp": "2023-03-08T09:00:19.320111Z", "observations": [

I see my P3265 fw 11.9.60 is detecting Human, Cars but also Face.

In my app I am parsing the json payload --> ** Message: 12:59:31.623: type Face: bottom 0.127300, left 0.208600, right 0.224700, top 0.098600

I have also been playing around with the 'BestShot' feature and uploading the base64 image to an S3 bucket for testing. My P3265 is facing a display looping the same image, but the best shot seems to be inconsistent. Sometimes I get the back of my body, sometimes the front, sometimes just my face (even though my app is specifying only 'human' type and not 'face').

I am attaching a quick video showing the behavior after watching the same video twice and getting different results.

Thanks! Marco

https://github.com/AxisCommunications/acap-native-sdk-examples/assets/11927582/4ef67c5b-a6c3-4f52-b509-e38c04957127

paromarc avatar Mar 15 '24 17:03 paromarc

Hi @paromarc , thanks for your feedback! Will send this to the team working with this API.

pataxis avatar Mar 21 '24 14:03 pataxis

Hi i will summarise the meting notes here for other that have the same questions,

  1. The documentation was wrong and is now fixed. (The data field was removed)
  2. You can get other classes than what the documentation example show
  3. The best snapshot feature is not deterministic for tracks

kevin-barudde-work avatar Aug 22 '24 13:08 kevin-barudde-work