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

False Positives After 99 Frames #164

Open
eliahaghbin opened this issue Jun 18, 2024 · 3 comments
Open

False Positives After 99 Frames #164

eliahaghbin opened this issue Jun 18, 2024 · 3 comments

Comments

@eliahaghbin
Copy link

I am utilizing your code to segment and track multiple fish in a video. However, I am encountering an issue where the algorithm detects 96 fish instead of the 32 selected after frame 99, including numerous false positives in the background. Could there be any hardcoded parameters causing this error from frame 100 onwards? Additionally, are there any adjustments I can make to reduce these false positives?

@RCLaplace
Copy link

I encountered the same problem

@Yashi-Nan
Copy link

same issue, unexpected objects were segmented

@ebozcal
Copy link

ebozcal commented Sep 16, 2024

The reason for this is that SAM is involving by default after the 99th frame and automatically detects the other objects. To avoid this, you can simply increase the SAM gap which is 100 by default in the web app to a number higher than your current frame numbers.

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

4 participants