Python How to scan misshaped barcodes

To enable scanning misshaped & deformed barcodes via our Segment Decoding algorithm, which is not enabled by default you'd need to add this code into your configuration setup

Python
enableMisshaped1D = BarkoderSDK.constants["EnableMisshaped1D"]["Enable"];
BarkoderSDK.setEnableMisshaped1D(enableMisshaped1D);

#misshaped scanning is for 1D barcodes: turn on the 1D types you read (none are on by default)
BarkoderSDK.setBarcodeTypeEnabled(BarkoderSDK.constants["Decoders"]["Ean13"], True);