目录

class info
com.huawei.hms.mlsdk.imgseg.MLImageSegmentationClassification
Image segmentation category. Eleven categories of image segmentation are provided by the image segmentation algorithm.

Constant Summary

TypeNameDesc
intTYPE_BACKGOURND0: background
intTYPE_HUMAN1: human body
intTYPE_SKY2: sky
intTYPE_GRASS3: plant
intTYPE_FOOD4: food
intTYPE_CAT5: cat and dog
intTYPE_BUILD6: building
intTYPE_FLOWER7: flower
intTYPE_WATER8: water
intTYPE_SAND9: sand
intTYPE_MOUNTAIN10: mountain

Constants

Constant
public static final int TYPE_BACKGOURND

0: background.

Constant value: 0

Constant
public static final int TYPE_HUMAN

1: human body.

Constant value: 1

Constant
public static final int TYPE_SKY

2: sky.

Constant value: 2

Constant
public static final int TYPE_GRASS

3: plant.

Constant value: 3

Constant
public static final int TYPE_FOOD

4: food.

Constant value: 4

Constant
public static final int TYPE_CAT

5: cat and dog.

Constant value: 5

Constant
public static final int TYPE_BUILD

6: building.

Constant value: 6

Constant
public static final int TYPE_FLOWER

7: flower.

Constant value: 7

Constant
public static final int TYPE_WATER

8: water.

Constant value: 8

Constant
public static final int TYPE_SAND

9: sand.

Constant value: 9

Constant
public static final int TYPE_MOUNTAIN

10: mountain.

Constant value: 10

Public Constructors

Method
public MLImageSegmentationClassification()