Skip to main content

Example: Bardcodes

Any image/photo entering the Free Form language computational container is immediately processed for:

  • Any faces? if yes, highlight and cutout the facial regions and compute them (their properties).
  • Any barcodes or qr-codes? if yes, highlight the barcode regions and read them.
  • Any texts? if yes, OCR the image.
  • Add the necessary post-processing e.g. image annotations
  • Finally collect at the resulting metadata tags π–€˜ and contents ⚲ (to be hashed) and URL export as String

Case 1: Barcodes only

AdobeStock_738912-1536x1024-2985424236.jpg

//symbol to process barcodes and qrcodes;
𝄃𝄂𝄀𝄁𝄃𝄂;

πŸ”;

//add name and other information;
⛓️ ( 
π–€˜ "type"->"image segmentation"
π–€˜ "info"->"qr code detection in photo"
π–€˜ "publisher"->"CDN: compdatanotes.com" 
π–€˜ "Β©"->"CC-BY-NC-ND 4.0"
);

show "𝄃𝄂𝄀𝄁𝄃𝄂/index";

show "𝄃𝄂𝄀𝄁𝄃𝄂/bartexts";

save as qr1;

Output

"𝄃𝄂𝄀𝄁𝄃𝄂/index"

blox_qr.png

"𝄃𝄂𝄀𝄁𝄃𝄂/bartexts"

{"065656915641", "065515000037", "9771468413022", "037000377085", "8435039118747"}

Blockchain Certificate

"⛓️/certificate" (trimmed text)

https://www.wolframcloud.com/obj/ccn2/freeform/ff/blockchain/bloxberg2/cert_json/ff_free_blox_qr.json

There are currently 4 default mandatory items inside the hash list or the CRID and you can obtain the barcode related ones

Scanned bars as above

https://www.wolframcloud.com/obj/ccn2/freeform/ff/images/ff_free_blox_qr_bars.png

JSON containing if any other OCR texts computed from the image

https://www.wolframcloud.com/obj/ccn2/freeform/ff/images/ff_free_blox_qr_imagetext.json

See the bounding box JSON below addresses as "_boxes"

https://www.wolframcloud.com/obj/ccn2/freeform/ff/images/ff_free_blox_qr_boxes.json

The String values for the barcodes and the qr codes

https://www.wolframcloud.com/obj/ccn2/freeform/ff/images/ff_free_blox_qr_barcodebox.json

"𝄃𝄂𝄀𝄁𝄃𝄂/⚲"

⚲"https://www.wolframcloud.com/obj/ccn2/freeform/ff/images/certs_free_qr1_bars.png⨁https://www.wolframcloud.com/obj/ccn2/freeform/ff/images/certs_free_qr1_imagetext.json⨁https://www.wolframcloud.com/obj/ccn2/freeform/ff/images/certs_free_qr1_boxes.json⨁https://www.wolframcloud.com/obj/ccn2/freeform/ff/images/certs_free_qr1_barcodebox.json⨁https://www.wolframcloud.com/obj/ccn2/freeform/ff/images/certs_free_qr1_linehighlights.png⨁https://www.wolframcloud.com/obj/ccn2/freeform/ff/images/certs_free_qr1_lineboxes.json"

qr-codes or bar-codes bounding box scanning area

Any geometrical information pertinent to full understanding and computational access for a region of an image or a recognized object is computed and place in appropriate JSON structures.

Cloud Object Browser
PDF Certificate