GrabCutModes
Objective-C
NS_ENUM(int, GrabCutModes) {
GC_INIT_WITH_RECT = 0,
GC_INIT_WITH_MASK = 1,
GC_EVAL = 2,
GC_EVAL_FREEZE_MODEL = 3
}
Swift
enum GrabCutModes : Int32
-
Declaration
Objective-C
GC_INIT_WITH_RECT = 0
Swift
case GC_INIT_WITH_RECT = 0
-
Declaration
Objective-C
GC_INIT_WITH_MASK = 1
Swift
case GC_INIT_WITH_MASK = 1
-
Declaration
Objective-C
GC_EVAL = 2
Swift
case GC_EVAL = 2
-
Declaration
Objective-C
GC_EVAL_FREEZE_MODEL = 3
Swift
case GC_EVAL_FREEZE_MODEL = 3