Identify objects in your images
Remove objects from images using a mask
Find objects in photos
Clothes remover
Simply mark over the areas you want to erase
Detect objects in photos
Remove clothes from images easily
Remove clothing from images
Detect objects in images to help with cleanup
Remove background from images quickly
Remove objects from images by pointing and clicking
Remove objects from photos using AI
Transformers.js is a powerful JavaScript library designed to remove objects from photos and identify objects within images. It leverages advanced AI technology to seamlessly edit and enhance your visual content by eliminating unwanted elements or highlighting specific objects.
import Transformers from 'transformers.js';
const transformer = new Transformers();
identifyObjects()
method to detect objects in an image.const objects = await transformer.identifyObjects('path/to/image.jpg');
removeObjects()
method to eliminate identified objects from the image.const editedImage = await transformer.removeObjects('path/to/image.jpg', [1, 2]);
What is the maximum size of images I can process with Transformers.js?
Transformers.js can handle images of various sizes, but performance may vary depending on your hardware and browser capabilities. For best results, use images under 10MB.
Can I customize the object detection model?
Yes, you can customize the object detection model by training your own dataset or using pre-trained models. This allows you to tailor the library to your specific needs.
Which frameworks are supported by Transformers.js?
Transformers.js is designed to work with popular JavaScript frameworks such as React, Vue.js, and Angular. It can also be used with vanilla JavaScript projects.