PrototypeCommon
1zlab/1ZLAB_Face_Track_Robot
二自由度云台实现人脸追踪。 首先是使用一款名字叫做IP摄像头的APP 采集手机摄像头的图像,在手机上建立一个视频流服务器。在局域网下,PC通过IP还有端口号获取图像。使用OpenCV的人脸检测的API获取人脸在画面中的位置,根据人脸位置距离画面中心的x轴与y轴的偏移量(offset) ,通过P比例控制(PID控制中最简单的一种)控制二自由度云台上臂与下臂的旋转角度,将角度信息通过串口通信UART发送给ESP32单片机(不限于ESP32,STM32,Arduino都可以)解析执行对应的操作,从而使得人脸尽可能处在画面的正中间。
- Owner
- 1zlab (organization)
- Stars
- Stars: 228
- Forks
- Forks: 58
- Language
- Python
- License
- GPL-3.0
- Created
- 2018
- Topics
- python-opencvface-detectionface-trackingmicropython-esp32pca9685servoservo-controllerip-cam
- Tier
- Prototype (100 to 249 ★) What this tier means
More repos by 1zlab
All 3 repos by 1zlab- 1zlab/1ZLAB_ESP32_Wifi_CameraStars: 189CPrototype
- 1zlab/1ZLAB_MicroPython_ESP32_TutorialStars: 119PythonPrototype
Nearby in Python
All Python repos- JethroJames/awesome-robots-iclStars: 228PythonPrototype
- michelle11032424-jpg/Interpark-Stars: 228PythonPrototype
- paper-instruments/feather-trainStars: 228PythonPrototype
- reviewboard/rbtoolsStars: 228PythonPrototype
- adityarathod/xeroxStars: 228PythonPrototype
- sagemath/sagecellStars: 228PythonPrototype