Barcode Detection¶
Class: BarcodeDetectorBlockV1
Source: inference.core.workflows.core_steps.models.third_party.barcode_detection.v1.BarcodeDetectorBlockV1
Detect the location of barcodes in an image.
This block is useful for manufacturing and consumer packaged goods projects where you need to detect a barcode region in an image. You can then apply Crop block to isolate each barcode then apply further processing (i.e. OCR of the characters on a barcode).
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/barcode_detector@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.. | ❌ |
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 Barcode Detection
in version v1
.
- inputs:
Stability AI Inpainting
,Label Visualization
,Depth Estimation
,Corner Visualization
,Triangle Visualization
,Background Color Visualization
,Image Blur
,Polygon Zone Visualization
,Model Comparison Visualization
,Line Counter Visualization
,Camera Focus
,Circle Visualization
,Perspective Correction
,Relative Static Crop
,Grid Visualization
,Stability AI Image Generation
,Trace Visualization
,Image Slicer
,Blur Visualization
,Classification Label Visualization
,Image Convert Grayscale
,Image Preprocessing
,SIFT Comparison
,Stitch Images
,Reference Path Visualization
,Stability AI Outpainting
,Polygon Visualization
,Camera Calibration
,Mask Visualization
,SIFT
,Bounding Box Visualization
,Image Threshold
,Keypoint Visualization
,Ellipse Visualization
,Crop Visualization
,Color Visualization
,Pixelate Visualization
,Image Slicer
,Dynamic Crop
,Image Contours
,Absolute Static Crop
,Halo Visualization
,Dot Visualization
- outputs: None
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Barcode Detection
in version v1
has.
Bindings
-
input
images
(image
): The image to infer on..
-
output
predictions
(bar_code_detection
): Prediction with barcode detection.
Example JSON definition of step Barcode Detection
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/barcode_detector@v1",
"images": "$inputs.image"
}