网线:
在windows端的wlan配置允许其他网络使用,cmd输入arp -a
ssh:
在内存卡上新建SSH文件
vnc:
命令行pi@…之后
sudo raspi-config
查看版本
getconf LONG_BIT # 查看系统位数
uname -a # kernel 版本
/opt/vc/bin/vcgencmd version # firmware版本
strings /boot/start.elf | grep VC_BUILD_ID # firmware版本
cat /proc/version # kernel
cat /etc/os-release # OS版本资讯
cat /etc/issue # Linux distro 版本
cat /etc/debian_version # Debian版本编号
opencv安装
sudo apt-get install -y libjasper-dev libqtgui4 libqt4-test
sudo pip3 install opencv-python
ncs2配置
https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_raspbian.html
烧录镜像
df -ah
找到树莓派磁盘例如sdb
sudo dd bs=4M if=dev/sdb of=raspberry.img
一次读写数据,源数据,目的数据
after installing the img, we have to expand filesystem use
“sudo raspi-config” then “Advanced Options”,finally Expand Filesystem"
问题
ImportError: numpy.core.multiarray failed to import
找到numpy路径,然后删除
import numpy
print numpy.__path__
rm -fr /usr/lib64/python2.7/site-packages/numpy