Javascript-Barcode-Reader icon indicating copy to clipboard operation
Javascript-Barcode-Reader copied to clipboard

failed to extract barcode

Open joseph-animasds opened this issue 4 years ago • 2 comments

Describe the bug This image will not read at all. To Reproduce pass this image into barcode reader Expected behavior a barcode to be logged Screenshots image: K73W8262@1T3HS0E glagsec101 SEC1

Desktop (please complete the following information):

  • Node Or Browser version [e.g. 10] 10.14.1
  • Library version [e.g. 22] 6.2 Additional context Add any other context about the problem here.

My question is. What size image works? what size file? how clear does it need to be? Just want to know more details than which im given which is "failed to extract barcode"

joseph-animasds avatar Feb 26 '20 22:02 joseph-animasds

Expected: "3107cde3-d1ff-0f93-a215-4109753c0c9e"
Received: "3107cde3-d1ff-0f93-a215-?09753c0c9e"

mubaidr avatar Feb 27 '20 12:02 mubaidr

One of the bars in the image has different size than the expected one which causes bar-code reader to fail. 🤦‍♂ Looks like I have to find another way or improve line detection algorithm.

This happens in https://github.com/mubaidr/Javascript-Barcode-Reader/issues/373 too.

mubaidr avatar Feb 28 '20 06:02 mubaidr