← 返回资源分享
Cropper: Vision-Language Model for Image Cropping through In-Context Learning
论文
论文
发布时间2024-08-14
发表arXiv:2408.07790
作者:Irfan Essa,Ming-Hsuan Yang,Yinxiao Li,Feng Yang,Junjie Ke,Sangpil Kim,Seung Hyun Lee,Junfeng He,Steven Hickson,Katie Datsenko
详细介绍
The goal of image cropping is to identify visually appealing crops within an image. Conventional methods rely on specialized architectures trained on specific datasets, which struggle to be adapted to new requirements. Recent breakthroughs in large vision-language models (VLMs) have enabled visual in-context learning without explicit training. However, effective strategies for vision downstream tasks with VLMs remain largely unclear and underexplored. In this paper, we propose an effective approach to leverage VLMs for better image cropping. First, we propose an efficient prompt retrieval mechanism for image cropping to automate the selection of in-context examples. Second, we introduce an iterative refinement strategy to iteratively enhance the predicted crops. The proposed framework, named Cropper, is applicable to a wide range of cropping tasks, including free-form cropping, subject-aware cropping, and aspect ratio-aware cropping. Extensive experiments and a user study demonstrate that Cropper significantly outperforms state-of-the-art methods across several benchmarks.
