Can the reference image for the find activity be taken from the screen when the process is running?

Hi,
I have an image on the screen. I have a set of images in a folder in my system. I need to check if the image in the screen (which may be different each time) matches any one of the image from the local folder.
How can this be done?
Can the reference image be taken from the screen when the process is running?
Thanks!