Skip to content

Commit 2ece5bc

Browse files
committed
Adding responsible AI to face cropping
1 parent b158bd2 commit 2ece5bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/content/partials/images/gravity.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ You must subtract the height of the image before you calculate the focal point.
2020

2121
- `face`\
2222
Automatically sets the focal point based on detected faces in an image. This can be combined with the `zoom` parameter to specify how closely the image should be cropped towards the faces.
23+
2324
The new focal point is determined by a minimum bounding box that surrounds all detected faces. If no faces are found, then the focal point will fall back to the center of the image.
2425

26+
This feature uses an open-source model called RetinaFace through WorkersAI. Our model pipeline is limited only to facial detection, or identifying the pixels that represent a human face. We do not suppoert facial identification or recognition. Read more about Cloudflare's [approach to responsible AI](https://www.cloudflare.com/trust-hub/responsible-ai/).
27+
2528
<Tabs>
2629
<TabItem label="URL format">
2730
```js

0 commit comments

Comments
 (0)