Opencv for python wheel


#1

can you heip to provide opencv and opencv-contrib for python wheel to us?


#2

Whilst people are welcome to try I don’t see much point in anyone creating a python wheel for this; once we upgrade to Debian Buster there will be a recent version of OpenCV already packaged and ready (apt install python3-opencv).

Folks who are having trouble compiling OpenCV themselves could wait for the next release or try using one of the recent pre-release snapshots: http://builds.96boards.org/snapshots/dragonboard410c/linaro/debian/latest/ (be sure to discuss any problems you have with the pre-releases on these forums before reporting bugs).


#3

Thanks~
In addition, I also want to know

  1. So next release will include opencv_contrib module?
  2. and use (apt install python3-opencv-contrib) to install?

#4

I doubt the next release will contains any OpenCV pacakges in the images. It is expected that the user enrich things by installing the packages they need using apt. The major difference is that the current release is based on Debian Stretch (so only OpenCV 2.6 is available) while the next release is based on Debian Buster (meaning you have access to OpenCV 3.2).

Personally I have no idea what is in the contrib module (or how it is bound to python) but it certainly looks like it gets built by default. See https://packages.debian.org/source/buster/opencv .


#5

When can you provide it? (use apt)

Thanks you~


#6

It will be in the next release or try using one of the recent pre-release snapshots: http://builds.96boards.org/snapshots/dragonboard410c/linaro/debian/latest (be sure to discuss any problems you have with the pre-releases on these forums before reporting bugs).


#7

Thanks for all the good work!

I’d like to try the new snapshots for opencv3 functionality.

Is there an “Idiot’s Guide” for how to use the new snapshots? Some of the files have obvious uses but I am hoping for a simple guide like:
The boot-installer–.img.gz files are for blah blah blah.
The boot-sdcard-- is used in this way or that way.
The dragonboard-410c-sdcard-developer-buster-311.zip is used for…
and the dragonboard-410c-sdcard-installer-buster-311.zip is used in this way …
and so on…


#8

All documentation for the board is here, including install documentation:


#9

The snapshots have the same structure as a regular image. Thus you can use the Download page as normal, simply substitute “releases” for “snapshots” near the beginning of the link:


#10

Just to be a little clearer. The snapshots were at https://builds.96boards.org/snapshots/dragonboard410c/linaro/ however since early December they have been moved to http://snapshots.linaro.org/96boards/dragonboard410c/linaro/debian/

The releases are currently at https://builds.96boards.org/releases/dragonboard410c/linaro/debian/ but as of the next release they will be moving to http://releases.linaro.org/

Full Disclosure: I am an employee of Qualcomm Canada, any opinions I may have expressed in this or any other post may not reflect the opinions of my employer.


#11

Thanks Laurence. I’d forgotten about the migration to the Linaro servers.


#12

Thanks U2,

I got the latest snapshot on an uSD and it did indeed work with sudo apt-get install python3-opencv.

I then went to a 64G uSD and did as ljking suggest in another thread to rebuild opencv on the 410c with the 17.09 #283 debian release. The magnificent script provided by ljking in that thread built the latest opencv and got Numpy, SciPy, MatPlotLib and other sundries.

I did some simple testing with python3 for webcam and matplotlib and all is well so far.

No kidding, thanks U2 for the help. I owe you a few beers!

David
.