Detect objects in images using uploaded files
Detect people with masks in images and videos
Identify inappropriate images in your uploads
Analyze images to identify tags and ratings
Detect objects in an uploaded image
Analyze files to detect NSFW content
Cinephile
Identify and segment objects in images using text
Classify images into NSFW categories
🚀 ML Playground Dashboard An interactive Gradio app with mu
Human Gender Age Detector
Find images using natural language queries
Detect AI-generated images by analyzing texture contrast
Transformers.js is a JavaScript library designed to detect harmful or offensive content in images. It leverages advanced AI models to analyze image files and identify objectionable content, making it a powerful tool for content moderation and object detection tasks.
• Image File Support: Processes uploaded image files for content analysis.
• Multiple Model Support: Utilizes state-of-the-art AI models for accurate detection.
• Harmful Content Detection: Identifies offensive or inappropriate content within images.
• Asynchronous Processing: enables non-blocking image analysis.
• Browser Compatibility: Works seamlessly with modern web browsers.
• Easy Integration: Simple API for developers to implement in web applications.
npm install transformers.js
const Transformers = require('transformers.js');
const detector = new Transformers.Detector('harmful-content-detection');
detector.detect(imageFile)
.then(result => {
// Handle detection results
})
.catch(error => {
// Handle errors
});
1. What types of images does Transformers.js support?
Transformers.js supports JPEG, PNG, and BMP image formats.
2. Is Transformers.js suitable for large-scale applications?
Yes, Transformers.js is optimized for asynchronous processing and can handle large-scale applications efficiently.
3. Can I customize the detection models?
Yes, you can use custom models or switch between predefined models like 'harmful-content-detection' or 'object-detection' based on your needs.