Promena Transformer - barcode detector
metadata
This repository contains common metadata for barcode detector
transformers. It's built on classes from promena-transformer
so you don't need additional dependencies in case of serialization.
Metadata has the following elements (BarcodeDetectorMetadataConstants
contains the list of the constants):
barcode
,List<Metadata>
, mandatorytext
,String
, mandatory - the decoded textformat
,String
, optional - the name of the formatpage
,Int
, optional - the index of the page (indexed from 1)contourVerticesOnPage
,List<Metadata>
, optionalx
,Int
, mandatory - the x position in pixels on the pagey
,Int
, mandatory - the y position in pixels on the page
If you want to manipulate metadata, you can use:
BarcodeDetectorMetadataBuilder
- builds metadata from scratchBarcodeDetectorMetadataGetter
- wraps metadata to simplify get elements