Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tracking as well as detection to improve speed #56

Open
ah3243 opened this issue Apr 30, 2024 · 0 comments
Open

Add tracking as well as detection to improve speed #56

ah3243 opened this issue Apr 30, 2024 · 0 comments

Comments

@ah3243
Copy link

ah3243 commented Apr 30, 2024

I'm anonymising long interview videos and so the time is limiting.

To improve this could you just use tracking, like is used in other object detection situations where you perform detection periodically and then tracking in the intermediate frames.

This should help in a couple of different ways:

  • it will make it more robust to occlusion where detection might fail
  • it will significantly improve performance, only performing detection every nth frame and tracking between these will really help.
  • it will help quite a bit with the detection jitter for the bounding boxes/blurred areas that it currently has.

Other optimisations
Number of expected faces:
could include a parameter for the number of faces in the image. If you're just expecting 2-3 then as long as the track is good on those then you can have less frequent detection, again speeding up performance.

Minimum face size:
This could help if you're mainly looking for people in the foreground and help reduce false positives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant