I do not know what pip install cv2
actually installs… but is surely not OpenCV. pip install cv2
actually installs this, which are some blog distribution utilities, not sure what it is, but it is not OpenCV.
To properly install OpenCV, check any of the links @udit043 added in the comment, or refer to any of the tutorials bellow:
Find here a tutorial on how to install OpenCV on OS X: http://www.pyimagesearch.com/2015/06/15/install-opencv-3-0-and-python-2-7-on-osx/
You need to actually compile OpenCV from source and activate python bindings, which takes a while.
Another option is to use brew
to get OpenCV, but doesn’t neccesarilly get you the last version nor a fully optimized one:
Related Posts:
- Cannot find module cv2 when using OpenCV
- Cannot find module cv2 when using OpenCV
- How to resize an image with OpenCV2.0 and Python2.6
- ImportError: numpy.core.multiarray failed to import
- import opencv vs import cv2
- Cannot find module cv2 when using OpenCV
- ImportError: DLL load failed: %1 is not a valid Win32 application. But the DLL’s are there
- ImportError: numpy.core.multiarray failed to import
- ImportError: DLL load failed: %1 is not a valid Win32 application. But the DLL’s are there
- Permission denied error by installing matplotlib
- How do I install Python OpenCV through Conda?
- How can I upgrade NumPy?
- Difference in output with waitKey(0) and waitKey(1)
- ImportError: libSM.so.6: cannot open shared object file: No such file or directory
- explain arguments meaning in res = cv2.bitwise_and(img,img,mask = mask)
- OpenCV NoneType object has no attribute shape
- What does bitwise_and operator exactly do in openCV?
- SystemError: new style getargs format but argument is not a tuple?
- ImportError: No module named ‘cv2’ Python3
- ImportError: No module named cv2
- OpenCV NoneType object has no attribute shape
- Installing opencv on Windows 10 with python 3.6 and anaconda 3.6
- How to crop an image in OpenCV using Python
- SystemError: new style getargs format but argument is not a tuple?
- cmake error ‘the source does not appear to contain CMakeLists.txt’
- inverting image in Python with OpenCV
- How does cv2.boundingRect() function of OpenCV work?
- OpenCV houghLinesP parameters
- Python OpenCV2 (cv2) wrapper to get image size?
- ValueError: total size of new array must be unchanged
- Iterating over dictionaries using ‘for’ loops
- how to sort pandas dataframe from one column
- Understanding slice notation
- How do I sort a dictionary by value?
- How do I sort a dictionary by value?
- How to iterate over rows in a DataFrame in Pandas
- How to convert list to string [duplicate]
- How to uninstall a package installed with pip install –user
- Save plot to image file instead of displaying it using Matplotlib
- ModuleNotFoundError: No module named ‘sklearn’
- Does Python have an ordered set?
- Asking the user for input until they give a valid response
- Print a list in reverse order with range()?
- Configuring so that pip install can work from github
- How can I get a list shape without using numpy?
- AttributeError: ‘str’ object has no attribute ‘append’
- python socket.error: [Errno 98] Address already in use
- How can one display an image using cv2 in Python
- How to read a .xlsx file using the pandas Library in iPython?
- Numpy/Python Array Value error
- Changing the “tick frequency” on x or y axis in matplotlib?
- TypeError: unsupported operand type(s) for -: ‘str’ and ‘str’
- Remove all special characters, punctuation and spaces from string
- AttributeError: ” object has no attribute ”
- Plot pie chart and table of pandas dataframe
- ModuleNotFoundError: No module named ‘matplotlib’
- “inconsistent use of tabs and spaces in indentation”
- ImportError: libcuda.so.1: cannot open shared object file
- TypeError: list indices must be integers or slices, not str
- python object() takes no parameters error
- How do I find the distance between two points?
- How do I calculate percentiles with python/numpy?
- How do I remove a substring from the end of a string?
- Selecting with complex criteria from pandas.DataFrame
- Pointers in Python?
- Django – no such table exception
- How to make a histogram from a list of data
- Using __add__ operator with multiple arguments in Python
- How to constantly run Python script in the background on Windows?
- What does “Symbol not found / Expected in: flat namespace” actually mean?
- Windows path in Python
- Python: ValueError: Mixing iteration and read methods would lose data
- python: restarting a loop
- Can’t get Python to import from a different folder
- convert csv file to list of dictionaries
- What’s the difference between “virtualenv” and “-m venv” in creating Virtual environments(Python)
- OperationalError: database is locked
- Decode Hex String in Python 3
- Python ImportError: No module named wx
- Accessing a class’ member variables in Python?
- Declaring a multi dimensional dictionary in python
- How do I compute derivative using Numpy?
- No module named utils error on compiling py file
- Pandas dataframe groupby plot
- Download Returned Zip file from URL
- Python 3 TypeError: must be str, not bytes with sys.stdout.write()
- tkinter gui layout using frames and grid
- Meaning of list[-1] in Python
- Tkinter error: Couldn’t recognize data in image file
- How to install Openpyxl with pip
- getting ZeroDivisionError: integer division or modulo by zero
- Iterating through list of list in Python
- How to install PyQt4 on Windows using pip?
- How to install PyQt4 on Windows using pip?
- python dictionary error AttributeError: ‘list’ object has no attribute ‘keys’
- What is a mixin, and why are they useful?
- What is the most efficient way to store a list in the Django models?
- Convert list of dictionaries to a pandas DataFrame
- How to read html from a url in python 3
- Set variable in jinja