Upload image to detect objects
Find objects in images using text descriptions
Find license plates in images
Detect objects in images and videos
Detect objects in random images
Analyze images to count and classify mosquito species
Count objects in an image by drawing a region of interest
Upload images to detect objects
Detect objects in anime images
Detect objects in images and videos
Detect objects in uploaded images
Identify objects in real-time video feed
Welcome to my portfolio
Vanilla Js Object Detector is a lightweight JavaScript library designed for object detection in web applications. It allows developers to easily integrate object detection capabilities into their projects using the power of TensorFlow.js and the Coco-SSD model. The library is built with vanilla JavaScript, making it dependency-free and easy to use in any web environment.
• Dependency-Free: Built with pure JavaScript, no external libraries required. • Real-Time Detection: Detect objects in images or video streams instantly. • Multiple Object Support: Identify and classify multiple objects within a single image. • User-Friendly API: Simple and intuitive interface for integration. • Cross-Browser Compatibility: Works seamlessly across modern browsers. • Customizable: Easily tweak detection settings to suit your needs.
npm install vanilla-js-object-detector.<script src="node_modules/vanilla-js-object-detector/dist/vanilla-js-object-detector.js"></script>
const detector = new ObjectDetector();
detector.loadModel().then(() => {
console.log('Model loaded');
});
const img = document.getElementById('image');
detector.detect(img).then(results => {
console.log(' Detected objects:', results);
});
What browsers are supported?
Vanilla Js Object Detector is designed to work with modern browsers, including Chrome, Firefox, Safari, and Edge.
Can I customize the detection model?
Yes, the library allows you to tweak settings such as confidence thresholds and model paths to suit your specific requirements.
How do I improve detection accuracy?
Ensure high-quality input images and consider fine-tuning the model or adjusting the confidence threshold for better results.