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 ?
Thanks in advance for help.
MICR Code recognition
Moderator: Alex
-
- Posts: 3
- Joined: Sat Jun 30, 2012 7:14 pm
Re: MICR Code recognition
Hi,
I need another suggestion about my problem.
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?
thanks in advance.
I need another suggestion about my problem.
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?
thanks in advance.
Re: MICR Code recognition
Hello,
Yes, you are right. You need:
http://www.vintasoft.com/docs/vstwain-dotnet/
Best regards, Alexander
Yes, you are right. You need:
- Enable MICR functionality, i.e. set value of the CAP_MICRENABLED capability to True.
- Acquire image
- Retrieve extended image information.
http://www.vintasoft.com/docs/vstwain-dotnet/
Best regards, Alexander
-
- Posts: 3
- Joined: Sat Jun 30, 2012 7:14 pm
Re: MICR Code recognition
Hi Alex,
thanks for your answer.
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]))?
Thanks in advance
thanks for your answer.
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]))?
Thanks in advance
Re: MICR Code recognition
Hello,
Today we have released version 8.2.1.1 of VintaSoftTwain.NET SDK which have fix for a bug in parser of extended image info.
Also in this version:
Let me know if you will have any questions or problems.
Best regards, Alexander
Today we have released version 8.2.1.1 of VintaSoftTwain.NET SDK which have fix for a bug in parser of extended image info.
Also in this version:
- We optimized and changed the ExtendedImageInfo class, please see updated example how to extract information about barcodes in the documentation.
- New demo - TwainExtendedImageInfoDemo, demonstrates how to get an extended image info about acquired image.
Let me know if you will have any questions or problems.
Best regards, Alexander