Comment on page
Configure Label Detection
Label detection is a computer vision task to detect any entities in an image such as objects, products, animal species, scene, location, action, activities, and more.
It differs from object detection in that it does not return a bounding box or polygon around a particular instance. Instead, it will returns the label description and confidence scores.
For example, the image above may return the following labels:
Label detection can be useful if you do not have a custom model trained with your specific data or if you are looking to sort through the type of data you have before you label.
To add a label detection block:
- 1.Navigate to the "Pipeline Blocks" tab.
- 2.Under the Prediction section, click on the Label Detection box to configure this processing block. You may need to click "Show All" or use the search box to find the block.
- 3.Enter the desired Result Limit between 1-50. This will limit the number of results returned per image for this block.
- 4.Click "Add to Pipeline" to add the block to your pipeline. This will bring you back to the "Pipeline Blocks" tab. From there you can add additional blocks and drag and drop to rearrange around other blocks as needed.
Recommended image size for label detection: 640 x 480
Vision API requires images to be a sufficient size so that important features within the request can be easily distinguished. Sizes smaller or larger than these recommended sizes may work. However, smaller sizes may result in lower accuracy, while larger sizes may increase processing time and bandwidth usage without providing comparable benefits in accuracy.
Image file size should not exceed 20 MB.