finding photos with threshold