Upload an image to find and label objects
Add your photo to a cool frame
Create and customize images for printing
Upload an image to identify objects
Create and customize images with specific options
This space is used to cartoonize the input image.
Upload an image for object detection
Select coordinates on an image based on instructions
Upload an image to detect objects
Generate a kawaii logo with your photo and name
Upload an image to detect objects
Add invisible watermarks to images
Create and edit images using prompts and references
Transformers.js is a JavaScript library designed to upload an image, detect and label objects, and place a logo on an image. It leverages machine learning models to identify objects within images and enables users to overlay logos or other elements seamlessly.
Example:
// Upload image and detect objects
const image = await Transformers.uploadImage('path/to/image.jpg');
const detectedObjects = await Transformers.detectObjects(image);
// Place logo on the image
const logo = await Transformers.addLogo(detectedObjects[0].position, 'logo.png');
// Save the processed image
Transformers.downloadImage(logo, 'result.jpg');
What image formats are supported?
Transformers.js supports JPEG, PNG, WEBP, and other standard formats.
Can I customize the logo placement?
Yes, you can adjust logo size, position, and opacity based on your requirements.
Is Transformers.js compatible with all browsers?
Transformers.js is optimized for modern browsers and may not work on older versions.