开发者

Problems with c# zxing port

first excuse me for the bad english, then i wanna ask you a piece of advice to solve this problem. I'm trying to use zxing C# port.

I tried then to parse this image:

bar code http://img168.imageshack.us/img168/2633/0003gby.jpg

at zxing.org which recognized it.

开发者_Python百科The little program I wrote, instead produced a ReaderException.

Any ideas, or anybody who wrote a piece of code which does the job?


I realize this is a bit old, but I've just tried using ZXing's C# port for the first time, and I've found that I have to use the TRY_HARDER DecodeHintType to get the barcode to read.

In the code, it looks like it's expecting the image provided to be a region around the barcode itself, so it starts looking in the middle. Setting the TRY_HARDER flag makes it search the entire page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜