andrewssobral / andrewssobral/simple_vehicle_counting

Python problems

オープン
#26 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
504
フォーク
246
PR マージ指標
30日以内にマージされた PR はありません

説明

Using Ubuntu 16.04
Build
1. Updated CMakeLists.txt: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} **-fPIC** -std=gnu++0x")
2. From build folder: cmake **-D BUILD_PYTHON_SUPPORT=ON** .. and make -j4
3. Followed README.md for python: cp -r ../python/* python/

Testing
1. ../run_simple_vehicle_counting.sh runs OK

2. ../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

3. Apparently \_\_init\_\_.py was missing in pyboostconverter folder, so entered
touch python/pyboostcvconverter/\_\_init\_\_.py

4. ../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?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。