Skip to content

Python problems #26

@zeevgr2

Description

@zeevgr2

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions