YOLO-World Model¶
Version v1
¶
Run YOLO-World, a zero-shot object detection model, on an image.
YOLO-World accepts one or more text classes you want to identify in an image. The model returns the location of objects that meet the specified class, if YOLO-World is able to identify objects of that class.
We recommend experimenting with YOLO-World to evaluate the model on your use case before using this block in production. For example on how to effectively prompt YOLO-World, refer to the Roboflow YOLO-World prompting guide.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/yolo_world_model@v1
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
The unique name of this step.. | ❌ |
class_names |
List[str] |
One or more classes that you want YOLO-World to detect. The model accepts any string as an input, though does best with short descriptions of common objects.. | ✅ |
version |
str |
Variant of YoloWorld model. | ✅ |
confidence |
float |
Confidence threshold for detections. | ✅ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow
runtime. See Bindings for more info.
Available Connections¶
Check what blocks you can connect to YOLO-World Model
in version v1
.
- inputs:
Label Visualization
,Crop Visualization
,Mask Visualization
,Blur Visualization
,Image Contours
,Bounding Box Visualization
,Image Convert Grayscale
,Camera Focus
,Dot Visualization
,Color Visualization
,Corner Visualization
,Circle Visualization
,Perspective Correction
,Image Slicer
,Triangle Visualization
,Relative Static Crop
,Absolute Static Crop
,Halo Visualization
,Background Color Visualization
,SIFT
,Pixelate Visualization
,Polygon Visualization
,Dynamic Crop
,Image Blur
,Ellipse Visualization
,Image Threshold
- outputs:
Detection Offset
,Detections Consensus
,Label Visualization
,Crop Visualization
,Roboflow Dataset Upload
,Detections Stitch
,Segment Anything 2 Model
,Blur Visualization
,Detections Classes Replacement
,Property Definition
,Bounding Box Visualization
,Dot Visualization
,Color Visualization
,Circle Visualization
,Corner Visualization
,Roboflow Custom Metadata
,Perspective Correction
,Triangle Visualization
,Detections Filter
,Background Color Visualization
,Roboflow Dataset Upload
,Detections Transformation
,Pixelate Visualization
,Dynamic Crop
,Ellipse Visualization
The available connections depend on its binding kinds. Check what binding kinds
YOLO-World Model
in version v1
has.
Bindings
-
input
images
(image
): The image to infer on.class_names
(list_of_values
): One or more classes that you want YOLO-World to detect. The model accepts any string as an input, though does best with short descriptions of common objects..version
(string
): Variant of YoloWorld model.confidence
(float_zero_to_one
): Confidence threshold for detections.
-
output
predictions
(object_detection_prediction
): Prediction with detected bounding boxes in form of sv.Detections(...) object.
Example JSON definition of step YOLO-World Model
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/yolo_world_model@v1",
"images": "$inputs.image",
"class_names": [
"person",
"car",
"license plate"
],
"version": "v2-s",
"confidence": 0.005
}