Blitline allows you to extract barcode information (including QR Codes) from an image. Thi
You can accomplish this be adding:
"check_barcode" : true
To your "save" node, like this:
{
"application_id": "lD0Ca82KhEp-wybe-QjcqQ",
"src": "https://blitdoc.s3.amazonaws.com/jpgs/better-barcodes.jpg",
"src_type" : "smart_image",
"src_data" : { "colorspace" : "srgb"},
"v": "1.22",
"functions": [
{
"name": "no_op",
"params" : {
"width": 400
},
"save": {
"check_barcode" : true,
"image_identifier": "MY_CLIENT_ID",
"extension" : "png"
}
}
]
}
The resulting output returned via postback should have a "barcodes" field, and an array of barcode values prefixed by the barcode type, for example:
{
"original_meta": {
"width": 1600,
"height": 1689
},
"images": [
{
"image_identifier": "MY_CLIENT_ID",
"barcodes": [
"QR-Code:Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua",
"EAN-8:12345670",
"EAN-13:9781234567897",
"EAN-13:9777345678904",
"EAN-13:0123456789012",
"EAN-13:1234567890128",
"I2/5:12345678910118",
"I2/5:12345678901118"
],
"s3_url": "http://blitline.s3.amazonaws.com/2021122018/20/this_file_will_be_autodeleted_in_24hrs_1V7hfssPFszc_dCNj9Ey-bg.png",
"meta": {
"width": 1600,
"height": 1689
}
}
]
}
Currently, Blitline supports the following barcode standards:
- QR-Code
- EAN-13
- I2/5