Keypoint Detection Model¶
Run inference on a keypoint detection model hosted on or uploaded to Roboflow.
You can query any model that is private to your account, or any public model available on Roboflow Universe.
You will need to set your Roboflow API key in your Inference environment to use this block. To learn more about setting your Roboflow API key, refer to the Inference documentation.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/roboflow_keypoint_detection_model@v2
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
model_id |
str |
Roboflow model identifier. | ✅ |
class_agnostic_nms |
bool |
Value to decide if NMS is to be used in class-agnostic mode.. | ✅ |
class_filter |
List[str] |
List of classes to retrieve from predictions (to define subset of those which was used while model training). | ✅ |
confidence |
float |
Confidence threshold for predictions. | ✅ |
iou_threshold |
float |
Parameter of NMS, to decide on minimum box intersection over union to merge boxes. | ✅ |
max_detections |
int |
Maximum number of detections to return. | ✅ |
max_candidates |
int |
Maximum number of candidates as NMS input to be taken into account.. | ✅ |
keypoint_confidence |
float |
Confidence threshold to predict keypoint as visible.. | ✅ |
disable_active_learning |
bool |
Parameter to decide if Active Learning data sampling is disabled for the model. | ✅ |
active_learning_target_dataset |
str |
Target dataset for Active Learning data sampling - see Roboflow Active Learning docs for more information. | ✅ |
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 Keypoint Detection Model
in version v2
.
- inputs:
Reference Path Visualization
,Line Counter
,Single-Label Classification Model
,Roboflow Dataset Upload
,Stability AI Inpainting
,Absolute Static Crop
,Trace Visualization
,Halo Visualization
,SIFT
,SIFT Comparison
,Pixelate Visualization
,Email Notification
,Anthropic Claude
,Classification Label Visualization
,Mask Visualization
,Background Color Visualization
,Crop Visualization
,Relative Static Crop
,VLM as Classifier
,Google Gemini
,Image Contours
,JSON Parser
,Image Threshold
,Roboflow Custom Metadata
,Bounding Box Visualization
,Multi-Label Classification Model
,Instance Segmentation Model
,Template Matching
,Florence-2 Model
,Object Detection Model
,Distance Measurement
,Size Measurement
,Roboflow Dataset Upload
,Camera Focus
,Identify Changes
,Keypoint Visualization
,Polygon Zone Visualization
,Model Monitoring Inference Aggregator
,Pixel Color Count
,Dynamic Zone
,Triangle Visualization
,Local File Sink
,Clip Comparison
,Ellipse Visualization
,Identify Outliers
,Slack Notification
,Clip Comparison
,Image Blur
,Twilio SMS Notification
,Dot Visualization
,Model Comparison Visualization
,VLM as Detector
,SIFT Comparison
,Dynamic Crop
,Image Slicer
,VLM as Classifier
,Perspective Correction
,Line Counter Visualization
,Grid Visualization
,Detections Consensus
,Webhook Sink
,Image Convert Grayscale
,Buffer
,Stitch Images
,Blur Visualization
,Florence-2 Model
,Keypoint Detection Model
,Color Visualization
,Image Preprocessing
,Dimension Collapse
,VLM as Detector
,Polygon Visualization
,OpenAI
,Circle Visualization
,Line Counter
,Label Visualization
,Corner Visualization
- outputs:
Multi-Label Classification Model
,Model Monitoring Inference Aggregator
,Single-Label Classification Model
,Roboflow Dataset Upload
,Object Detection Model
,Triangle Visualization
,Trace Visualization
,Single-Label Classification Model
,Ellipse Visualization
,Instance Segmentation Model
,Detections Classes Replacement
,Pixelate Visualization
,Detections Transformation
,Dot Visualization
,Model Comparison Visualization
,Dynamic Crop
,Background Color Visualization
,Crop Visualization
,Detections Consensus
,Webhook Sink
,Detections Filter
,Blur Visualization
,Florence-2 Model
,Keypoint Detection Model
,Color Visualization
,Roboflow Custom Metadata
,Bounding Box Visualization
,Keypoint Detection Model
,Multi-Label Classification Model
,Instance Segmentation Model
,Florence-2 Model
,Object Detection Model
,Segment Anything 2 Model
,Detection Offset
,Roboflow Dataset Upload
,Circle Visualization
,Label Visualization
,Corner Visualization
,Keypoint Visualization
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Keypoint Detection Model
in version v2
has.
Bindings
-
input
images
(image
): The image to infer on.model_id
(roboflow_model_id
): Roboflow model identifier.class_agnostic_nms
(boolean
): Value to decide if NMS is to be used in class-agnostic mode..class_filter
(list_of_values
): List of classes to retrieve from predictions (to define subset of those which was used while model training).confidence
(float_zero_to_one
): Confidence threshold for predictions.iou_threshold
(float_zero_to_one
): Parameter of NMS, to decide on minimum box intersection over union to merge boxes.max_detections
(integer
): Maximum number of detections to return.max_candidates
(integer
): Maximum number of candidates as NMS input to be taken into account..keypoint_confidence
(float_zero_to_one
): Confidence threshold to predict keypoint as visible..disable_active_learning
(boolean
): Parameter to decide if Active Learning data sampling is disabled for the model.active_learning_target_dataset
(roboflow_project
): Target dataset for Active Learning data sampling - see Roboflow Active Learning docs for more information.
-
output
inference_id
(inference_id
): Inference identifier.predictions
(keypoint_detection_prediction
): Prediction with detected bounding boxes and detected keypoints in form of sv.Detections(...) object.model_id
(roboflow_model_id
): Roboflow model id.
Example JSON definition of step Keypoint Detection Model
in version v2
{
"name": "<your_step_name_here>",
"type": "roboflow_core/roboflow_keypoint_detection_model@v2",
"images": "$inputs.image",
"model_id": "my_project/3",
"class_agnostic_nms": true,
"class_filter": [
"a",
"b",
"c"
],
"confidence": 0.3,
"iou_threshold": 0.4,
"max_detections": 300,
"max_candidates": 3000,
"keypoint_confidence": 0.3,
"disable_active_learning": true,
"active_learning_target_dataset": "my_project"
}
Run inference on a keypoint detection model hosted on or uploaded to Roboflow.
You can query any model that is private to your account, or any public model available on Roboflow Universe.
You will need to set your Roboflow API key in your Inference environment to use this block. To learn more about setting your Roboflow API key, refer to the Inference documentation.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/roboflow_keypoint_detection_model@v1
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
model_id |
str |
Roboflow model identifier. | ✅ |
class_agnostic_nms |
bool |
Value to decide if NMS is to be used in class-agnostic mode.. | ✅ |
class_filter |
List[str] |
List of classes to retrieve from predictions (to define subset of those which was used while model training). | ✅ |
confidence |
float |
Confidence threshold for predictions. | ✅ |
iou_threshold |
float |
Parameter of NMS, to decide on minimum box intersection over union to merge boxes. | ✅ |
max_detections |
int |
Maximum number of detections to return. | ✅ |
max_candidates |
int |
Maximum number of candidates as NMS input to be taken into account.. | ✅ |
keypoint_confidence |
float |
Confidence threshold to predict keypoint as visible.. | ✅ |
disable_active_learning |
bool |
Parameter to decide if Active Learning data sampling is disabled for the model. | ✅ |
active_learning_target_dataset |
str |
Target dataset for Active Learning data sampling - see Roboflow Active Learning docs for more information. | ✅ |
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 Keypoint Detection Model
in version v1
.
- inputs:
Reference Path Visualization
,Line Counter
,Single-Label Classification Model
,Roboflow Dataset Upload
,Stability AI Inpainting
,Absolute Static Crop
,Trace Visualization
,Halo Visualization
,SIFT
,SIFT Comparison
,Pixelate Visualization
,Email Notification
,Anthropic Claude
,Classification Label Visualization
,Mask Visualization
,Background Color Visualization
,Crop Visualization
,Relative Static Crop
,VLM as Classifier
,Google Gemini
,Image Contours
,JSON Parser
,Image Threshold
,Roboflow Custom Metadata
,Bounding Box Visualization
,Multi-Label Classification Model
,Instance Segmentation Model
,Template Matching
,Florence-2 Model
,Object Detection Model
,Distance Measurement
,Size Measurement
,Roboflow Dataset Upload
,Camera Focus
,Identify Changes
,Keypoint Visualization
,Polygon Zone Visualization
,Model Monitoring Inference Aggregator
,Pixel Color Count
,Dynamic Zone
,Triangle Visualization
,Local File Sink
,Clip Comparison
,Ellipse Visualization
,Identify Outliers
,Slack Notification
,Clip Comparison
,Image Blur
,Twilio SMS Notification
,Dot Visualization
,Model Comparison Visualization
,VLM as Detector
,SIFT Comparison
,Dynamic Crop
,Image Slicer
,VLM as Classifier
,Perspective Correction
,Line Counter Visualization
,Grid Visualization
,Detections Consensus
,Webhook Sink
,Image Convert Grayscale
,Buffer
,Stitch Images
,Blur Visualization
,Florence-2 Model
,Keypoint Detection Model
,Color Visualization
,Image Preprocessing
,Dimension Collapse
,VLM as Detector
,Polygon Visualization
,OpenAI
,Circle Visualization
,Line Counter
,Label Visualization
,Corner Visualization
- outputs:
Reference Path Visualization
,Line Counter
,OpenAI
,LMM For Classification
,Roboflow Dataset Upload
,Stability AI Inpainting
,Trace Visualization
,Path Deviation
,Halo Visualization
,Instance Segmentation Model
,SIFT Comparison
,Email Notification
,Anthropic Claude
,Pixelate Visualization
,Path Deviation
,Classification Label Visualization
,Mask Visualization
,Background Color Visualization
,Crop Visualization
,Google Gemini
,Detections Filter
,Image Threshold
,Roboflow Custom Metadata
,Cache Set
,YOLO-World Model
,Instance Segmentation Model
,Distance Measurement
,LMM
,CogVLM
,Florence-2 Model
,Size Measurement
,Roboflow Dataset Upload
,Keypoint Visualization
,Label Visualization
,Cache Get
,Polygon Zone Visualization
,Pixel Color Count
,Model Monitoring Inference Aggregator
,Triangle Visualization
,Local File Sink
,Ellipse Visualization
,Detections Stitch
,Detections Classes Replacement
,Slack Notification
,Clip Comparison
,Image Blur
,Twilio SMS Notification
,Detections Transformation
,Dot Visualization
,Model Comparison Visualization
,Dynamic Crop
,Perspective Correction
,Line Counter Visualization
,Detections Consensus
,Time in Zone
,Webhook Sink
,Google Vision OCR
,Time in Zone
,Blur Visualization
,Florence-2 Model
,Color Visualization
,Image Preprocessing
,CLIP Embedding Model
,Polygon Visualization
,Segment Anything 2 Model
,Detection Offset
,OpenAI
,Circle Visualization
,Line Counter
,Bounding Box Visualization
,Corner Visualization
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Keypoint Detection Model
in version v1
has.
Bindings
-
input
images
(image
): The image to infer on.model_id
(roboflow_model_id
): Roboflow model identifier.class_agnostic_nms
(boolean
): Value to decide if NMS is to be used in class-agnostic mode..class_filter
(list_of_values
): List of classes to retrieve from predictions (to define subset of those which was used while model training).confidence
(float_zero_to_one
): Confidence threshold for predictions.iou_threshold
(float_zero_to_one
): Parameter of NMS, to decide on minimum box intersection over union to merge boxes.max_detections
(integer
): Maximum number of detections to return.max_candidates
(integer
): Maximum number of candidates as NMS input to be taken into account..keypoint_confidence
(float_zero_to_one
): Confidence threshold to predict keypoint as visible..disable_active_learning
(boolean
): Parameter to decide if Active Learning data sampling is disabled for the model.active_learning_target_dataset
(roboflow_project
): Target dataset for Active Learning data sampling - see Roboflow Active Learning docs for more information.
-
output
inference_id
(string
): String value.predictions
(keypoint_detection_prediction
): Prediction with detected bounding boxes and detected keypoints in form of sv.Detections(...) object.
Example JSON definition of step Keypoint Detection Model
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/roboflow_keypoint_detection_model@v1",
"images": "$inputs.image",
"model_id": "my_project/3",
"class_agnostic_nms": true,
"class_filter": [
"a",
"b",
"c"
],
"confidence": 0.3,
"iou_threshold": 0.4,
"max_detections": 300,
"max_candidates": 3000,
"keypoint_confidence": 0.3,
"disable_active_learning": true,
"active_learning_target_dataset": "my_project"
}