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?
Memory Access Error in OMRDetectMarks
Re: Memory Access Error in OMRDetectMarks
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.
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
Hi,
Please create a ticket to https://www.gdpicture.com/support/getting-support-from-our-team uploading the image causing the crash + a code snippet to reproduce the issue.
We should solve this issue quickly.
Kind regards,
Loïc
Please create a ticket to https://www.gdpicture.com/support/getting-support-from-our-team uploading the image causing the crash + a code snippet to reproduce the issue.
We should solve this issue quickly.
Kind regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest