how to integrate openCV and ARtoolkit

4.1k views Asked by At

I need to use both openCV and ARtoolkit libraries in the same project. I'm trying to get frame by using arVideoGetImage() function in order to process for with openCV functions. however program throws a "System.AccessViolationException" error in the following line of face detection example: CvSeq *faces = cvHaarDetectObjects(img, cascade, storage, 1.1, 3, 0, cvSize( 40, 40 ));

ARtoolkit and openCV are work perfectly separately. Anyone has able to work these two library together, or any suggestion??

thanks

2

There are 2 answers