Code Monkey home page Code Monkey logo

Comments (14)

missxa avatar missxa commented on July 22, 2024 5

was missing python3 bindings as well, fixed with pip3 install opencv-python

from howdy.

cccaballero avatar cccaballero commented on July 22, 2024 5

I have solved this issue in Ubuntu 18.04 installing the python3-opencv package:

sudo apt install python3-opencv

adding it as dependency for the .deb package can solve the issue in Ubuntu 18.04

from howdy.

boltgolt avatar boltgolt commented on July 22, 2024 2

Looks like you're only missing the python 3 bindings, could you try following 2, 2.1 and 2.2 of this tutorial?

from howdy.

davidgaya avatar davidgaya commented on July 22, 2024 1

pip3 install opencv-python worked for me

from howdy.

VanVan avatar VanVan commented on July 22, 2024 1

Thank you, it works now.
However I needed to install these package, it was not automatic

sudo pip3 install opencv-python
sudo apt install libopencv-dev python-opencv
sudo pip3 install dlib

from howdy.

boltgolt avatar boltgolt commented on July 22, 2024

Edit:

To install the python bindings for opencv, run the following command:

pip3 install opencv-python

Read the rest of the comments for other solutions if that doesn't work.

Original comment:

Could you try the solution in the last part of this comment?

from howdy.

bendandersen avatar bendandersen commented on July 22, 2024

from howdy.

boltgolt avatar boltgolt commented on July 22, 2024

Could you try sudo apt install libopencv-dev python-opencv?

from howdy.

bendandersen avatar bendandersen commented on July 22, 2024

from howdy.

stellarpower avatar stellarpower commented on July 22, 2024

That worked for me.

from howdy.

janecz-n avatar janecz-n commented on July 22, 2024

#32 (comment) work for me

from howdy.

boltgolt avatar boltgolt commented on July 22, 2024

It also works as expected on the travis 16.04 instance, it seems very machine dependent

from howdy.

boltgolt avatar boltgolt commented on July 22, 2024

python-opencv fails to install on many 16.04 installations though, which breaks this package all together if it would be a dependency. I might add a catch for a missing OpenCV library with a link to a wiki page with further instructions.

from howdy.

boltgolt avatar boltgolt commented on July 22, 2024

This last release should now automatically detect this problem and fix it. Feel free to reopen this issue if you still have the same problem on version 2.4.0 or above.

from howdy.

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.