12/19/2023 0 Comments Install opencv ubuntu(If you using Python 3.2 or below, you can skip to the next step.)Īs the pycofig.h header file is not in the typical place, we would have to copy the file to the expected location. If you are using Python 3.3, use this instead: python3.3-dev) sudo apt-get install python3.5-dev If you are using a different version of python, change it to python3.x-dev. Next, we will install the developer packages for python3. Sudo apt-get install build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev ffmpeg or libav development packages: libavcodec-dev, libavformat-dev, libswscale-dev. ![]() GTK+2.x or higher, including headers (libgtk2.0-dev). ![]() Once the update is done, we’ll proceed on to downloading the required packages to compile OpenCV. Update the repository before installing the necessary packages. (While copying the code over, do not include the > in the terminal: It’s just used to represent the python input.) Packages Requiredīefore compiling OpenCV, we have to download some packages for compilation. ![]() (It should also work for Ubuntu 12.04++ onwards and Python 3.x) We’ll be using a 64 bit Ubuntu 16.04 system, and Python 3.5 in this tutorial. Installing OpenCV in linux for Python 3 is not that straight forward, so in this tutorial, we’ll go through the steps on how do we do it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |