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

Log recognition time duration and warn if it is abnormal #87

Open
denis-stepanov opened this issue May 22, 2024 · 0 comments
Open

Log recognition time duration and warn if it is abnormal #87

denis-stepanov opened this issue May 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@denis-stepanov
Copy link
Owner

denis-stepanov commented May 22, 2024

Currently we have -l debug producing something like this:

2024-05-23 00:22:59,659 Thread-1 DEBUG: Recognition start=00:22:53,936, end=00:22:59,659, match FR_TF1SERIESFILMS_220824_EVENING1_3, 0% confidence

The "end" time is hard to interpret (one has to subtract); it would be better to print duration (= end - start) instead.

Also, AdVent engine assumes that recognition runs for no longer than i + REC_DEADBAND time, where i is recognition interval parameter and REC_DEADBAND is a hardcoded constant (before issue #24 is resolved). So it would be good to report if de-facto recognition duration exceeds forecast by a good margin (say, by more than 0.5 s), as it could affect AdVent efficiency.

@denis-stepanov denis-stepanov added the enhancement New feature or request label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant