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

Enhance Error Handling for Missing Frames #18

Open
anushka226 opened this issue Jan 29, 2025 · 0 comments
Open

Enhance Error Handling for Missing Frames #18

anushka226 opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers IWOC2025 Medium

Comments

@anushka226
Copy link
Member

In the main_inference.py script, there is no error handling for cases where frames might be missing in the video directory. This can lead to the script crashing if a frame is missing, which is not ideal for robustness.

The script prints a warning and skips the missing frame, but it does not handle the case where multiple frames might be missing consecutively, which could lead to unexpected behavior.

Add a more robust error handling mechanism to handle missing frames gracefully. Specifically, we can introduce a counter to track consecutive missing frames and stop processing if a certain threshold is exceeded.

@Durgesh4993 Durgesh4993 added enhancement New feature or request good first issue Good for newcomers Medium labels Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers IWOC2025 Medium
Projects
None yet
Development

No branches or pull requests

2 participants