Skip to content

Latest commit

 

History

History

curl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

API4AI general objects detection sample

This directory contains a minimalistic sample that sends requests to the API4AI General Object Detection API. The sample is implemented in PHP using cURL extension.

Overview

This ready-to-use API offers high-accuracy detection of different types of objects framing them with bounding boxes and predicting their class.

Getting started

PHP version 7.x or greater and php-curl extension is required to run this script.

Try sample with default args:

php index.php

Try sample with your local image:

php index.php image.jpg

About API keys

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.

Links