Program to crop images

I want to create an ai program that automatically crops images based on data I can train the ai and how I can edit the image using ai is this possible with JavaScript?

Hey! You absolutely can. For some inspiration, check Smartcrop.js.
It implements an algorithm to find good crops for images. It can be used in the browser, in node or via a CLI.

1 Like