Giter Club home page Giter Club logo

Comments (5)

jnissin avatar jnissin commented on August 15, 2024

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.

from bgslibrary.

andrewssobral avatar andrewssobral commented on August 15, 2024

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

from bgslibrary.

KhanMechAI avatar KhanMechAI commented on August 15, 2024

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.

from bgslibrary.

KhanMechAI avatar KhanMechAI commented on August 15, 2024

Actually I should add that even though I'm able to install it I'm not able to use it. Importing gives SIGSEGV

from bgslibrary.

andrewssobral avatar andrewssobral commented on August 15, 2024

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.

from bgslibrary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.