I have the barcode that I am scanning using this API. I get wrong value most of the time. let say 1 correct value out of 10 tries. I though I might have changed some configurations. Thought to try the sample code but to my amazement , I have noticed to bad behavior there also.

but When I tried scanning it with the scadit , it has 10/10 accuracy.
the image is as below ....
