BasicAI CE Open & Plugin API
  1. Model
BasicAI CE Open & Plugin API
  • Open API
    • Dataset
      • Create Dataset
      • Edit Dataset
      • Delete Dataset
      • Query a single dataset
      • Query the list of datasets
      • Upload the dataset compressed package
      • Query the processing progress of the compressed dataset
      • Query the data under the dataset
      • Delete multiple data
      • Query a single data
      • Query multiple data
      • Generate presigned file upload url
      • Upload file through presigned url
    • Annotation
      • Get data and result information
      • Download dataset annotation results
    • Model
      • Image object detection
      • Point cloud object detection
  • Plugin API
    • Model
      • Point cloud object detection
        POST
      • Image object detection
        POST
  1. Model

Image object detection

Developing
Docker Compose
http://localhost:8292
Docker Compose
http://localhost:8292
POST
http://localhost:8292
/image/objectDetection
Object detection on image data.
In the response result, the top-level error code indicates whether the request was successful, such as invalid parameters. Regardless of whether each data is successfully processed, the error code on each data in the lower layer indicates whether the data is successfully processed.

Request

Body Params application/json

Example
{
    "datas": [
        {
            "id": 1,
            "url": "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/3d_img1/01.jpg"
        }
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8292/image/objectDetection' \
--header 'Content-Type: application/json' \
--data-raw '{
    "datas": [
        {
            "id": 1,
            "url": "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/3d_img1/01.jpg"
        }
    ]
}'

Responses

🟢200Successful
application/json
Body

Example
{
    "code": "OK",
    "message": "",
    "data": [
        {
            "id": 1,
            "code": "OK",
            "message": "",
            "objects": [
                {
                    "left": 0.924,
                    "right": 0.999,
                    "top": 0.3365650969529086,
                    "bottom": 0.7326869806094183,
                    "leftTopX": 1234,
                    "leftTopY": 200,
                    "rightBottomX": 1333,
                    "rightBottomY": 478,
                    "confidence": 0.52197265625,
                    "label": "car"
                }
            ],
            "confidence": 0.52197265625
        }
    ]
}
Modified at 2024-05-15 03:03:37
Previous
Point cloud object detection
Built with