Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ProductRecognizerConfig.
Message describing ProductRecognizerConfig.
Generated from protobuf message google.cloud.visionai.v1.ProductRecognizerConfig
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ retail_endpoint |
string
The resource name of retail endpoint to use. |
↳ recognition_confidence_threshold |
float
Confidence threshold to filter detection results. If not set, a system default value will be used. |
getRetailEndpoint
The resource name of retail endpoint to use.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRetailEndpoint
The resource name of retail endpoint to use.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRecognitionConfidenceThreshold
Confidence threshold to filter detection results. If not set, a system default value will be used.
| Returns | |
|---|---|
| Type | Description |
float |
|
setRecognitionConfidenceThreshold
Confidence threshold to filter detection results. If not set, a system default value will be used.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|