Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HMS Core
Class Info |
|---|
com.huawei.hms.mlsdk.imgseg.MLImageSegmentationSetting Sets the image segmentation analyzer. Attributes of the analyzer MLImageSegmentationAnalyzer include:
|
Qualifier and Type | Class Name and Description |
|---|---|
static class | MLImageSegmentationSetting.Factory Creates an instance of the image segmentation configurator to set image segmentation attributes. |
Qualifier and Type | Method Name and Description |
|---|---|
boolean | equals(Object target) Determines whether the input instance is equal to the current instance. |
int | Obtains the detection mode. |
int | getScene() Obtains results to be returned. Choose only necessary results to be returned to reduce the processing time of unnecessary capabilities. |
int | hashCode() Obtains the hash value of the current instance. |
boolean | isExact() Checks whether fine detection is supported. |
Field |
|---|
public static final int BODY_SEG Detection mode 0: detection based on the portrait model Constant value: 0 |
Field |
|---|
public static final int IMAGE_SEG Detection mode 1: detection based on the multiclass image mode Constant value: 1 |
Field |
|---|
public static final int HAIR_SEG Detection mode 2: detection based on the hair model Constant value: 2 |
Method |
|---|
public boolean equals(Object target) Determines whether the input instance is equal to the current instance. |
Name | Description |
|---|---|
target | Instance to be compared. |
Type | Description |
|---|---|
boolean |
|
Method |
|---|
public int getAnalyzerType() Obtains the detection mode. |
Type | Description |
|---|---|
int | Detection mode result.
|
Method |
|---|
public int getScene() Obtains results to be returned. Choose only necessary results to be returned to reduce the processing time of unnecessary capabilities. |
Type | Description |
|---|---|
int |
|
Method |
|---|
public int hashCode() Obtains the hash value of the current instance. |
Type | Description |
|---|---|
int | Hash value of the current instance. |
Method |
|---|
public boolean isExact() Checks whether fine detection is supported. |
Type | Description |
|---|---|
boolean | Whether fine detection is supported.
|
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.