Home


Smart Tagging


Cost: $0.01 / job


Imagga will take your image, analyze the contents and identify content and generated proposed "Tags". It works like magic! We're not sure what kind of voodoo Imagga is performing, but it's impressive beyond words. We took some random internet samples and ran them through their tagging algorithm and this is what we got:


 

Are you kidding me?!


"imagga_tags" : {
    "confidence": 49.20%,
    "tag": "missile"
}
{
    "confidence": 47.63%,
    "tag": "weapon"
},
{
    "confidence": 39.96%,
    "tag": "rocket"
}
"imagga_tags" :   {
    "confidence": 18.32%,
    "tag": "kite"
},
{
    "confidence": 14.66%,
    "tag": "hawk"
},
{
    "confidence": 14.20%,
    "tag": "bird"
}
"imagga_tags" : {
    "confidence": 100%,
    "tag": "car"
},
{
    "confidence": 57.9%,
    "tag": "motor vehicle"
},
{
    "confidence": 41.3%,
    "tag": "beach wagon"
}

"imagga_tags" : {
    "confidence": 100%,
    "tag": "ride"
},
{
    "confidence": 100%,
    "tag": "mechanical"
},
{
    "confidence": 100%,
    "tag": "carousel"
}
"imagga_tags" : {
    "confidence": 65.80%,
    "tag": "swimsuit"
},
{
    "confidence": 48.75%,
    "tag": "beach"
},
{
    "confidence": 45.49%,
    "tag": "swimming trunks"
}
"imagga_tags" : {
    "confidence": 58.12%,
    "tag": "tower"
},
{
    "confidence": 57.75%,
    "tag": "beacon"
},
{
    "confidence": 52.28%,
    "tag": "structure"
}

Try it yourself!


This is the kind of stuff that would make Turing proud!

How do I use it?


To your basic job JSON, add:

"imagga_tags" : true

This will cause Blitline to run the Imagga smart tag generator on your original image, and return the results in the postback JSON.

The results returned by Blitline will now have an "imagga_tags" (Array) contained within the "original_meta".

Example


Submit JSON like this:
{
    "application_id": "YOUR_APP_ID",
    "src": "http://lorempixel.com/640/480/",
    "imagga_tags": true,
    "functions": [
        {
            "name": "resize_to_fit",
            "params": {
                "width": 500
            },
            "save": {
                "image_identifier": "RANDOM IMAGE GENERATOR, with Imagga Smart Tags"
            }
        }
    ]
}
The resulting Postback JSON will look something like this:
{
    "original_meta": {
        "imagga_tags": [
            {
                "confidence": 98.41150321642955,
                "tag": "city"
            },
            {
                "confidence": 36.62877471265811,
                "tag": "urban"
            },
            {
                "confidence": 35.67183408453486,
                "tag": "architecture"
            }
        ],
        "width": 640,
        "height": 480
    },
    "images": [
        {
            "image_identifier": "RANDOM IMAGE GENERATOR, with Imagga Smart Tags",
            "s3_url": "http://s3.amazonaws.com/blitline/2014081321/20/906il-303agnJ8IW-5S5_Tg.jpg",
            "meta": {
                "width": 500,
                "height": 375
            }
        }
    ],
    "job_id": "6A3GAVFbO3B6TpXuUnCKJNA"
}