• 서비스
  • 가격
  • 리소스
  • 기술지원
이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

가상 배경

Accurately removes the background in real time and applies a virtual background (customizable):





Android Integration Guide

Android SDK Integration Guide. See Integrating Core SDK (Android).

Methodology

setEffect(String effectName, int effectValue, String resourcePath, Map<String, String> extraInfo)
Detailed parameter description, see setEffect.

Virtual Background Settings

mXmagicApi.setEffect(EffectName.EFFECT_SEGMENTATION, 45, AppConfig.motionResPath + "/segmentMotionRes/video_segmentation_blur_45", null);

Custom Background Settings

Map<String, String> extraInfo = new HashMap<>();
extraInfo.put("segType", "custom_background");
extraInfo.put("bgType", "0");
extraInfo.put("bgPath", imgPath);
mXmagicApi.setEffect(EffectName.EFFECT_SEGMENTATION, 0, AppConfig.motionResPath + "/segmentMotionRes/video_empty_segmentation", extraInfo);