Rotate before taking Barcode Photo.
Photo needs to be in LANDSCAPE mode.