I have implemented an algorithm described here to highlight the most interesting part of a photo, but it's not very performant, and I'm not sure it does as good a job as some others might. I'd like to try to implement a better one, but I don't actually know enough image processing to get started.
Frankly, I don't even know what questions to ask.
So, what I'm looking for here is a good algorithm that, when provided a jpg image, will find a region of that image that is ... a highlight, if not the highlight, of the image, and ideally did so in a minimum amount of time.
CNN is a powerful algorithm for image processing. These algorithms are currently the best algorithms we have for the automated processing of images. Many companies use these algorithms to do things like identifying the objects in an image. Images contain data of RGB combination.
1. Convolutional Neural Networks (CNNs) CNN's, also known as ConvNets, consist of multiple layers and are mainly used for image processing and object detection.
Most Popular Object Detection Algorithms. Popular algorithms used to perform object detection include convolutional neural networks (R-CNN, Region-Based Convolutional Neural Networks), Fast R-CNN, and YOLO (You Only Look Once). The R-CNN's are in the R-CNN family, while YOLO is part of the single-shot detector family.
Often this is referred to as salient region detection. There are many ways to do so, as saliency is somewhat objective and mostly depends on the application. By googling you should be able to find many methods. If you give a sample image maybe someone here can provide a more detailed advice. Hope that helps.
Color can often be a good hint for detecting salient parts. The other commonly used approach is to rely on image gradients. These are perhaps the two most generic methods.
You could also have a look at content aware cropping, or seam carving, for those algorithms do the inverse. They try to discard irrelevant or redundant visual content.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With