Jump to content

Installing OpenCV for Integrating multimedia software stack on NXP i.MX8M Plus

From RidgeRun Developer Wiki


🚧 Documentation under development

The Getting started with AI on NXP i.MX8M Plus guide is currently under active development. Some sections may be incomplete or change without notice.

Questions? Contact RidgeRun or email to support@ridgerun.com.


Previous: Development/Integrating multimedia software stack/Installing GStreamer Index Next: Development/Integrating Artificial Intelligence software stack


Partner Program Banner




Installing the OpenCV for development

The same way as in the GStreamer installation, you can install OpenCV in this board, you just need to go to the local.conf file at:

cd $HOME/<your image folder>/<your build directory>/conf/
cat local.conf

In this file, just add the following lines:

# -- OpenCV stuff --
IMAGE_INSTALL_append += "opencv"

CORE_IMAGE_EXTRA_INSTALL += "libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev opencv-apps opencv-dev"

Building the image with the changes in local.conf

cd $HOME/<your image folder>

source setup-environment <your build directory>

bitbake imx-image-core

Testing the OpenCV installation

For this section, please go through the Cross-compiling apps for GStreamer, TensorFlow Lite, and OpenCV



Previous: Development/Integrating multimedia software stack/Installing GStreamer Index Next: Development/Integrating Artificial Intelligence software stack



Cookies help us deliver our services. By using our services, you agree to our use of cookies.