create Barcode Document Parser
abstract fun createBarcodeDocumentParser(acceptedFormats: List<BarcodeDocumentFormat> = BarcodeDocumentFormats.all): Result<BarcodeDocumentParser>
Provides BarcodeDocumentParser.
Return
a Result.Success containing a new instance of BarcodeDocumentParser or a Result.*Error if something went wrong.