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
        POST
      • Point cloud object detection
        POST
  • Plugin API
    • Model
      • Point cloud object detection
      • Image object detection
  1. Model

Image object detection

Docker Compose
http://localhost:8190/api
Docker Compose
http://localhost:8190/api
POST
http://localhost:8190/api
/model/image/recognition

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
dataId
integer 
The data ID that needs to be predicted.
required
minConfidence
number 
Min confidence
required
[0,1]
maxConfidence
number 
Max confidence
required
[0,1]
classes
array[string]
Class list
required
["KNIFE","SPOON","BOWL","BANANA","APPLE","SANDWICH","ORANGE","BROCCOLI","CARROT","HOT_DOG","TRAFFIC_LIGHT","PIZZA","FIRE_HYDRANT","DONUT","STOP_SIGN","CAKE","PARKING_METER","CHAIR","BENCH","COUCH","BIRD","POTTED_PLANT","CAT","DOG","HORSE","SHEEP","PERSON","BICYCLE","CAR","MOTORCYCLE","AIRPLANE","BUS","TRAIN","TRUCK","BOAT","BED","DINING_TABLE","TOILET","TV","COW","LAPTOP","ELEPHANT","MOUSE","BEAR","REMOTE","ZEBRA","KEYBOARD","GIRAFFE","CELL_PHONE","BACKPACK","MICROWAVE","UMBRELLA","HANDBAG","TIE","SUITCASE","OVEN","TOASTER","SINK","REFRIGERATOR","FRISBEE","BOOK","SKIS","CLOCK","SNOWBOARD","VASE","SPORTS_BALL","SCISSORS","KITE","TEDDY_BEAR","BASEBALL_BAT","HAIR_DRIER","BASEBALL_GLOVE","SKATEBOARD","SURFBOARD","TENNIS_RACKET","TOOTHBRUSH","BOTTLE","WINE_GLASS","CUP","FORK"]
Example
{
  "dataId": 0,
  "minConfidence": 0,
  "maxConfidence": 0,
  "classes": [
    "string"
  ]
}

Request 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:8190/api/model/image/recognition' \
--header 'Content-Type: application/json' \
--data-raw '{
    "dataId": 0,
    "minConfidence": 0,
    "maxConfidence": 0,
    "classes": [
        "string"
    ]
}'

Responses

🟢200Successful
application/json
Body
object {0}
Example
{}
Previous
Download dataset annotation results
Next
Point cloud object detection
Built with