Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Contours2 not working

I've been working on using OpenCV with regards to a school project. I've downloaded and installed it onto my computer, set it up to work with Dev-C++ 5.11, and tried to run the contours2 cpp sample to make sure I had everything working as planned. Unfortunately, I have received the error "'Mat' in namespace 'cv' does not name a type," originating in the "types" header. While I am somewhat knowledgeable in C++, I am new to OpenCV and not entirely sure how to fix this without inadvertently messing things up further. Does anyone have suggestions?