乐鑫esp-who源码地址:https://github.com/espressif/esp-who
增加了gc0328摄像头的项目地址:https://github.com/zhouayi/esp-who
记录一下esp32s3使用gc0328摄像头运行esp-who下面的human_detection示例。
- 将驱动文件移动到对应位置
- 修改摄像头初始化代码
- 额外修改再摄像头初始化处增加个设置,不然拍摄一会儿后的图片会花白
-
(奇怪的一步)将
components/esp32-camera
整个文件夹移动到example/human_face_detection/web/components
下,并重命名为espressif__esp32-camera
不然会一直识别不到camera
-
使用
example/human_face_detection/web
验证使用esp-idf
cd F:\githubCode\esp-who\examples\human_face_detection\web idf.py set-target esp32s3 idf.py menuconfig
输入wifi名称和密码,然后键盘依次点击S->回车->回车,再一直点击Esc直到退出配置界面。
idf.py flash monitor