Upload an image to find and label objects
Overlay an image or video with a watermark
Add a watermark to images and detect watermarks
Generate a modified image with a new background
ImageStyle transfer app merging two images creatively.
Upload an image to find and label objects within it
Generate images with custom backgrounds by uploading or providing a URL
Flexible Photo Recrafting While Preserving Your Identity
Add invisible watermarks to images
Add invisible watermarks to images
Upload an image to detect objects
Generate an image based on template and user input
Apply visual effects to images
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.