I have collection of images in my gallery, Whenever i have taken the image using my mobile camera before saving the image in Gallery, I want to check the image(I want to check the foreground content only, I'M not bothering about the background) has already exist or not in gallery. I search on google a lot, unfortunately I din't get any solution.Can any one help what steps i have to follow to achieve my use-case.