Using Ubuntu 16.04
Build
- Updated CMakeLists.txt: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -std=gnu++0x")
- From build folder: cmake -D BUILD_PYTHON_SUPPORT=ON .. and make -j4
- Followed README.md for python: cp -r ../python/* python/
Testing
-
../run_simple_vehicle_counting.sh runs OK
-
../run_python_demo.sh
Traceback (most recent call last):
File "./build/python/demo.py", line 4, in
import analysis
File "/home/zeev/PYTHON/SIMPLE-VEHICLE-COUNT/simple_vehicle_counting/build/python/analysis/init.py", line 6, in
import pyboostcvconverter as pbcvt
ImportError: No module named pyboostcvconverter
-
Apparently __init__.py was missing in pyboostconverter folder, so entered
touch python/pyboostcvconverter/__init__.py
-
../run_python_demo.sh
PBAS()
PixelBasedAdaptiveSegmenter()
VehicleCouting()
BlobTracking()
../run_python_demo.sh: line 4: 2089 Segmentation fault (core dumped) python ./build/python/demo.py
Any suggestions to help locate the problem?
Using Ubuntu 16.04
Build
Testing
../run_simple_vehicle_counting.sh runs OK
../run_python_demo.sh
Traceback (most recent call last):
File "./build/python/demo.py", line 4, in
import analysis
File "/home/zeev/PYTHON/SIMPLE-VEHICLE-COUNT/simple_vehicle_counting/build/python/analysis/init.py", line 6, in
import pyboostcvconverter as pbcvt
ImportError: No module named pyboostcvconverter
Apparently __init__.py was missing in pyboostconverter folder, so entered
touch python/pyboostcvconverter/__init__.py
../run_python_demo.sh
PBAS()
PixelBasedAdaptiveSegmenter()
VehicleCouting()
BlobTracking()
../run_python_demo.sh: line 4: 2089 Segmentation fault (core dumped) python ./build/python/demo.py
Any suggestions to help locate the problem?