I'm still trying to use the AR toolkit with MFC on a WinXP PC with Visual Studio.Net
So far, I've been able to initialise the camera parameters, load the description of the patterns, grab a video frame, display it detect a marker on the first frame, grab a new frame and that's it !
Indeed, when trying to detect the markers on the second frame grabbed, an error message (_CrtCheckMemory ) is sent when using the arDetectMarker function.
More exactly, this error is triggered when freeing the ARMat u (arMatrixFree(u);) in the function static int PCA( ARMat *input, ARMat *output, ARVec *ev ) of the file mpca.c
This appends during the execution of the function arMatrixPCA, called in arGetLine2, called in arGetLine, called in arGetMarkerInfo, called in arDetectMarker ...
Any idea where I could look to debug this ?
Thanks in advance.
Emmanuel DUBOIS ! Emmanuel.Dubois@i ......
UPS - IRIT - LIIHS ! www.irit.fr/recherches/LIIHS/dubois
118, route de Narbonne ! Phone: +33 (0)5 61 55 63 59
F - 31 062 Toulouse Cedex 4 ! Fax: +33 (0)5 61 55 62 58