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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
addActionUnitsData
(ActionUnitsData actionUnits) void
void
addDepthMap
(DepthMap depthMap) void
addExternalFaceData
(FaceDataSource source, ArrayList<ExternalFaceData> data) void
Extra parameters during in-CPU feature calculations.void
addFrameNumber
(long frameNumber) void
addFullImg
(FullImageData img) void
addTimestampUs
(double timestampUs) add frame timestamp in microsecondsstatic FrameData
create()
Creates empty `FrameData`.getBody()
getBrows()
getEyes()
getFace()
Face detector is an input for face recognizer.Get frx_recognition_result or null if not existsgetHair()
boolean
boolean
boolean
boolean
boolean
float
list[0] and list[1] - x and y coordinates of the thermal temperature of the light source list[2] - the brightness of the framegetLips()
float
Pupillary distance in mmfloat
getRuler()
getSkin()
getTeeth()
void
void
-
Method Details
-
getFullImgFormat
-
getFullImgTransform
-
getFrxRecognitionResult
Get frx_recognition_result or null if not exists -
setFrxRecognitionResult
-
getFaceDetectorResult
Face detector is an input for face recognizer. It gives only position of the face. Even if the face is present on the frame it doesn't mean that face detector can track it. -
getActionUnits
-
getAcneRegions
-
getIsSmile
boolean getIsSmile() -
getIsMouthOpen
boolean getIsMouthOpen() -
getIsBrowsRaised
boolean getIsBrowsRaised() -
getIsBrowsShifted
boolean getIsBrowsShifted() -
getIsWearGlasses
boolean getIsWearGlasses() -
getRuler
float getRuler() -
getEyesState
-
getLightCorrection
float getLightCorrection() -
getBackground
-
getBackgroundGpu
-
getHair
-
getHairGpu
-
getSkin
-
getSkinGpu
-
getLips
-
getLipsGpu
-
getTeeth
-
getOcclusion
-
getBody
-
getLipsShine
-
getBrows
-
getEyes
-
getFace
-
getFaceSkin
-
getFaceAttributes
-
getPupillaryDistance
float getPupillaryDistance()Pupillary distance in mm -
getLightSourceParams
list[0] and list[1] - x and y coordinates of the thermal temperature of the light source list[2] - the brightness of the frame -
addFullImg
-
replaceFullImg
-
addBackground
-
addExternalFaceData
-
addDepthMap
-
addFrameNumber
void addFrameNumber(long frameNumber) -
addActionUnitsData
-
addFeatureParameters
Extra parameters during in-CPU feature calculations. Reference feature documentation. -
addTimestampUs
void addTimestampUs(double timestampUs) add frame timestamp in microseconds -
create
Creates empty `FrameData`. Use `add*` function to fill it.
-