MeiCam SDK For Android  3.10.1
Classes | Public Member Functions | Static Public Member Functions | List of all members
com.meicam.effect.sdk.NvsEffectSdkContext Class Reference

Special effect context. More...

Classes

class  SdkVersion
 Meishe SDK version information. More...
 

Public Member Functions

boolean isSdkAuthorised ()
 Check whether sdk is authorized. More...
 
SdkVersion getSdkVersion ()
 Gets Meishe SDK version information. More...
 
NvsAssetPackageManager getAssetPackageManager ()
 Gets the resource package manager. More...
 
List< String > getAllBuiltinVideoFxNames ()
 Gets all built-in video effects names. More...
 
NvsVideoEffect createVideoEffect (String fxIds, NvsRational aspectRatio)
 Creates video effect object. More...
 
NvsVideoEffect createVideoEffect (String fxIds, NvsRational aspectRatio, boolean realTimeMode)
 Creates video effect object. More...
 
NvsVideoEffectTransition createVideoTransition (String transitionIds, NvsRational aspectRatio)
 Creates video transition object. More...
 
NvsVideoEffectAnimatedSticker createAnimatedSticker (long inPoint, long duration, boolean isPanoramic, String animatedStickerId, NvsRational aspectRatio)
 Creates animated sticker object. More...
 
NvsVideoEffectAnimatedSticker createCustomAnimatedSticker (long inPoint, long duration, boolean isPanoramic, String animatedStickerId, String customImageFilePath, NvsRational aspectRatio)
 Creates custom animated sticker object. More...
 
NvsVideoEffectCompoundCaption createCompoundCaption (long inPoint, long duration, String compoundCaptionPackageId, NvsRational aspectRatio)
 Creates compound caption object. More...
 
NvsVideoEffectCaption createCaption (String captionText, long inPoint, long duration, String captionStylePackageId, NvsRational aspectRatio)
 Create caption. More...
 
NvsVideoEffectCaption CreatePanoramicCaption (String captionText, long inPoint, long duration, String captionStylePackageId, NvsRational aspectRatio)
 Add a panorama caption on the timeline. More...
 
NvsVideoEffectCaption createModularCaption (String captionText, long inPoint, long duration, NvsRational aspectRatio)
 Add a modular caption on the timeline. More...
 
NvsEffectRenderCore createEffectRenderCore ()
 Creates effect rendering object. More...
 
String registerFontByFilePath (String fontFilePath)
 Gets font file's fontFamily. More...
 
void unRegisterFontByFilePath (String fontFilePath)
 Unregister fonts according to the file path. More...
 
List< NvsFontInfogetFontInfoByFilePath (String fontFilePath)
 Gets font file's font information. More...
 
int getDeviceCpuLevel ()
 Get Android camera device cpu power level. More...
 

Static Public Member Functions

static NvsEffectSdkContext init (Context ctx, String sdkLicenseFilePath, int flags)
 Initializes a singleton instance of the effect context. More...
 
static NvsEffectSdkContext init (Activity mainActivity, String sdkLicenseFilePath, int flags)
 Initializes a singleton instance of the effect context. More...
 
static NvsEffectSdkContext init (Activity mainActivity, String sdkLicenseFilePath)
 Initialize a singleton instance of the effect context. More...
 
static void close ()
 Destroies the effect context instance. Note: users can create and get it again after it is destroyed. More...
 
static NvsEffectSdkContext getInstance ()
 Gets a singleton instance of the effect context (users must initialize it before it can be used). More...
 
static int hasARModule ()
 Checks if the current SDK contains an AR module. More...
 
static boolean initHumanDetection (Context cxt, String modelFilePath, String licenseFilePath, int features)
 Initializes the human body detection mechanism. More...
 
static boolean initHumanDetectionExt (Context ctx, String modelFilePath, String licenseFilePath, int features)
 Human detection initialization extension. More...
 
static void closeHumanDetection ()
 Closes the human detection mechanism. More...
 
static boolean setupHumanDetectionData (int dataType, String dataFilePath)
 Initializes human detection related data packages. More...
 

Static Public Attributes

Human detection features

static final int HUMAN_DETECTION_FEATURE_FACE_LANDMARK = 1
 Landmarks on human face. More...
 
static final int HUMAN_DETECTION_FEATURE_FACE_ACTION = 2
 Actions of human face. More...
 
static final int HUMAN_DETECTION_FEATURE_AVATAR_EXPRESSION = 4
 Avatar Expressions of human face. More...
 
static final int HUMAN_DETECTION_FEATURE_VIDEO_MODE = 8
 Video detection mode. More...
 
static final int HUMAN_DETECTION_FEATURE_IMAGE_MODE = 16
 Image detection mode. More...
 
static final int HUMAN_DETECTION_FEATURE_SEMI_IMAGE_MODE = 32768
 Semi-image detection mode. More...
 
static final int HUMAN_DETECTION_FEATURE_MULTI_THREAD = 32
 Multi thread detection. More...
 
static final int HUMAN_DETECTION_FEATURE_SINGLE_THREAD = 64
 Single thread detection. More...
 
static final int HUMAN_DETECTION_FEATURE_EXTRA = 128
 Extra features of human face. More...
 
static final int HUMAN_DETECTION_FEATURE_SEGMENTATION_BACKGROUND = 256
 Background segmentation. More...
 
static final int HUMAN_DETECTION_FEATURE_HAND_LANDMARK = 512
 Landmarks on hand. More...
 
static final int HUMAN_DETECTION_FEATURE_HAND_ACTION = 1024
 Hand actions. More...
 
static final int HUMAN_DETECTION_FEATURE_HAND_BONE = 2048
 Bone landmarks of hand. More...
 
static final int HUMAN_DETECTION_FEATURE_EYEBALL_LANDMARK = 4096
 Eyeball landmarks. More...
 
static final int HUMAN_DETECTION_FEATURE_MULTI_DETECT = 8192
 Multiple detect, say multiple rois detection. More...
 
static final int HUMAN_DETECTION_FEATURE_SEGMENTATION_SKY = 16384
 Sky segmentation. More...
 
static final int HUMAN_DETECTION_FEATURE_SEGMENTATION_HALF_BODY = 65536
 Half body segmentation. More...
 
static final int HUMAN_DETECTION_FEATURE_FACE_ATTR = 131072
 Base face attributes. More...
 
static final int HUMAN_DETECTION_FEATURE_FACE_ATTR_SHAPE = 262144
 
Human detection package type

static final int HUMAN_DETECTION_DATA_TYPE_FAKE_FACE = 0
 Fake face package type. More...
 
static final int HUMAN_DETECTION_DATA_TYPE_MAKEUP = 1
 Makeup data pack type. More...
 
static final int HUMAN_DETECTION_DATA_TYPE_SKIN_COLOR = 2
 Skin color data pack type. More...
 
static final int HUMAN_DETECTION_DATA_TYPE_PE106 = 3
 PE 106 data pack type. More...
 
static final int HUMAN_DETECTION_DATA_TYPE_PE240 = 4
 PE 240 data pack type. More...
 
static final int HUMAN_DETECTION_DATA_TYPE_CUSTOM_AVATAR = 5
 Custom avatar data pack type. More...
 
static final int HUMAN_DETECTION_DATA_TYPE_MAKEUP2 = 6
 
cpu power level

Since
3.8.0
static final int DEVICE_CPU_POWER_LEVEL_UNKNOWN = -1
 unknown level More...
 
static final int DEVICE_CPU_POWER_LEVEL_LOW = 0
 low level More...
 
static final int DEVICE_CPU_POWER_LEVEL_MEDIUM = 1
 medium level More...
 
static final int DEVICE_CPU_POWER_LEVEL_HIGH = 2
 

Detailed Description

Special effect context.

The effect context class is the entry to the entire SDK framework. During development, NvsEffectSdkContext provides the "sharedInstance" interface to create the unique streaming context instance. With this instance object, users can handle one or more effects. After use, the object instance of the effect context should be destroyed.Whening adding asset package (capture effect package, scene resource package, etc.), users should firstly install it and get the package Id of the effect after installation. The package ID serves as the handle of effect. However built-in effects can be directly used by their names.
Paths for resource, authorization, etc. in sdk interfaces must be full path.

Warning
In the NvsEffectSdkContext class, all public APIs are used in the UI thread! ! !

Member Function Documentation

◆ close()

static void com.meicam.effect.sdk.NvsEffectSdkContext.close ( )
inlinestatic

Destroies the effect context instance. Note: users can create and get it again after it is destroyed.

See also
init
getInstance

◆ closeHumanDetection()

static void com.meicam.effect.sdk.NvsEffectSdkContext.closeHumanDetection ( )
inlinestatic

Closes the human detection mechanism.

Since
2.5.0

◆ createAnimatedSticker()

NvsVideoEffectAnimatedSticker com.meicam.effect.sdk.NvsEffectSdkContext.createAnimatedSticker ( long  inPoint,
long  duration,
boolean  isPanoramic,
String  animatedStickerId,
NvsRational  aspectRatio 
)
inline

Creates animated sticker object.

Parameters
inPointIn point of sticker
durationDuration of sticker
isPanoramicWhether panoramic sticker
animatedStickerIdAnimated sticker package id.
aspectRatioThe aspect ratio of animated sticker.
Returns
Returns the created animated sticker object.

◆ createCaption()

NvsVideoEffectCaption com.meicam.effect.sdk.NvsEffectSdkContext.createCaption ( String  captionText,
long  inPoint,
long  duration,
String  captionStylePackageId,
NvsRational  aspectRatio 
)
inline

Create caption.

Parameters
captionTextText of caption
inPointThe in point of the caption (in microseconds)
durationCaption display duration (in microseconds)
captionStylePackageIdCaption style package Id.If it does not exist, you can pass an empty string or null.
Returns
Returns the NvsTimelineCaption object.
It will return null in the following situations:
1. No caption function authorization;
2. If inPoint is less than 0 or greater than or equal to the current timeline duration, or duration is not greater than 0.
Since
2.20.0
See also
removeCaption

◆ createCompoundCaption()

NvsVideoEffectCompoundCaption com.meicam.effect.sdk.NvsEffectSdkContext.createCompoundCaption ( long  inPoint,
long  duration,
String  compoundCaptionPackageId,
NvsRational  aspectRatio 
)
inline

Creates compound caption object.

Parameters
inPointIn point of caption
durationDuration of caption
compoundCaptionPackageIdcaption package id.
aspectRatioThe aspect ratio of caption
Returns
Returns the created compound caption object.

◆ createCustomAnimatedSticker()

NvsVideoEffectAnimatedSticker com.meicam.effect.sdk.NvsEffectSdkContext.createCustomAnimatedSticker ( long  inPoint,
long  duration,
boolean  isPanoramic,
String  animatedStickerId,
String  customImageFilePath,
NvsRational  aspectRatio 
)
inline

Creates custom animated sticker object.

Parameters
inPointIn point of sticker
durationDuration of sticker
isPanoramicWhether panoramic sticker
animatedStickerIdAnimated sticker package id.
customImageFilePathcustom sticker image file path.
aspectRatioThe aspect ratio of animated sticker.
Returns
Returns the created animated sticker object.

◆ createEffectRenderCore()

NvsEffectRenderCore com.meicam.effect.sdk.NvsEffectSdkContext.createEffectRenderCore ( )
inline

Creates effect rendering object.

Returns
Returns the created effect rendering object.

◆ createModularCaption()

NvsVideoEffectCaption com.meicam.effect.sdk.NvsEffectSdkContext.createModularCaption ( String  captionText,
long  inPoint,
long  duration,
NvsRational  aspectRatio 
)
inline

Add a modular caption on the timeline.

Parameters
captionTextText of caption
inPointThe in point of the caption on the timeline (in microseconds)
durationCaption display duration (in microseconds)
Returns
Returns the NvsTimelineCaption object.
It will return null in the following situations:
1. No caption function authorization;
2. If inPoint is less than 0 or greater than or equal to the current timeline duration, or duration is not greater than 0.
Since
2.20.0
See also
removeCaption

◆ CreatePanoramicCaption()

NvsVideoEffectCaption com.meicam.effect.sdk.NvsEffectSdkContext.CreatePanoramicCaption ( String  captionText,
long  inPoint,
long  duration,
String  captionStylePackageId,
NvsRational  aspectRatio 
)
inline

Add a panorama caption on the timeline.

Parameters
captionTextText of caption
inPointThe in point of the caption on the timeline (in microseconds)
durationCaption display duration (in microseconds)
captionStylePackageIdCaption style package Id.If it does not exist, you can pass an empty string or null.
Returns
Returns the NvsTimelineCaption object.
It will return null in the following situations:
1. No caption function authorization;
2. If inPoint is less than 0 or greater than or equal to the current timeline duration, or duration is not greater than 0.
Since
2.20.0
See also
removeCaption

◆ createVideoEffect() [1/2]

NvsVideoEffect com.meicam.effect.sdk.NvsEffectSdkContext.createVideoEffect ( String  fxIds,
NvsRational  aspectRatio 
)
inline

Creates video effect object.

Parameters
fxIdsVideo effects id. For built-in video effects, it is the name of the effect. If it is a resource package effect, it is the resource package id.
aspectRatioThe aspect ratio of special effect.
Returns
Returns the created special effect object.

◆ createVideoEffect() [2/2]

NvsVideoEffect com.meicam.effect.sdk.NvsEffectSdkContext.createVideoEffect ( String  fxIds,
NvsRational  aspectRatio,
boolean  realTimeMode 
)
inline

Creates video effect object.

Parameters
fxIdsVideo effects id. For built-in video effects, it is the name of the effect. If it is a resource package effect, it is the resource package id.
aspectRatioThe aspect ratio of special effect.
realTimeModereal time mode.
Returns
Returns the created special effect object.

◆ createVideoTransition()

NvsVideoEffectTransition com.meicam.effect.sdk.NvsEffectSdkContext.createVideoTransition ( String  transitionIds,
NvsRational  aspectRatio 
)
inline

Creates video transition object.

Parameters
fxIdsVideo transition id. For built-in video transitions, it is the name of the transition. If it is a resource package transition, it is the resource package id.
aspectRatioThe aspect ratio of special transition.
Returns
Returns the created special transition object.

◆ getAllBuiltinVideoFxNames()

List<String> com.meicam.effect.sdk.NvsEffectSdkContext.getAllBuiltinVideoFxNames ( )
inline

Gets all built-in video effects names.

Returns
Returns a List containing all built-in video effects names.
See also
getAllBuiltinAudioFxNames

◆ getAssetPackageManager()

NvsAssetPackageManager com.meicam.effect.sdk.NvsEffectSdkContext.getAssetPackageManager ( )
inline

Gets the resource package manager.

Returns
Returns the obtained resource package manager object.

◆ getDeviceCpuLevel()

int com.meicam.effect.sdk.NvsEffectSdkContext.getDeviceCpuLevel ( )
inline

Get Android camera device cpu power level.

Returns
cpu level, Please refer to cpu power level.
Since
3.8.0

◆ getFontInfoByFilePath()

List<NvsFontInfo> com.meicam.effect.sdk.NvsEffectSdkContext.getFontInfoByFilePath ( String  fontFilePath)
inline

Gets font file's font information.

Parameters
fontFilePathFont file path
Returns
Returns file's all font information

◆ getInstance()

static NvsEffectSdkContext com.meicam.effect.sdk.NvsEffectSdkContext.getInstance ( )
inlinestatic

Gets a singleton instance of the effect context (users must initialize it before it can be used).

Returns
Returns a singleton instance object for the effect context.
See also
init
close

◆ getSdkVersion()

SdkVersion com.meicam.effect.sdk.NvsEffectSdkContext.getSdkVersion ( )
inline

Gets Meishe SDK version information.

Returns
Returns Meishe SDK version information objects.
Since
2.3.0

◆ hasARModule()

static int com.meicam.effect.sdk.NvsEffectSdkContext.hasARModule ( )
inlinestatic

Checks if the current SDK contains an AR module.

Returns
The return value indicates whether the AR module is included.
Since
2.5.0

◆ init() [1/3]

static NvsEffectSdkContext com.meicam.effect.sdk.NvsEffectSdkContext.init ( Activity  mainActivity,
String  sdkLicenseFilePath 
)
inlinestatic

Initialize a singleton instance of the effect context.

Parameters
mainActivityMain Android Activity object
sdkLicenseFilePathThe specified path of the SDK license file
Returns
Returns a singleton instance object for the effect context.
See also
getInstance
close

◆ init() [2/3]

static NvsEffectSdkContext com.meicam.effect.sdk.NvsEffectSdkContext.init ( Activity  mainActivity,
String  sdkLicenseFilePath,
int  flags 
)
inlinestatic

Initializes a singleton instance of the effect context.

Parameters
mainActivityMain Android Activity object.
sdkLicenseFilePathSpecified the path of the SDK license file.
flagsFlag field. If there is no special requirement, please fill in 0.
Returns
Returns a singleton instance object for the effect context.
Since
2.3.0
See also
getInstance
close

◆ init() [3/3]

static NvsEffectSdkContext com.meicam.effect.sdk.NvsEffectSdkContext.init ( Context  ctx,
String  sdkLicenseFilePath,
int  flags 
)
inlinestatic

Initializes a singleton instance of the effect context.

Parameters
ctxAndroid Context object.
sdkLicenseFilePathSpecifies the path of the SDK license file.
flagsFlag field. If there is no special requirement, please fill in 0.
Returns
Returns a singleton instance object for the effect context.
Since
2.3.0
See also
getInstance
close

◆ initHumanDetection()

static boolean com.meicam.effect.sdk.NvsEffectSdkContext.initHumanDetection ( Context  cxt,
String  modelFilePath,
String  licenseFilePath,
int  features 
)
inlinestatic

Initializes the human body detection mechanism.

Parameters
cxtThe context object from android.
modelFilePathThe path of model file.
licenseFilePathThe path of license file.
featuresHuman detection feature flag field. Please refer to Human detection features.
Returns
The return value indicates whether it is successful.
Since
2.5.0

◆ initHumanDetectionExt()

static boolean com.meicam.effect.sdk.NvsEffectSdkContext.initHumanDetectionExt ( Context  ctx,
String  modelFilePath,
String  licenseFilePath,
int  features 
)
inlinestatic

Human detection initialization extension.

Parameters
ctxThe context object from android.
modelFilePathThe path of extra modle file.
licenseFilePathThe path of authorization file.
featuresHuman detection features field, please refer to Human detection features.
Returns
Returns a value representing if it succeeded.
Since
2.17.1

◆ isSdkAuthorised()

boolean com.meicam.effect.sdk.NvsEffectSdkContext.isSdkAuthorised ( )
inline

Check whether sdk is authorized.

◆ registerFontByFilePath()

String com.meicam.effect.sdk.NvsEffectSdkContext.registerFontByFilePath ( String  fontFilePath)
inline

Gets font file's fontFamily.

Parameters
fontFilePathFont file path
Returns
Returns font file's fontFamily information
Since
2.23.0

◆ setupHumanDetectionData()

static boolean com.meicam.effect.sdk.NvsEffectSdkContext.setupHumanDetectionData ( int  dataType,
String  dataFilePath 
)
inlinestatic

Initializes human detection related data packages.

Parameters
dataTypeHuman detection package type. Please refer to Human Detection Packet Type.
dataFilePathThe path of the data file.
Returns
The return value indicates whether it is successful.
Since
2.6.0

◆ unRegisterFontByFilePath()

void com.meicam.effect.sdk.NvsEffectSdkContext.unRegisterFontByFilePath ( String  fontFilePath)
inline

Unregister fonts according to the file path.

Since
2.23.0

Member Data Documentation

◆ DEVICE_CPU_POWER_LEVEL_HIGH

final int com.meicam.effect.sdk.NvsEffectSdkContext.DEVICE_CPU_POWER_LEVEL_HIGH = 2
static

high level

◆ DEVICE_CPU_POWER_LEVEL_LOW

final int com.meicam.effect.sdk.NvsEffectSdkContext.DEVICE_CPU_POWER_LEVEL_LOW = 0
static

low level

◆ DEVICE_CPU_POWER_LEVEL_MEDIUM

final int com.meicam.effect.sdk.NvsEffectSdkContext.DEVICE_CPU_POWER_LEVEL_MEDIUM = 1
static

medium level

◆ DEVICE_CPU_POWER_LEVEL_UNKNOWN

final int com.meicam.effect.sdk.NvsEffectSdkContext.DEVICE_CPU_POWER_LEVEL_UNKNOWN = -1
static

unknown level

◆ HUMAN_DETECTION_DATA_TYPE_CUSTOM_AVATAR

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_DATA_TYPE_CUSTOM_AVATAR = 5
static

Custom avatar data pack type.

◆ HUMAN_DETECTION_DATA_TYPE_FAKE_FACE

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_DATA_TYPE_FAKE_FACE = 0
static

Fake face package type.

◆ HUMAN_DETECTION_DATA_TYPE_MAKEUP

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_DATA_TYPE_MAKEUP = 1
static

Makeup data pack type.

◆ HUMAN_DETECTION_DATA_TYPE_MAKEUP2

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_DATA_TYPE_MAKEUP2 = 6
static

Makeup2 data pack type

◆ HUMAN_DETECTION_DATA_TYPE_PE106

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_DATA_TYPE_PE106 = 3
static

PE 106 data pack type.

◆ HUMAN_DETECTION_DATA_TYPE_PE240

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_DATA_TYPE_PE240 = 4
static

PE 240 data pack type.

◆ HUMAN_DETECTION_DATA_TYPE_SKIN_COLOR

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_DATA_TYPE_SKIN_COLOR = 2
static

Skin color data pack type.

◆ HUMAN_DETECTION_FEATURE_AVATAR_EXPRESSION

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_AVATAR_EXPRESSION = 4
static

Avatar Expressions of human face.

◆ HUMAN_DETECTION_FEATURE_EXTRA

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_EXTRA = 128
static

Extra features of human face.

◆ HUMAN_DETECTION_FEATURE_EYEBALL_LANDMARK

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_EYEBALL_LANDMARK = 4096
static

Eyeball landmarks.

◆ HUMAN_DETECTION_FEATURE_FACE_ACTION

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_FACE_ACTION = 2
static

Actions of human face.

◆ HUMAN_DETECTION_FEATURE_FACE_ATTR

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_FACE_ATTR = 131072
static

Base face attributes.

◆ HUMAN_DETECTION_FEATURE_FACE_ATTR_SHAPE

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_FACE_ATTR_SHAPE = 262144
static

Face shape attribute

◆ HUMAN_DETECTION_FEATURE_FACE_LANDMARK

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_FACE_LANDMARK = 1
static

Landmarks on human face.

◆ HUMAN_DETECTION_FEATURE_HAND_ACTION

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_HAND_ACTION = 1024
static

Hand actions.

◆ HUMAN_DETECTION_FEATURE_HAND_BONE

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_HAND_BONE = 2048
static

Bone landmarks of hand.

◆ HUMAN_DETECTION_FEATURE_HAND_LANDMARK

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_HAND_LANDMARK = 512
static

Landmarks on hand.

◆ HUMAN_DETECTION_FEATURE_IMAGE_MODE

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_IMAGE_MODE = 16
static

Image detection mode.

◆ HUMAN_DETECTION_FEATURE_MULTI_DETECT

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_MULTI_DETECT = 8192
static

Multiple detect, say multiple rois detection.

◆ HUMAN_DETECTION_FEATURE_MULTI_THREAD

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_MULTI_THREAD = 32
static

Multi thread detection.

◆ HUMAN_DETECTION_FEATURE_SEGMENTATION_BACKGROUND

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_SEGMENTATION_BACKGROUND = 256
static

Background segmentation.

◆ HUMAN_DETECTION_FEATURE_SEGMENTATION_HALF_BODY

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_SEGMENTATION_HALF_BODY = 65536
static

Half body segmentation.

◆ HUMAN_DETECTION_FEATURE_SEGMENTATION_SKY

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_SEGMENTATION_SKY = 16384
static

Sky segmentation.

◆ HUMAN_DETECTION_FEATURE_SEMI_IMAGE_MODE

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_SEMI_IMAGE_MODE = 32768
static

Semi-image detection mode.

◆ HUMAN_DETECTION_FEATURE_SINGLE_THREAD

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_SINGLE_THREAD = 64
static

Single thread detection.

◆ HUMAN_DETECTION_FEATURE_VIDEO_MODE

final int com.meicam.effect.sdk.NvsEffectSdkContext.HUMAN_DETECTION_FEATURE_VIDEO_MODE = 8
static

Video detection mode.


The documentation for this class was generated from the following file: