1.烧录系统
https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit
https://shumeipai.nxez.com/2013/09/07/raspberry-pi-under-windows-system-installation-to-sd-card.h
2.远程连接(默认密码raspberry)
Preference--->Raspberry Pi Configuration--->Interface
打开SSH和VNC
3.安装OpenCV
(1)sudo raspi-config
Advanced Options
Expand filesystem
sudo reboot
(2)
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install build-essential cmake unzip pkg-config
sudo apt-get install libjpeg-dev libpng-dev libtiff-dev
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev
sudo apt-get install libxvidcore-dev libx264-dev
sudo apt-get install libgtk-3-dev
sudo apt-get install libcanberra-gtk*
sudo apt-get install libatlas-base-dev gfortran
sudo apt-get install python3-dev
------
https://github.com/opencv/opencv/archive/4.5.3.zip
https://github.com/opencv/opencv_contrib/archive/4.5.3.zip
mv opencv-4.5.3.zip opencv.zip
mv opencv_contrib-4.5.3.zip opencv_contrib.zip
unzip opencv.zip
unzip opencv_contrib.zip
mv opencv-4.5.3 opencv
mv opencv_contrib-4.5.3 opencv_contrib
|