Page 1 of 1

ADR document recognition

Posted: Mon Jan 25, 2010 1:57 pm
by eagleman
Question:

I scan an image and add this image to an empty template.
Then when I scan the same image and use the function: ADRGetCloserTemplateForGdPictureImage
for recognition, I would expect at least a 98% Confidence level.

However, ADRGetLastConfidence returns only 42%. WHY?

Please advise.

Eagleman

Re: ADR document recognition

Posted: Mon Jan 25, 2010 2:30 pm
by Loïc
Hi,

Could you give the code you are using ?

Are you using the latest GdPciture.NET edition ? We fixed a bug recently in ADR matching.

Kind regards,

Loïc

Re: ADR document recognition

Posted: Mon Jan 25, 2010 10:36 pm
by eagleman
Loïc wrote: Could you give the code you are using ?
iTemplateID = oImaging.ADRCreateTemplateEmpty();

oImaging.ADRAddGdPictureImageToTemplate(iTemplateID, imageId);
oImaging.ADRSetTemplateTag(TemplateID, "Test");

Loïc wrote: Are you using the latest GdPciture.NET edition ? We fixed a bug recently in ADR matching.
oImaging.GetVersion() returns 6.5

foundrec = oImaging.ADRGetCloserTemplateForGdPictureImage(imageId);
oImaging.ADRGetTemplateTag(foundrec); ( returns "Test" )
oImaging.ADRGetLastConfidence(); ( returns 42.3 )


eagleman.

Re: ADR document recognition

Posted: Tue Jan 26, 2010 9:00 am
by Loïc
Hi,

I was more waiting for the code used to acquire the 2 images.

Could you attach here or send us by email to esupport (at) gdpicture (dot) com the 2 images (the template and the other test image).

Kind regards,

Loïc

Re: ADR document recognition

Posted: Tue Jan 26, 2010 1:42 pm
by eagleman
Loïc,

I have sent you an email with only 1 bmp file. With this file I create a template
and with the same file I ask ADR for recognition.

Only 44 is returned. I would have expected at least 99!

Please advise.

Regards,

eagleman

Re: ADR document recognition

Posted: Tue Jan 26, 2010 1:52 pm
by Loïc
Hi,

I think you are not using the latest edition available. I got 100% confidence:

Code: Select all

  Dim ImageID As Integer = Imaging1.CreateGdPictureImageFromFile("")
  Dim TemplateID As Integer = Imaging1.ADRCreateTemplateEmpty()
  Imaging1.ADRAddGdPictureImageToTemplate(TemplateID, ImageID)
  Imaging1.ADRGetCloserTemplateForGdPictureImage(TemplateID)
  MsgBox(Imaging1.ADRGetLastConfidence())

Please, check you are using at least GdPicture.NET 6.5.3

Let me know if the problem persists.

With best regards,

Loïc

Re: ADR document recognition

Posted: Tue Jan 26, 2010 5:03 pm
by eagleman
Hi,

Thanks for your comments. I have downloaded 6.5.3 and it WORKS correctly now.

Thanks again.

Eagleman

Re: ADR document recognition

Posted: Tue Jan 26, 2010 5:14 pm
by Loïc
Perfect !

Thank you for the feedback.

Kind regards,

Loïc