This directory contains a minimalistic sample that sends requests to the API4AI General Object Detection API.
The sample is implemented in nodejs
using axios and from-data packages.
This ready-to-use API offers high-accuracy detection of different types of objects framing them with bounding boxes and predicting their class.
NodeJS version 8.3.0
or greater is required to run this script.
Preinstall dependencies before use:
npm i --production
Try sample with default args:
node index.js
Try sample with your local image:
node index.js image.jpg
This demo by default sends requests to free endpoint at demo.api4ai.cloud
.
Demo endpoint is rate limited and should not be used in real projects.
Use RapidAPI marketplace to get the API key. The marketplace offers both free and paid subscriptions.
Contact us in case of any questions or to request a custom pricing plan that better meets your business requirements.
- 📩 Email: hello@api4.ai
- 🔗 Website: http://api4.ai
- 🤖 Telegram demo bot: https://t.me/a4a_obj_det_bot
- 🔵 Our API at RapidAPI marketplace: https://rapidapi.com/api4ai-api4ai-default/api/general-detection/details