Person Tracking AWS Rekognition Video (Flickering Bounding Boxes)

0

Hi everyone, I am working with AWS Rekognition for video analysis of person tracking. I have successfully gathered all the bounding box data as well as the facial landmarks data per frame. So what I have done is grab the frame at a given timestamp and apply the bounding boxes and landmarks to the frame. However, when stitching the video back together I noticed the bounding boxes and facial landmarks flicker between frames. I am pretty sure this is due to the fact that not every frame in the video has data populated for bounding boxes and facial landmarks. Is there any solution to make the bounding boxes and landmarks not flicker when stitching the video back together. Any assistance is greatly appreciated.

Thanks in advance. I have attached a video of the current issues I am encountering for explanation's sake.

Edited by: brussell152 on Nov 13, 2019 10:29 AM

Edited by: brussell152 on Nov 13, 2019 10:39 AM

已提问 4 年前363 查看次数
1 回答
0

Hi,

Yes, detections are generally not output for every frame, so if you are rendering boxes on top of frames, you will need to add some persistence logic. The simplest approach is to render all the boxes for a given output timestamp at once, and leave them drawn until the next timestamp, and then do a full redraw. Another approach is to interpolate (tween) between boxes for upcomming timestamps. You can use the person ID field for this.

The Rekognition video console demonstrates examples of these approaches.

Hope this helps,
Jonathan

AWS
已回答 4 年前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则