Is there a special name for the algorithm that is looking for the main part in the photo

It is necessary to automatically sprinkle the image correctly.

Where can I read about these algorithms? Or maybe there is already a ready-made algorithm written on Go?

    3 answers 3

    Found on Go here such algorithm https://github.com/muesli/smartcrop

    Also there is a link to this algorithm in Javascript.

      Perhaps this is called "smart crop".

      • At least, this is how these algorithms are called in libraries for Python. - iliaznk
      • by the way google smart crop but didn’t google anything on the topic - Pavel

      Saliency, like, is called. For Go, unfortunately, I will not tell you, but in C ++ / OpenCV 3-beta such a thing is present.