Hi,
Here is my issue. Background first:
- We generate docs via aspose words.
- Then convert via aspose pdf.
- Then cycle through the pdf pages collection and
- Generate a different bar code per page
- Convert it to an image
- And insert it onto each page via the example in this demo.
- (The demo has some errors, so the image needs to be flipped a bit).
Everything in 1-7 words great. However, if we try to recognize the bar code on the generated pdf from above, we get funny results. But here’s the weird part. If we scan that same document, and then recognize it, we get correct results. BTW, we are using a DataMatrix, as well. We are open to other “square” code types, if necessary.
Specifically:
- The attached funny.pdf should product a recognized value of “Jimmy Test 1”, but instead, produces: “29957444 i41am4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000”
- The attached correct.pdf works properly, returning “Jimmy Test 1”
Crazy, huh?
Here is the recognition code example that we are using. So, any ideas how to protect against incorrect results with number 1 above?
Thanks,
Jim