youbbs
youbbs
1802 0 0

Open Vision API 基于开源模型的开源计算机视觉API

Open Vision API是基于开源模型的开源计算机视觉API。

  • 支持多种硬件加速器
  • 支持多种深度学习框架
  • 基于开源模型

使用 demo

$ git clone https://github.com/openvisionapi/ova-client.git
$ cd ova-client
$ make setup
$ make demo

客户端的使用

比如通过 API 识别一张图片的内容

$ http -f POST https://api.openvisionapi.com/api/v1/detection  model="yolov4" image@images/cat.jpeg

HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 128
Content-Type: application/json
Date: Sat, 08 May 2021 18:08:03 GMT
Server: nginx
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload

{
    "description": "Detected objects",
    "predictions": [
        {
            "bbox": {
                "x1": 442,
                "x2": 982,
                "y1": 199,
                "y2": 1270
            },
            "label": "cat",
            "score": "0.93"
        }
    ]
}
0

See Also

Nearby


Discussion

Login Topics