About i.MX8 Yocto,does the Opencv in aarch64-mx8-poky-linux will upgrade?
Now we use i.MX8 QM 2.3.0 Yocto release the OpenCV version is 4.0.1,we want OpenCV version 4.1.2
does it will upgrade or how to get new OpenCV version?
Solved! Go to Solution.
in the MX8QM we have the OpenCV 3.4, you have to wait until next releases for version 4.x, currently we are in L5.4.3 BSP, se next releases will appear in July 2020.
The OpenCV version is contained within a special
variable, which you can access like this:
variable is simply a string which you can split into the major and minor versions:
When I input >>> import cv2 on board
it is show that error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named cv2
pls help check it
Hi Xu Ji,
I don’t see a Yocto 2.3.0 release. The earliest Yocto release that I can see support for the MX8 QM in is 4.9.51. You might want to double check the version that you are on.
When you run “bitbake ” you will see the “DISTRO_VERSION” listed. The best way to get a newer version of OpenCV would be to use a new distro.
You can check the version that is provided in your BSP by running:
$ bitbake -s | grep opencv
In Distro 4.19-warrior you get OpenCV 4.0.1. It might be possible to integrate 4.2.0 into an older distro but it would probably be a fair bit of work.
Best recommendation is to move to Yocto distro 5.4-zeus to get OpenCV 4.2.0
Don Gunn BEng, Bsc
Advanced Engineer, Processor Specialist
Future Intelligent Solutions
This communication is subject to Future Electronics' Email Policy
WARNING: Please do not attach, forward or reply with any Export Controlled Technical Data, Documents/Drawings (EAR and ITAR) to this email.<http://www1.futureelectronics.com/disclaimer.html>
Click on the banner to go to our website for updates.