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

Point cloud object detection

Developing
Docker Compose
http://localhost:8293
Docker Compose
http://localhost:8293
POST
http://localhost:8293
/pointCloud/objectDetection
Identify objects in point cloud 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.
The host and path are for reference only. When adding your own model service, you need to specify the interface address.

Request

Body Params application/json

Example
{
    "datas": [
        {
            "id": 1,
            "pointCloudUrl": "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/point_cloud/000001.pcd",
            "imageUrls": [
                "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/image0/000001.jpg",
                "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/image1/000001.jpg",
                "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/image2/000001.jpg"
            ],
            "cameraConfigUrl": "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/camera_config/000001.json"
        }
    ]
}

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:8293/pointCloud/objectDetection' \
--header 'Content-Type: application/json' \
--data-raw '{
    "datas": [
        {
            "id": 1,
            "pointCloudUrl": "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/point_cloud/000001.pcd",
            "imageUrls": [
                "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/image0/000001.jpg",
                "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/image1/000001.jpg",
                "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/image2/000001.jpg"
            ],
            "cameraConfigUrl": "https://basicai-alidev-app-dataset.oss-cn-shanghai.aliyuncs.com/1651739094707-30022/case-padaset/camera_config/000001.json"
        }
    ]
}'

Responses

🟢200Successful
application/json
Body

Example
{
    "code": "OK",
    "message": "",
    "data": [
        {
            "id": 1,
            "code": "OK",
            "message": "",
            "objects": [
                {
                    "label": "CAR",
                    "confidence": 0.883,
                    "x": -5.662,
                    "y": -0.147,
                    "z": 0.854,
                    "dx": 4.354,
                    "dy": 1.839,
                    "dz": 1.605,
                    "rotX": 0,
                    "rotY": 0,
                    "rotZ": 0.845
                }
            ],
            "confidence": 0.8
        }
    ]
}
Modified at 2024-05-15 03:02:45
Previous
Point cloud object detection
Next
Image object detection
Built with