ADR document recognition

Discussions about machine vision support in GdPicture.
Post Reply
eagleman
Posts: 27
Joined: Mon Jan 25, 2010 1:48 pm

ADR document recognition

Post by eagleman » Mon Jan 25, 2010 1:57 pm

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

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ADR document recognition

Post by Loïc » Mon Jan 25, 2010 2:30 pm

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

eagleman
Posts: 27
Joined: Mon Jan 25, 2010 1:48 pm

Re: ADR document recognition

Post by eagleman » Mon Jan 25, 2010 10:36 pm

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.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ADR document recognition

Post by Loïc » Tue Jan 26, 2010 9:00 am

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

eagleman
Posts: 27
Joined: Mon Jan 25, 2010 1:48 pm

Re: ADR document recognition

Post by eagleman » Tue Jan 26, 2010 1:42 pm

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

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ADR document recognition

Post by Loïc » Tue Jan 26, 2010 1:52 pm

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

eagleman
Posts: 27
Joined: Mon Jan 25, 2010 1:48 pm

Re: ADR document recognition

Post by eagleman » Tue Jan 26, 2010 5:03 pm

Hi,

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

Thanks again.

Eagleman

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ADR document recognition

Post by Loïc » Tue Jan 26, 2010 5:14 pm

Perfect !

Thank you for the feedback.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest