script to prune faces mistakenly generated despite -een arg

Extracting faces for training and converting
Forum rules
Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.
Post Reply
User avatar
korrupt78
Posts: 49
Joined: Wed Jan 29, 2020 1:34 am
Has thanked: 2 times
Been thanked: 1 time

script to prune faces mistakenly generated despite -een arg

Post by korrupt78 »

For some reason, the extract command regularly disobeys the -een 6 arg that I pass it on the command line at a random point in the extraction process. It starts off good, and then at some point (usually 100-200 frames into a video) will switch to generating every frame instead of every 6th frame, creating lots of cleanup work for me.

So I wrote this little script to help automate that process. Posting here in case it helps others with similar needs.


Post Reply