Created
December 3, 2020 12:51
-
-
Save jefBinomed/f734c90368ea499a0003dbef129d2d6b to your computer and use it in GitHub Desktop.
2020-fugu-barcode-detection-content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
boudingBox: // DOMRectReadOnly / The position and size of the face | |
{ | |
bottom: xxx.xxx // absolute bottom position in the image | |
height: xxx.xxx // absolute height in the image | |
left: xxx.xxx // absolute left position in the image | |
right: xxx.xxx // absolute right position in the image | |
top: xxx.xxx // absolute top position in the image | |
width: xxx.xxx // absolute width in the image | |
x: xxx.xxx // absolute left position in the image | |
y: xxx.xxx // absolute top position in the image | |
}, | |
format: 'qr_code', // Could be 'aztec', 'code_128', 'code_39', 'code_93', 'codabar', | |
// 'data_matrix', 'ean_13', 'ean_8', 'itf', 'pdf417', 'qr_code', 'upc_a', 'upc_e' | |
rawValue: 'text in the code', // the value of the barcode | |
cornerPoints: // Position of corner points of barcode | |
[ | |
{ | |
x: xxx.xxx // left position of element in the image | |
y: xxx.xxx // right position of element in the image | |
} | |
, ... | |
] | |
} | |
,... | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment