To install the latest OpenCV version from the source, perform the following steps: It will be optimized for your particular system, and you will have complete control over the build options. Installing OpenCV from the Source #īuilding the OpenCV library from source is the recommended way of installing OpenCV. If you want to install OpenCV with Python 2 bindings, install the python-opencv package. Python3 -c "import cv2 print(cv2._version_)" 3.2.0 To verify the installation, import the cv2 module and print the OpenCV version: The command above will install all packages necessary to run OpenCV. To install OpenCV Python module, enter: sudo apt update sudo apt install python3-opencv At the time of writing, the standard Debian repositories include OpenCV version 3.2, which is outdated. The OpenCV Python module is available from the standard Debian repository. Install OpenCV from the Debian Repository # If you want to install the latest stable version of OpenCV from source, scroll down to the Installing OpenCV from the SourceĬhoose one of the installation options that works best for you. For most people, the easiest way to install OpenCV on Debian is to install it using the apt package management tool. This tutorial, shows how to install OpenCV on Debian 10, Buster. How to Use SCP Command to Securely Transfer FilesĬan take advantage of multi-core processing and features GPU acceleration for real-time operation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |