Skip to content

Is there a reason not to reuse stats for multiple detection runs? #308

Answered by Breakthrough
Jinsung-L asked this question in Q&A
Discussion options

You must be logged in to vote

This feature was removed for a variety of reasons. Regarding performance, the benefit isn't as great as it once was now that v0.6 does some things in parallel to use multiple cores. One could also just process the output of a statsfile to see which frames exceed a particular threshold similar to how the detection loop works.

Really though, using the statsfile as a cache was not well thought out. The CSV file format is inefficient for that purpose, and there's a significant number of factors that affect the stats calculations. This includes downscale factor, or even some detector parameters (e.g. for edge detection). Reusing a statsfile when these things change would be incorrect, and lead…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Breakthrough
Comment options

@Jinsung-L
Comment options

@Breakthrough
Comment options

Answer selected by Jinsung-L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants