Package com.banuba.sdk.portrait_match
Interface PortraitMatch
- All Known Implementing Classes:
PortraitMatch.CppProxy
public interface PortraitMatch
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PortraitMatch.CppProxy
-
Method Summary
Modifier and Type Method Description PortraitMatchOutput
blend(PortraitMatchBackendData data, boolean blur, boolean brightness)
return null optional when errorstatic PortraitMatch
create(java.lang.String imageIndexPath)
java.util.ArrayList<PortraitMatchIndex>
processPhoto(FullImageData inputImage, int indexesSize)
if indexesSize == 0, all exist will be returned, but slowerPortraitMatchOutput
processPortrait(FullImageData sourceImage, FullImageData portraitImage, float fov)
-
Method Details
-
processPhoto
@NonNull java.util.ArrayList<PortraitMatchIndex> processPhoto(@NonNull FullImageData inputImage, int indexesSize)if indexesSize == 0, all exist will be returned, but slower -
blend
@Nullable PortraitMatchOutput blend(@NonNull PortraitMatchBackendData data, boolean blur, boolean brightness)return null optional when error -
processPortrait
@Nullable PortraitMatchOutput processPortrait(@NonNull FullImageData sourceImage, @NonNull FullImageData portraitImage, float fov) -
create
-