文件名称:web_api_face
文件大小:160KB
文件格式:ZIP
更新时间:2024-05-03 09:39:06
HTML
使用Flask进行实时流媒体和人脸检测 pip install - r requirements . txt 运行服务器 python app . py 使用笔记本电脑的内置网络摄像头 将零(O)放入cv2.VideoCapture(0) cv2 . VideoCapture ( 0 ) 使用IP摄像机/ CCTV / RTSP链接 cv2 . VideoCapture ( 'rtsp://username:password@camera_ip_address:554/user=username_password=' password '_channel=channel_number_stream=0.sdp' ) RTSP链接示例 cv2 . VideoCapture ( 'rtsp://mamun:123456@101.134.16.117:554/user=mamun_passwo
【文件预览】:
web_api_face-master
----templates()
--------index.html(6KB)
--------index_2.html(10KB)
----requirements.txt(106B)
----static()
--------3024605.png(33KB)
--------button.css(2KB)
--------results.js(509B)
--------id.png(18KB)
--------style.less(334B)
----README.md(1KB)
----__pycache__()
--------camera.cpython-36.pyc(2KB)
--------camera.cpython-37.pyc(2KB)
--------camera.cpython-38.pyc(2KB)
----haarcascade_frontalface_dataset.xml(661KB)
----app.py(4KB)
----test_cam.py(5KB)