magicanded

magicanded / algoimgmark / 0.2.4

algoimgmark - Image Marker

1 Credit Royalty API Calls - 53
algoimgmark draws boxes in given image.
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an Example

Input
Output
{
  "isError": false,
  "errorMessage": "Image marking is completed successfully!",
  "errorCode": "Success",
  "results": {
    "outputFile": "data://.algo/magicanded/algoimgmark/temp/algoimgmark-output6757190291454934947.jpg",
    "outputFileUrl": "https://algorithmia.com/v1/data/.algo%2Fmagicanded%2Falgoimgmark%2Ftemp%2Falgoimgmark-output6757190291454934947.jpg"
  }
}

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

algo auth
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run magicanded/algoimgmark/0.2.4 -d '{
  "image": "data://magicanded/public/algoimgmark-people.jpg",
  "boxes": [
    {
      "left": 117,
      "top": 118,
      "right": 153,
      "bottom": 154,
      "width": 2,
      "color": {
        "red": 255,
        "green": 0,
        "blue": 0
      }
    }
  ]
}' –-timeout 300
  
CLI Docs