cd ~/NCSLab/workspace
python3 main.py
python3 mjpeg_server.py
输出电压与PWM波占空比关系如下:
参考:
输出电流稳定在20mA。
update:2024.6.14 下面这个方案已废弃
update:2024.5.17 先运行/src/online/Camera_test/server_camera.py 在localhost:8091/video_feed下开启视频流 然后/src/online/main.py 运行主网页
Reference
- ⭐️ https://github.com/barry-ran/raspberry-webcam
- ⭐️ How to Install & Setup OpenCV on Raspberry Pi 4
- ⭐️ https://github.com/raspberrypi/picamera2/blob/main/examples/preview.py
- Installing OpenCV on Raspberry Pi 4B
测试图片如下:
注意到,底色和内容颜色都是单一的,因此我们首先通过二值化将两者分离开来。
- v2.1.4:
- fix issue #11 #12 #19
- v2.1.3:
- self defined
html
&js
- self defined
- v2.1.2:
rectangle-module
andsubmit
- v2.1.1:
- support video streaming
- v2.1.0:
- support continuous channel switch
- support check for invalid input
- 电路设计:郝熙哲、汤竑敬
- 视频推流:钟梓轩、华羽霄
- 网页设计:华羽霄
- 专利撰写:华羽霄、郝熙哲、张艺峰
- 专利申请:郝熙哲、华羽霄