PHP code example of livijn / laravel-object-detection
1. Go to this page and download the library: Download livijn/laravel-object-detection library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
livijn / laravel-object-detection example snippets
LaravelObjectDetection::getObjectsFromImageUrl('https://some-url.com/some-image.jpg');
// Returns an ImageObject
// [{"class":"dog","score":0.973773181438446,"boundingBox":[239.84360694885254,75.59387746453285,505.188524723053,590.4131692349911]}]