DetectLabelsRequest Type
Request object specifically for packaging face detection request data.
Field Summary
Name | Type | Meaning |
---|---|---|
Image | Image Object | Required. An Image object representing the object to be detected. |
Param | DetectLabelsParam Object | Not required. It represents the display details of the object to be detected |
Method Summary
DetectLabelsRequest(image=None, param=None)
Syntax Sample
from vision.models import DetectLabelsRequest
detect_labels_request=DetectLabelsRequest(image=Image(content=source_bytes), param=DetectLabelsParam(max_labels=5,min_confidence=0.1))
Parameters
image: Image Type. Necessary. The Image object that needs to be detected.
param: DetectLabelsParam Object
Not required, The result shows the setting parameter object
max_labels: The results that show the most number of results
min_confidence: Shows only result labels above this confidence level
Return Type
- DetectLabelsRequest Object