Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
huolongshe 61a3420340 | 1 year ago | |
---|---|---|
app | 1 year ago | |
webapp | 1 year ago | |
.gitignore | 1 year ago | |
Dockerfile | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
application.yml | 1 year ago | |
build-docker.sh | 1 year ago | |
pack_model.py | 1 year ago | |
pip-install-reqs.sh | 1 year ago | |
requirements.txt | 1 year ago | |
run_model_server.py | 1 year ago |
一个基于OpenCV的行人检测方法, 目前能够检测人脸、人体。参数"flag"取值范围为"all"|"face"|"body", 分别代表对于检测人脸和人体、
只检测人脸、只检测人体。缺省行为对于人脸和人体均进行检测。参数“accuracy”取值范围为"low"|"middle"|"high", 分别代表预测精度低、中、高。
预测精度越低,预测正确率越低,预测速度会越快。预测精度越高,预测正确率越高,预测速度会越慢。
本模型提供了4个API接口:
API接口1:
API端点: /api/data
HTTP方法: POST
HTTP请求体:
{
"action": "predict"
"args": {
"img": <压缩图像的base64编码字符串>,
"flag": "all"|"face"|"body",
"accuracy": "low"|"middle"|"high",
}
}
HTTP响应体:
{
"status": "ok"|"err",
"value": [<识别结果>, <带目标检测框的base64编码压缩图像URL>]
}
API接口2:
API端点: /api/stream/predict
HTTP方法: POST
HTTP请求体:
<二进制编码的压缩图像字节流>
HTTP响应体:
{
"status": "ok"|"err",
"value": [<识别结果>, <带目标检测框的base64编码图像URL>]
}
API接口3:
API端点: /api/file/predict
HTTP方法: POST
HTTP请求体:
<用于HTTP文件上传的XHR格式请求体>
HTTP响应体:
{
"status": "ok"|"err",
"value": [<识别结果>, <带目标检测框的base64编码图像URL>]
}
API接口4:
API端点: /api/model
HTTP方法: POST
HTTP请求体:
{
"action": "play_stream"
"args": {
"url": "流媒体地址,例如 rtmp://127.0.0.1:1935/stream",
"flag": "all"|"face"|"body",
"accuracy": "low"|"middle"|"high",
}
}
HTTP响应体:
{
"status": "ok"|"err",
"value": [<识别结果>, <带目标检测框的base64编码压缩图像URL>]
}
参见: 《模型开发及发布指南》
行人检测
TypeScript Python HTML Shell Dockerfile other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》