You might want to use it to build your own opencv package, or you could use our prebuilt packages: On 14/12/16 , extraymond wrote: Thx, I tried the prebuilt packages too, and it still gives me the same error. Reply to this email directly, view it on Git Hub No, that was not coming from the loopbio repo. I have just uploaded the corresponding packages for python 3.x numpy 1.11. If you succeed, you should see a line like this after running I'm using conda features to manage opencv variants, so if you want the gtk2 version, you need to install a package tracking the gtk2 feature.
I know it is not very intuitive, but that is as good as it gets with conda right now.
@jakirkham I do not know how easy could it be to get a gtk2-enabled version of opencv into conda-forge.
First we would need to package gtk2 for linux (easy) mac (no idea) and windows (no idea), then deal with any problem given by opencv in these systems.
If there is no keystroke, then repeat ad infinitum.
If there is a keystroke and it happens to have ASCII value 27 (the Escape key), then break out of that loop.
If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cv Show Image In order to maintain compatibility, conda-forge opencv builds without gtk2 support (see #25 ).
Ubuntu's latest incarnation, Utopic Unicorn, comes with a new version of libav, and opencv sources will fail to build with this new library version.
The first argument here is the name of the window within which we intend to draw. Let's now put together a simple program that will display an image on the screen.
We can read a filename from the command line, create a window, and put our image in the window in 25 lines, including comments and tidily cleaning up our memory allocations!
flag, the image is shown with its original size, however it is still limited by the screen resolution. The function may scale the image, depending on its depth: creates a window that can be used as a placeholder for images and trackbars. If a window with the same name already exists, the function does nothing.
You can call to close the window and de-allocate any associated memory usage.