Memory Access Error in OMRDetectMarks

Discussions about forms processing support.
Post Reply
ghowe
Posts: 2
Joined: Wed Mar 16, 2011 3:01 pm

Memory Access Error in OMRDetectMarks

Post by ghowe » Thu Mar 17, 2011 8:39 pm

I was running OMRDetectMarks just fine against jpg files, but when I run it against the same document scanned in as a TIFF, it gives me the following message:

"A first chance exception of type 'System.AccessViolationException' occurred in GdPicture.NET.dll"

It is an unhandled AccessViolationException. Help?

ghowe
Posts: 2
Joined: Wed Mar 16, 2011 3:01 pm

Re: Memory Access Error in OMRDetectMarks

Post by ghowe » Thu Mar 17, 2011 8:42 pm

By the way, the code I am using at that spot in the program is:

Dim Results() As Integer
Results = m_GdPictureImaging.OMRDetectMarks(m_ImageID, answers, 23, 0.9, confidence)

where "answers" is an array of 23 rectangles in which to look for marks, and "confidence" is the array of confidence values returned by your method.

The project I am running is the OMR demo project, slightly modified by me to handle my specific form for input.

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

Re: Memory Access Error in OMRDetectMarks

Post by Loïc » Fri Mar 18, 2011 11:13 am

Hi,

Please create a ticket to http://support.gdpicture.com uploading the image causing the crash + a code snippet to reproduce the issue.

We should solve this issue quickly.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest