Page 1 of 1

Memory Access Error in OMRDetectMarks

Posted: Thu Mar 17, 2011 8:39 pm
by ghowe
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?

Re: Memory Access Error in OMRDetectMarks

Posted: Thu Mar 17, 2011 8:42 pm
by ghowe
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.

Re: Memory Access Error in OMRDetectMarks

Posted: Fri Mar 18, 2011 11:13 am
by Loïc
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