Renaming group of images by its content?

I have a group of pictures and I would like to rename them as their content.

For example:
{A random picture of a man with a dog in a grass field} >>> man_dog_grass_field.jpg

Do you have any hints for something as such?

Thank you,