Reconized Image from videos and number of images

Hi Expertise
Can anyone help me to solve this issue. i.e, there will be a video or number of images in the a folder, and robot need to check the images and video that if any of the images are found using social media or with some matching conditions set, move that particular image to another folder and for video take screenshot at that particular time and move that screenshot to another folder.

Is it possible to do it?