Hi at all,
I am developing a software for acquire image from a TWAIN compatible scanner.
I have succesfully detected barcodes in my images.
In addition to barodes I need to recognize MICR code from acquired image.
I have tried with extended image info without success....
Is it possible detect MICR code from TWAIN scanner using Vistasoft SDK ?
I think a chance for address the issue should be:
1. set CAP_MICRENABLED custom capability to true (my scanner suports MICR code recognition).
2. recognize the MICR code from extended image info properties.
Do you think it should be the correct way to address the problem?
Enable MICR functionality, i.e. set value of the CAP_MICRENABLED capability to True.
Acquire image
Retrieve extended image information.
You can see how to retrieve extended image information in the "Programming - How to's - How to get extended information about acquired image?" topic in the documentation: https://www.vintasoft.com/docs/vstwain-dotnet/
I am able to set MICR capability (CAP_MICRENABLED) and to retrieve extended image info (ExtendedImageInfoId.MagData)).
When I try to read the string value of MICR, the returned value (contained in ExtendedImageInfo.StringItems[0]) seems to be a non-ASCII encoding and i can't able to read the correct value.
When i print the string value i get a very strage value (with many dirty characters).
Furthermore I have the same behavior when I try to recognize the barcode detected value.
How can i decode the rigth value of extended image info (the value contained in ExtendedImageInfo.StringItems[0]))?