sudo apt-get install libgtk2.0-dev
File "auto_canny_edge_detection.py", line 40, in
cv2.imshow("Original", image)
cv2.error: /io/opencv/modules/highgui/src/window.cpp:583: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvShowImage
###################################
http://www.pyimagesearch.com/2015/07/20/install-opencv-3-0-and-python-3-4-on-ubuntu/This does not work.Opencv 3.3.0 does not compile.#################################################################Lets try conda https://conda.io/docs/install/full.html#linux-anaconda-installDownload the conda installerhttps://www.continuum.io/downloads ######################################################################pip install image imageio imutils readchar# Create an env file to install Python packagesname: stats
dependencies:
- numpy
- pandas
- cycler
- Django
- functools32
- matplotlib
- numpy
- olefile
- PIL
- pyparsing
- python-dateutil
- pytz
- scipy
- six
- subprocess32
####################################################################### Lets install opencv in condahttps://stackoverflow.com/questions/23119413/how-to-install-python-opencv-through-conda conda install -c menpo opencv
https://conda.io/docs/using/using.html#verify-that-conda-is-installed-check-current-conda-version
https://stackoverflow.com/questions/23119413/how-to-install-python-opencv-through-conda#comment65615984_38011342
conda install -c https://conda.anaconda.org/menpo opencv3
source activate
#
# To activate this environment, use:
# > source activate stats
#
# To deactivate an active environment, use:
# > source deactivate
#
No comments:
Post a Comment