Find and label objects in your image
Upload an image to detect objects
Flexible Photo Recrafting While Preserving Your Identity
Change image background using prompts
Upload an image to find and label objects within it
Add a watermark to your image
ImageStyle transfer app merging two images creatively.
Inpainting images
Create and customize images with specific options
Kolors Character to keep character developed with Flux
text at the background of image
Upload an image to detect objects
Generate a kawaii logo with your photo and name
Transformers.js is a JavaScript library designed to find and label objects in your image. It leverages the power of modern machine learning models to enable object detection and annotation within web applications. The library provides an easy-to-use interface for developers to integrate state-of-the-art transformer-based models into their projects.
• Object Detection: Identify and label objects within images.
• Transformer-based Models: Utilizes advanced transformer architectures for accurate detection.
• Browser Compatibility: Works seamlessly across modern web browsers.
• Node.js Integration: Can be used in both client-side and server-side environments.
• Real-time Processing: Supports real-time object detection for dynamic applications.
• Customizable: Allows developers to fine-tune models and adjust detection parameters.
npm install transformers.js
const { TransformerDetector } = require('transformers.js');
const detector = new TransformerDetector('object-detection-model');
await detector.loadModel();
const result = await detector.detect(imageElement);
What models does Transformers.js support?
Transformers.js supports a variety of pre-trained transformer-based models for object detection, including popular architectures like DETR and YOLO.
Can I use Transformers.js in a Node.js environment?
Yes, Transformers.js is compatible with both browser and Node.js environments, making it versatile for different use cases.
How accurate is the object detection?
The accuracy depends on the model used. Transformers.js leverages state-of-the-art models, ensuring high accuracy for most object detection tasks.