Package com.banuba.sdk.portrait_match
Class PortraitMatch.CppProxy
java.lang.Object
com.banuba.sdk.portrait_match.PortraitMatch.CppProxy
- All Implemented Interfaces:
PortraitMatch
- Enclosing interface:
- PortraitMatch
public static final class PortraitMatch.CppProxy extends java.lang.Object implements PortraitMatch
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.portrait_match.PortraitMatch
PortraitMatch.CppProxy
-
Method Summary
Modifier and Type Method Description void
_djinni_private_destroy()
PortraitMatchOutput
blend(PortraitMatchBackendData data, boolean blur, boolean brightness)
return null optional when errorstatic PortraitMatch
create(java.lang.String imageIndexPath)
protected void
finalize()
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)
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
processPhoto
public java.util.ArrayList<PortraitMatchIndex> processPhoto(FullImageData inputImage, int indexesSize)Description copied from interface:PortraitMatch
if indexesSize == 0, all exist will be returned, but slower- Specified by:
processPhoto
in interfacePortraitMatch
-
blend
Description copied from interface:PortraitMatch
return null optional when error- Specified by:
blend
in interfacePortraitMatch
-
processPortrait
public PortraitMatchOutput processPortrait(FullImageData sourceImage, FullImageData portraitImage, float fov)- Specified by:
processPortrait
in interfacePortraitMatch
-
create
-