| class info |
| com.huawei.hms.mlsdk.productvisionsearch.cloud.MLRemoteProductVisionSearchAnalyzerSetting.Factory |
| Factory class of MLRemoteProductVisionSearchAnalyzerSetting. |
| Return type | Method name |
| MLRemoteProductVisionSearchAnalyzerSetting | create() |
| MLRemoteProductVisionSearchAnalyzerSetting.Factory | setLargestNumOfReturns(int maxResults) |
| Method |
| public MLRemoteProductVisionSearchAnalyzerSetting create() |
| Creates an instance of the product visual search configurator (MLRemoteProductVisionSearchAnalyzerSetting). |
Return
| Type | desc |
| MLRemoteProductVisionSearchAnalyzerSetting | Returns an instance of the product visual search configurator (MLRemoteProductVisionSearchAnalyzerSetting). |
| Method |
| public MLRemoteProductVisionSearchAnalyzerSetting.Factory setLargestNumOfReturns(int maxResults) |
| Sets the maximum number of detection results for the analyzer. |
Parameters
| Parameter name | Parameter desc |
| maxResults | Returns the maximum number of detection results. The value ranges from 1 to 20. The default value is 5. |
Return
| Type | desc |
| MLRemoteProductVisionSearchAnalyzerSetting.Factory | Returns the instance of MLRemoteProductVisionSearchAnalyzerSetting.Factory. |