Package com.banuba.sdk.types
Interface FrameData
-
- All Known Implementing Classes:
FrameData.CppProxy
public interface FrameData
getters throw exceptions when data are not available android NNs usually output gpu masks
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FrameData.CppProxy
-
Method Summary
-
-
-
Method Detail
-
getFullImgFormat
@NonNull FullImageFormat getFullImgFormat()
-
getFullImgTransform
@NonNull java.util.ArrayList<java.lang.Float> getFullImgTransform()
-
getFrxRecognitionResult
@Nullable FrxRecognitionResult getFrxRecognitionResult()
Get frx_recognition_result or null if not exists
-
setFrxRecognitionResult
void setFrxRecognitionResult(@Nullable FrxRecognitionResult result)
-
getActionUnits
@NonNull ActionUnitsData getActionUnits()
-
getAcneRegions
@NonNull AcneRegions getAcneRegions()
-
getNeuroBeautyData
@NonNull NeuroBeautyData getNeuroBeautyData()
-
getIsSmile
boolean getIsSmile()
-
getIsMouthOpen
boolean getIsMouthOpen()
-
getIsBrowsRaised
boolean getIsBrowsRaised()
-
getIsBrowsShifted
boolean getIsBrowsShifted()
-
getIsWearGlasses
boolean getIsWearGlasses()
-
getRuler
float getRuler()
-
getEyesState
@NonNull EyesState getEyesState()
-
getLightCorrection
float getLightCorrection()
-
getBackground
@NonNull TransformedMaskByte getBackground()
-
getBackgroundGpu
@NonNull TransformedMaskGpu getBackgroundGpu()
-
getHair
@NonNull TransformedMaskByte getHair()
-
getHairGpu
@NonNull TransformedMaskGpu getHairGpu()
-
getSkin
@NonNull TransformedMaskByte getSkin()
-
getSkinGpu
@NonNull TransformedMaskGpu getSkinGpu()
-
getLips
@NonNull TransformedMaskByte getLips()
-
getLipsGpu
@NonNull TransformedMaskGpu getLipsGpu()
-
getTeeth
@NonNull TransformedMaskByte getTeeth()
-
getOcclusion
@NonNull TransformedMaskByte getOcclusion()
-
getBody
@NonNull TransformedMaskByte getBody()
-
getLipsShine
@NonNull LipsShineMask getLipsShine()
-
getBrows
@NonNull BrowsMask getBrows()
-
getEyes
@NonNull EyesMask getEyes()
-
getFace
@NonNull TransformedMaskByte getFace()
-
getFaceSkin
@NonNull TransformedMaskByte getFaceSkin()
-
getFaceAttributes
@Nullable java.lang.String getFaceAttributes()
-
getPupillaryDistance
float getPupillaryDistance()
Pupillary distance in mm
-
addFullImg
void addFullImg(@NonNull FullImageData img)
-
replaceFullImg
void replaceFullImg(@NonNull FullImageData img)
-
addBackground
void addBackground(@NonNull TransformedMaskByte mask)
-
addExternalFaceData
void addExternalFaceData(@NonNull FaceDataSource source, @NonNull java.util.ArrayList<ExternalFaceData> data)
-
addDepthMap
void addDepthMap(@NonNull DepthMap depthMap)
-
addFrameNumber
void addFrameNumber(long frameNumber)
-
addActionUnitsData
void addActionUnitsData(@NonNull ActionUnitsData actionUnits)
-
addFeatureParameters
void addFeatureParameters(@NonNull java.util.HashMap<FeatureId,java.util.ArrayList<FeatureParameter>> params)
Extra parameters during in-CPU feature calculations. Reference feature documentation.
-
addTimestampUs
void addTimestampUs(double timestampUs)
add frame timestamp in microseconds
-
create
@Nullable static FrameData create()
Creates empty `FrameData`. Use `add*` function to fill it.
-
-