image: Install python3-opencv

This commit is contained in:
Alexey Rogachevskiy
2019-12-09 20:13:04 +03:00
parent 0fb22e817d
commit 9f097f56c5
3 changed files with 9 additions and 0 deletions

View File

@@ -112,6 +112,7 @@ python-dev \
python3-dev \
python-systemd \
mjpg-streamer \
python3-opencv \
&& echo_stamp "Everything was installed!" "SUCCESS" \
|| (echo_stamp "Some packages wasn't installed!" "ERROR"; exit 1)

View File

@@ -24,6 +24,7 @@ source /home/pi/catkin_ws/devel/setup.bash
cd /home/pi/catkin_ws/src/clever/builder/test/
./tests.sh
./tests.py
./tests_py3.py
echo "Move /etc/ld.so.preload back to its original position"
mv /etc/ld.so.preload.disabled-for-build /etc/ld.so.preload

7
builder/test/tests_py3.py Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env python3
# Make sure our Python 3 software is installed
import cv2
print(cv2.getBuildInformation())