PrototypeCommune
1zlab/1ZLAB_Face_Track_Robot
二自由度云台实现人脸追踪。 首先是使用一款名字叫做IP摄像头的APP 采集手机摄像头的图像,在手机上建立一个视频流服务器。在局域网下,PC通过IP还有端口号获取图像。使用OpenCV的人脸检测的API获取人脸在画面中的位置,根据人脸位置距离画面中心的x轴与y轴的偏移量(offset) ,通过P比例控制(PID控制中最简单的一种)控制二自由度云台上臂与下臂的旋转角度,将角度信息通过串口通信UART发送给ESP32单片机(不限于ESP32,STM32,Arduino都可以)解析执行对应的操作,从而使得人脸尽可能处在画面的正中间。
- Propriétaire
- 1zlab (organisation)
- Étoiles
- Étoiles : 228
- Forks
- Forks : 58
- Langage
- Python
- Licence
- GPL-3.0
- Création
- 2018
- Sujets
- python-opencvface-detectionface-trackingmicropython-esp32pca9685servoservo-controllerip-cam
- Rang
- Prototype (100 à 249 ★) Ce que veut dire ce rang
Autres dépôts de 1zlab
Les 3 dépôts de 1zlab- 1zlab/1ZLAB_ESP32_Wifi_CameraÉtoiles : 189CPrototype
- 1zlab/1ZLAB_MicroPython_ESP32_TutorialÉtoiles : 119PythonPrototype
D’autres dépôts Python
Tous les dépôts Python- paper-instruments/feather-trainÉtoiles : 228PythonPrototype
- spoopyghosty0/frameportÉtoiles : 228PythonPrototype
- Panchovix/nvidia-windows-vbios-vix-loaderÉtoiles : 228PythonPrototype
- reviewboard/rbtoolsÉtoiles : 228PythonPrototype
- adityarathod/xeroxÉtoiles : 228PythonPrototype
- sagemath/sagecellÉtoiles : 228PythonPrototype