Patent attributes
Methods, systems, and non-transitory computer readable storage media are disclosed for generating focused preview images that include the subjects of interest of digital images. For example, in one or more embodiments, the disclosed system utilizes a machine-learning model to generate a saliency map for a digital image to indicate one or more salient objects portrayed within the digital image. Additionally, in one or more embodiments, the system identifies a focus region based on focus information captured by a camera device at the time of capturing the digital image. Furthermore, the system can then utilize the saliency map and the focus region to generate a focused preview image. For instance, in one or more embodiments, the system crops the digital image based on an overlapping portion of the saliency map and the focus region to generate a focused preview image.