Coder Social home page Coder Social logo

Comments (8)

proelf98 avatar proelf98 commented on July 23, 2024 2

Hey I've run into the same kind of problem today. I am myself a beginner, but what worked for me is just remove the "--upgrade". The "upgrade" flag tries to upgrade all dependent packages to the latest available version. If I understood the Error Message correctly, it isn't possible to cythonize pandas with the cython version of the board. I also tried to upgrade cython to the version "0.23.13" but it threw out another error message related to NumPy, which I didn't understand.

So I just tried to install PYNQ-ComputerVision without the upgrade and it worked:
"sudo pip3 install git+https://github.com/Xilinx/PYNQ-ComputerVision.git"

from pynq-computervision.

tim7107 avatar tim7107 commented on July 23, 2024

But i meet a problem running OpenCV Overlay: Filter2D and Dilate.
image
Did you meet this problem too?
Thank a lot! Awesome!
Tim

from pynq-computervision.

proelf98 avatar proelf98 commented on July 23, 2024

Oh yeah I also encountered this problem yesterday. I thought it was related with not using "--upgrade" flag during installation, so I searched a little further and found out that, if you use "pip3 install --upgrade Cython" and run after that "sudo pip3 install --upgrade git+https://github.com/Xilinx/PYNQ-ComputerVision.git" it works too (takes quite some time) and you can install the repository, however I got still the same error message. So I asked on the PYNQ Community for help. I am unfortunately also out of my knowledge why this happend.

from pynq-computervision.

tim7107 avatar tim7107 commented on July 23, 2024

This problem disappeared after i change my sdcard image to ultra96 v2 v2.4.
I was using ultra96 v2 v2.5 at first. Maybe you can give it a try!
Then,i meet another problem haha. But fortunately it does not affect the main code.
Thanks for your helping. Hope you have a nice day!
Tim

from pynq-computervision.

proelf98 avatar proelf98 commented on July 23, 2024

Haha awesome that is nice! Yes I also used ultra96 v2 v2.5.
Thank you for informing me, I'll try. And you too have a nice day ;)

from pynq-computervision.

proelf98 avatar proelf98 commented on July 23, 2024

Hey @tim7107 , just want to notify you that my error got fixed and was able to use the repository. The pynq community helped me. You can read the solution how to use the PYNQ-ComputerVision with PYNQ Version 2.5.

https://discuss.pynq.io/t/importerror-libopencv-shape-so-3-2-cannot-open-shared-object-file-no-such-file-or-directory/1337

from pynq-computervision.

tim7107 avatar tim7107 commented on July 23, 2024

Thank a lot bro!
Tim

from pynq-computervision.

StefQM avatar StefQM commented on July 23, 2024

I just wanted to confirm that you can get the PYNQ ComputerVision working on an Ultra96V2, through the following steps:

  • Ultr96V2 board with PYNQ2.5, and connect to Wifi (easy way: via the notebook on Wifi in the common folder)
  • pip3 install --upgrade Cython =>Not sure this step is actually required (I didn't try without)
  • sudo pip3 install git+https://github.com/Xilinx/PYNQ-ComputerVision.git
    NOT: sudo pip3 install --upgrade git+https://github.com/Xilinx/PYNQ-ComputerVision.git => This throws the Cython error (even after the Cython upgrade in the previous step)
  • As an example, the complete notebook "2__Overlays-filter2d_and_dilate" should be functional
    Important note: In the section "Setup & Configure USB camera", make sure width & height are set to your camera resolution, else things will crash in the hardware part

from pynq-computervision.

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.