Closed Owlwasrowk closed 3 years ago
Thanks for your suggestion. This is a good idea. Could you please send a PR with
detection_box
for fer.classes.Video.analyze()
https://github.com/justinshenk/fer/blob/4ef7087050ddde00cf0fd8024ce08a8279ddd169/src/fer/classes.py#L167-L175if detection_box is not None:
and it crops the image as you did, outputting frame
I'm currently try to analyse Let's Plays videos. It would be very usefull, if i can provide an additional paremter for the Video analysis with something like a detection box to ensure, that i alwalys analyse only the overlay with the streamer face. I see 2 possible workarounds here:
My actual workaround for 2. is the following snippet: