OpenCV take snapshot when face recognation

welcome.

why do you say “screenshots” and “snapshots”? those words don’t make sense in this context.

your code is from a tutorial or other source. which source is it?

how is this post related to the other one?