Open main menu

Wiki-Orange Pi β

Changes

Orange Pi Zero 3

266 bytes added, 16:29, 11 July 2023
Use apt to install OpenCV
<ol style="list-style-type: decimal;">
<li><p>The installation command is shown below</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''sudo apt-get update'''</p>
<p>orangepi@orangepi:~$ '''sudo apt-get install -y libopencv-dev python3-opencv'''</p>|}</li>
<li><p>Then use the following command to print the output of the version number of OpenCV, indicating that the installation of OpenCV is successful</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The version of OpenCV in ubuntu22.04 is shown below:</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''python3 -c &quot;import cv2; print(cv2.__version__)&quot;'''</p>
<p>'''4.5.4'''</p>|}</li>
<li><p>The version of OpenCV in Ubuntu 20.04 is shown below:</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''python3 -c &quot;import cv2; print(cv2.__version__)&quot;'''</p>
<p>'''4.2.0'''</p>|}</li>
<li><p>The version of OpenCV in Debian11 is shown below:</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''python3 -c &quot;import cv2; print(cv2.__version__)&quot;'''</p>
<p>'''4.5.1'''</p>|}</li>
<li><p>The version of OpenCV in Debian12 is shown below:</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''python3 -c &quot;import cv2; print(cv2.__version__)&quot;'''</p>
<p>'''4.6.0'''</p>|}</li></ol>
</li></ol>
<span id="the-installation-method-of-the-aapanel-linux-panel"></span>
 
== The installation method of the aapanel Linux panel ==