Absolute Static Crop¶
Class: AbsoluteStaticCropBlockV1
Crop a Region of Interest (RoI) from an image, using absolute coordinates.
This is useful when placed after an ObjectDetection block as part of a multi-stage workflow. For example, you could use an ObjectDetection block to detect objects, then the AbsoluteStaticCrop block to crop objects, then an OCR block to run character recognition on each of the individual cropped regions.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/absolute_static_crop@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.. | ❌ |
x_center |
int |
Center X of static crop (absolute coordinate). | ✅ |
y_center |
int |
Center Y of static crop (absolute coordinate). | ✅ |
width |
int |
Width of static crop (absolute value). | ✅ |
height |
int |
Height of static crop (absolute value). | ✅ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow
runtime. See Bindings for more info.
Available Connections¶
Compatible Blocks
Check what blocks you can connect to Absolute Static Crop
in version v1
.
- inputs:
Stitch Images
,Pixelate Visualization
,SIFT Comparison
,Line Counter
,Corner Visualization
,Blur Visualization
,Mask Visualization
,Perspective Correction
,SIFT
,Line Counter
,Polygon Zone Visualization
,Polygon Visualization
,Halo Visualization
,Grid Visualization
,Image Slicer
,Model Comparison Visualization
,Trace Visualization
,Camera Focus
,Image Threshold
,Keypoint Visualization
,Crop Visualization
,Template Matching
,Image Preprocessing
,SIFT Comparison
,Image Blur
,Relative Static Crop
,Circle Visualization
,Image Convert Grayscale
,Dot Visualization
,Background Color Visualization
,Bounding Box Visualization
,Ellipse Visualization
,Image Contours
,Label Visualization
,Classification Label Visualization
,Line Counter Visualization
,Stability AI Inpainting
,Reference Path Visualization
,Dynamic Crop
,Color Visualization
,Triangle Visualization
,Pixel Color Count
,Absolute Static Crop
,Distance Measurement
- outputs:
Multi-Label Classification Model
,Pixelate Visualization
,Stitch Images
,LMM For Classification
,Keypoint Detection Model
,Gaze Detection
,Instance Segmentation Model
,CLIP Embedding Model
,Blur Visualization
,OCR Model
,Mask Visualization
,Object Detection Model
,Single-Label Classification Model
,SIFT
,YOLO-World Model
,Polygon Visualization
,Halo Visualization
,VLM as Detector
,Google Vision OCR
,Model Comparison Visualization
,Camera Focus
,CogVLM
,Byte Tracker
,Image Threshold
,Keypoint Visualization
,Template Matching
,Image Preprocessing
,Roboflow Dataset Upload
,Relative Static Crop
,Background Color Visualization
,Clip Comparison
,Bounding Box Visualization
,Image Contours
,Label Visualization
,Line Counter Visualization
,Classification Label Visualization
,Ellipse Visualization
,LMM
,Reference Path Visualization
,Stability AI Inpainting
,VLM as Detector
,Dynamic Crop
,Dominant Color
,Triangle Visualization
,Absolute Static Crop
,Object Detection Model
,Florence-2 Model
,Detections Stitch
,Barcode Detection
,SIFT Comparison
,Keypoint Detection Model
,Corner Visualization
,Perspective Correction
,Polygon Zone Visualization
,VLM as Classifier
,Image Slicer
,Trace Visualization
,OpenAI
,Crop Visualization
,Instance Segmentation Model
,Buffer
,Roboflow Dataset Upload
,Clip Comparison
,VLM as Classifier
,Anthropic Claude
,Image Blur
,Dot Visualization
,Image Convert Grayscale
,Circle Visualization
,Google Gemini
,QR Code Detection
,Segment Anything 2 Model
,Single-Label Classification Model
,Florence-2 Model
,Time in Zone
,Detections Stabilizer
,OpenAI
,Color Visualization
,Pixel Color Count
,Multi-Label Classification Model
,Llama 3.2 Vision
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Absolute Static Crop
in version v1
has.
Bindings
-
input
-
output
crops
(image
): Image in workflows.
Example JSON definition of step Absolute Static Crop
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/absolute_static_crop@v1",
"images": "$inputs.image",
"x_center": 40,
"y_center": 40,
"width": 40,
"height": 40
}