Repurposing existing deep networks for caption and aesthetic-guided image cropping
Nora Horanyi,Kedi Xia,Kwang Moo Yi,Abhishake Kumar Bojja,Aleš Leonardis,Hyung Jin Chang
DOI: https://doi.org/10.1016/j.patcog.2021.108485
IF: 8
2022-06-01
Pattern Recognition
Abstract:We propose a novel optimization framework that crops a given image based on user description and aesthetics. Unlike existing image cropping methods, where one typically trains a deep network to regress to crop parameters or cropping actions, we propose to directly optimize for the cropping parameters by repurposing pre-trained networks on image captioning and aesthetic tasks, without any fine-tuning, thereby avoiding training a separate network. Specifically, we search for the best crop parameters that minimize a combined loss of the initial objectives of these networks. To make the optimization stable, we propose three strategies: (i) multi-scale bilinear sampling, (ii) annealing the scale of the crop region, therefore effectively reducing the parameter space, (iii) aggregation of multiple optimization results. Through various quantitative and qualitative evaluations, we show that our framework can produce crops that are well-aligned to intended user descriptions and aesthetically pleasing.
computer science, artificial intelligence,engineering, electrical & electronic