YOLO-World

YOLO-Worldはゼロショット物体検出モデルで、検出したいアイテムを記述するだけで、トレーニングなしで物体検出を行うことができます。

APIリファレンス

ホストされたAPIの基本URLは https://infer.roboflow.com.

Python SDKまたはセルフホストAPIを通じてInferenceでYOLO-Worldを使用する方法の詳細については、 YOLO-World Inferenceドキュメントページをご覧ください.

YOLO-World inference.

post

Run the YOLO-World zero-shot object detection model.

Query parameters
api_keyany ofOptional

Roboflow API Key that will be passed to the model during initialization for artifact retrieval

stringOptional
or
nullOptional
countinferenceany ofOptional
booleanOptional
or
nullOptional
service_secretany ofOptional
stringOptional
or
nullOptional
Body

Request for Grounding DINO zero-shot predictions.

Attributes: text (List[str]): A list of strings.

idstringRequired
api_keyany ofOptional

Roboflow API Key that will be passed to the model during initialization for artifact retrieval

stringOptional
or
nullOptional
usage_billablebooleanOptionalDefault: true
startany ofOptional
numberOptional
or
nullOptional
sourceany ofOptional
stringOptional
or
nullOptional
source_infoany ofOptional
stringOptional
or
nullOptional
model_idany ofOptional
stringOptional
or
nullOptional
model_typeany ofOptional

The type of the model, usually referring to what task the model performs

Example: object-detection
stringOptional
or
nullOptional
imageany ofRequired
or
disable_preproc_auto_orientany ofOptional

If true, the auto orient preprocessing step is disabled for this call.

Default: false
booleanOptional
or
nullOptional
disable_preproc_contrastany ofOptional

If true, the auto contrast preprocessing step is disabled for this call.

Default: false
booleanOptional
or
nullOptional
disable_preproc_grayscaleany ofOptional

If true, the grayscale preprocessing step is disabled for this call.

Default: false
booleanOptional
or
nullOptional
disable_preproc_static_cropany ofOptional

If true, the static crop preprocessing step is disabled for this call.

Default: false
booleanOptional
or
nullOptional
textstring[]Required

A list of strings

Example: ["person","dog","cat"]
yolo_world_version_idany ofOptionalDefault: l
stringOptional
or
nullOptional
confidenceany ofOptionalDefault: 0.4
numberOptional
or
nullOptional
Responses
200

Successful Response

application/json
post
POST /yolo_world/infer HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 431

{
  "id": "text",
  "api_key": "text",
  "usage_billable": true,
  "start": 1,
  "source": "text",
  "source_info": "text",
  "model_id": "text",
  "model_type": "object-detection",
  "image": [
    {
      "type": "url",
      "value": "http://www.example-image-url.com"
    }
  ],
  "disable_preproc_auto_orient": false,
  "disable_preproc_contrast": false,
  "disable_preproc_grayscale": false,
  "disable_preproc_static_crop": false,
  "text": [
    "person",
    "dog",
    "cat"
  ],
  "yolo_world_version_id": "l",
  "confidence": 0.4
}
{
  "visualization": "text",
  "inference_id": "text",
  "frame_id": 1,
  "time": 1,
  "image": [
    {
      "width": 1,
      "height": 1
    }
  ],
  "predictions": [
    {
      "x": 1,
      "y": 1,
      "width": 1,
      "height": 1,
      "confidence": 1,
      "class": "text",
      "class_confidence": 1,
      "class_id": 1,
      "tracker_id": 1,
      "detection_id": "text",
      "parent_id": "text"
    }
  ]
}

Last updated

Was this helpful?