LukasBommes / PV-Hawk

Tool for the extraction and mapping of photovoltaics modules from IR drone videos of utility-scale PV plants (my PhD project)
MIT License
61 stars 16 forks source link

cannot import name 'pyfeatures' from 'opensfm' #16

Closed LukasBommes closed 2 years ago

LukasBommes commented 2 years ago

When running PV Hawk for the first time opensfm reconstruction step fails because pyfeatures can not be imported. The issue correpsonds to this issue (https://github.com/mapillary/OpenSfM/issues/545) in OpenSfM.

LukasBommes commented 2 years ago

Currently, this issue can be resolved by changing into

/pvextractor/extractor/mapping/OpenSfM

in the Docker container and running

python setup.py build

once.

LukasBommes commented 2 years ago

TODO: try if installing libomp via apt in the Docker image fixes the issue.

vdebad commented 2 years ago

TODO: try if installing libomp via apt in the Docker image fixes the issue.

@LukasBommes - I tried the installation of libomp-dev via apt-get during the custom build by adding it to the Dockerfile. It did not solve the problem unfortunately.