simple_vehicle_counting icon indicating copy to clipboard operation
simple_vehicle_counting copied to clipboard

error null pointer

Open mv2050arshad opened this issue 8 years ago • 2 comments

i use opencv 3.3.0 and 64bit windows. after run your sample c++ in QT , error happened:


PBAS()
PixelBasedAdaptiveSegmenter()
BlobTracking()
VehicleCouting()
Press 'q' to quit...
OpenCV Error: Null pointer (Invalid pointer to file storage) in cvWriteInt, file C:\build\master_winpack-build-win64-vc14\opencv\modules\core\src\persistence.cpp, line 4625

mv2050arshad avatar Aug 25 '17 07:08 mv2050arshad

Hi @ardashir66 , In fact, this error:

OpenCV Error: Null pointer (Invalid pointer to file storage) in cvWriteInt, file C:\build\master_winpack-build-win64-vc14\opencv\modules\core\src\persistence.cpp, line 4625

you need to create a config folder where your executable is.

andrewssobral avatar Aug 30 '17 10:08 andrewssobral

yes you right, thank you.

mv2050arshad avatar Aug 30 '17 14:08 mv2050arshad