How to get uniquely identify frame in Network Optix?

Answered

Comments

4 comments

  • Avatar
    Evgeny Balashov

    Hello Akshay, if you take camera GUID and frame original timestamp - together they will identify the frame uniquely. You can concatenate them as strings if it helps.

    0
    Comment actions Permalink
  • Avatar
    akshay thoughtclan

    Hello Evgeny

    Thanks for the response. How to access camera GUID? Do you mean deviceinfo->id()? If so I am able to access that inside `ConsumingDeviceAgent` But how to access at pushUncompressedVideoFrame and cookSomeObjects function? 

    0
    Comment actions Permalink
  • Avatar
    Evgeny Balashov

    ConsumingDeviceAgent created individually for every camera, so you can add a class property, and save id there once agent is created, and then use this property every time you need the id

    0
    Comment actions Permalink
  • Avatar
    akshay thoughtclan

    Hello Evgeny

    Thanks once again. I followed as you suggested. It's working. 

    0
    Comment actions Permalink

Please sign in to leave a comment.