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

Optimize mask distance #111

Merged
merged 3 commits into from
Jun 4, 2024
Merged

Optimize mask distance #111

merged 3 commits into from
Jun 4, 2024

Conversation

shankar-vision-eng
Copy link
Collaborator

Added a new mask distance calculation based on contours and polygon

  • Tested on couple of use cases, no memory spikes
  • Compared values to original implementation and the values are very close
  • Attaching pool use case comparison against multiple frames. Left side of diff is original, Right side is new implementation
image

@shankar-vision-eng shankar-vision-eng merged commit c19f145 into main Jun 4, 2024
7 checks passed
@shankar-vision-eng shankar-vision-eng deleted the fix_mask_distance branch June 4, 2024 22:44
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

Successfully merging this pull request may close these issues.

2 participants