Hello,
I am new to C++ and OpenCV. I installed OpenCV on Windows 7 following the instructions from the tutorial on this site as best as I could.
I have been using Microsoft Visual C++ as my IDE to run through many of the tutorials and to get an idea of how the OpenCV functions work.
Recently I tied doing the "Finding Contours in Your Image" tutorial from the following link. http://docs.opencv.org/doc/tutorials/imgproc/shapedescriptors/find_contours/find_contours.html
When I run the script I get the following error message:
"Unhandled exception at 0x00000000 in Contours.exe: 0xC0000005: Access violation."
It seems like something is going wrong with the vector definitions (contours and hierarchy) when findContours tries to use them.
Any ideas how to fix this?
Thanks for your help,
Julia