Bounding boxes are not visible/working for custom meta data packets (Re-tag)
AnsweredSince I am not getting any response for my old post, I am tagging a new post.
Please provide some hint to crack this issue. Any comments to solve the issue is appreciable.
-
Official comment
Hi Mohamed,
This post is just to let you know that we did not forget about your problem. Sorry for keeping you waiting, we are on it, hopefully we will come back to you with a portion of new insight on your problem quite soon.
Don't you mind if we continue the discussion in the old thread?
Comment actions -
yeah Sure,
previously I was setting track Id like below,
objectMetadata->setTrackId(m_trackId);
I wasn't aware what to put for setTrackID. So, I used m_trackId. Since it didn't throw any error at both compilation and running time, I thought I am doing right. Finally I figured out m_trackId has same value for all the objects after that I removed this and passed object id where object id is increment value starts from 0 to UUID generator.
i.e.,
int id = context["id"]; // unique value for each object in image
nx::sdk::Uuid uuid(id & 0xff, (id >> 8) & 0xff, (id >> 16) & 0xff, (id >> 24) & 0xff,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0);objectMetadataWork->setTrackId(uuid);
After this modification, I was able to get multiple bouding boxes.
Please sign in to leave a comment.
Comments
5 comments