opencv_objdetect300.dll - Access violation reading location [closed]

asked 2015-03-24 08:57:25 -0500

paws gravatar image

Hi everyone!

I tried to run Haar-like feature detection example code ( I have modified it a little bit (I changed the image source from video to static image) and succesfully built it (both in release and debug). Program starts properly, image is beeing read and then, while processing, error occures:

Unhandled exception at 0x000007FEF2622C1B (opencv_objdetect300.dll) in Project1.exe: 0xC0000005: Access violation reading location 0xFFFFFFFEF35FC3B8

Program breaks inside following function in cascadedetect.hpp header file:

inline float HaarEvaluator::OptFeature :: calc( const int* ptr ) const

I use Visual Studio 2012 PRO on Windows 7 x64. Opencv 3.00 has been built from source.

May anyone help me? Thanks in advance!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by StevenPuttemans
close date 2015-03-25 04:05:24.773255



Start reading this bug tracker issue!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-03-24 09:08:09 -0500 )edit

Thanks a lot, Steven!

I updated cascadedetect.hpp and cascadedetect.cpp files ( and now everything works both on CPU and GPU, and both in release and debug modes.


paws gravatar imagepaws ( 2015-03-25 03:41:38 -0500 )edit

Great! Nice that it all works now!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-03-25 04:05:06 -0500 )edit