I am using opencv-python
by installing with pip install opencv-python
, without building from sources.
Earlier I used to build opencv from sources, but the installation process was quite painful. The pip
installation was so easy, and I could use most of its functions. One problem is that I cannot use cv2.imshow
anymore (may because it requires OS GUIs?).
cv2.imshow("test",xx)
OpenCV Error: Unspecified error (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 cvShowImage, file /io/opencv/modules/highgui/src/window.cpp, line 583
There are two questions:
Are there alternatives for
cv2.imshow
, which is light, simple, and proper to show image frames like a video?In addition to
imshow
, are there more critical functions that I cannot use anymore if I only use thepip
version?