-
Notifications
You must be signed in to change notification settings - Fork 320
Description
Hi,
I've tried to run the car_sliding_windows directly from the last repo here.
The issue I currently have is : after checking the path and the existance of the images files, I've anyway the following error:
396
397
398
399
OpenCV Error: Assertion failed (The data should normally be NULL!) in allocate, file /home/david/OpenCV/opencv-3.1.0/modules/python/src2/cv2.cpp, line 163
Traceback (most recent call last):
File "car_sliding_windows.py", line 17, in
svm, extractor = car_detector()
File "/home/david/OpenCV/pycv/chapter7/car_detector/detector.py", line 43, in car_detector
extract_bow.setVocabulary(vocabulary)
cv2.error: /home/david/OpenCV/opencv-3.1.0/modules/python/src2/cv2.cpp:163: error: (-215) The data should normally be NULL! in function allocate
This have been done under these conditions :
- changed all path strings: "/home/d3athmast3r/(....)" to reflect mine. This affects : detector.py, car_sliding_windows.py, bow.py, detect_hog_svm.py
- I'm running python 2.7.12 under virtualenwrapper
- under the same Virtualenv I've been compiled OpenCV 3.1.0 with the contribs of the same version