# Automatic image cropping in Appwrite with AutoGravity

DevFeed: [Automatic image cropping in Appwrite with AutoGravity](<https://devfeed.tech/articles/automatic-image-cropping-in-appwrite-with-autogravity-16487.md>)

Original publisher: [Read original article](<https://appwrite.io/blog/post/introducing-autogravity>)

Author: Torsten Dittmann

Published: 2026-09-10T00:00:00Z

Content type: article

Language: en

Sources: [Appwrite Blog](<https://devfeed.tech/sources/appwrite-blog.md>)

Topics: [Appwrite](<https://devfeed.tech/topics/appwrite.md>), [Computer vision](<https://devfeed.tech/topics/computer-vision.md>), [Code](<https://devfeed.tech/topics/code.md>), [Go](<https://devfeed.tech/topics/go.md>)

Tags: [announcements](<https://devfeed.tech/tags/announcements.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [go](<https://devfeed.tech/tags/go.md>), [image](<https://devfeed.tech/tags/image.md>), [object-detection](<https://devfeed.tech/tags/object-detection.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [storage](<https://devfeed.tech/tags/storage.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

Appwrite introduces AutoGravity, an open-source Go service that adds automatic image cropping to Appwrite Storage. It uses a model pipeline to identify a focal point and returns normalized coordinates that Appwrite's existing image transformation pipeline uses for cropping. The article explains that transformed images are cached and identifies U²-Net as the main model behind the feature.

## Source excerpt

AutoGravity brings automatic image cropping to Appwrite Storage. Learn how saliency detection and face detection pick the focal point behind gravity=auto.