Open corlangerak opened 3 years ago
It looks like this is related to the OpenCV version. This has been discussed in issue #178 . Downgrading OpenCV to version 3.4.7
should fix the issue.
Hi @corlangerak @jnissin , sorry for my delayed feedback. I just released a new version of the BGSLibrary, now v3.1.0. I tested it on Windows, Mac and Linux, both compiling the C++ library on OpenCV 3.4.7, 3.4.16 and 4.6.0. I also tested its respective Python wrapper and GT user interface. Everything is working for me, could you please check in your side if this new version fix your issues? Thanks in advance, Andrews
Confirmed, I am able to install it on an M1 Mac:
❯ pip list
Package Version
------------- -----------
certifi 2022.12.7
numpy 1.24.2
opencv-python 4.6.0.66
pip 22.3.1
pybgs 3.2.0.post1
setuptools 65.6.3
wheel 0.37.1
Just make sure to install opencv-python
first - i.e. pip install opencv-python==4.6.0.66 pybgs
wont cut it.
Actually I should add that even though I'm able to install it I'm not able to use it. Importing gives SIGSEGV
Hi @KhanMechAI ,
I'm sorry to inform you that pybgs does not work with the opencv-python package as it was specifically designed for Python-only projects. If you want to use pybgs, you will need to install OpenCV from scratch because pybgs requires the compilation of some C++ modules.
Let me know if you have any questions or need help with the installation process.
Hi I am trying to install the bgslibrary but the pip install gives the following ERROR Message:
I tried building it from source but the same thing happend.... Not sure what to do? Maybe I am missing something or is this an unknown errror? All help would be greatly appreciated.