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
  • Method Details

    • getFullImgFormat

      @NonNull FullImageFormat getFullImgFormat()
    • getFullImgTransform

      @NonNull ArrayList<Float> getFullImgTransform()
    • getFrxRecognitionResult

      @Nullable FrxRecognitionResult getFrxRecognitionResult()
      Get frx_recognition_result or null if not exists
    • setFrxRecognitionResult

      void setFrxRecognitionResult(@Nullable FrxRecognitionResult result)
    • getFaceDetectorResult

      @NonNull ArrayList<DetectedFace> 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

      @NonNull ActionUnitsData getActionUnits()
    • getAcneRegions

      @NonNull AcneRegions getAcneRegions()
    • 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 String getFaceAttributes()
    • getPupillaryDistance

      float getPupillaryDistance()
      Pupillary distance in mm
    • getLightSourceParams

      @NonNull ArrayList<Float> 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

      void addFullImg(@NonNull FullImageData img)
    • replaceFullImg

      void replaceFullImg(@NonNull FullImageData img)
    • addBackground

      void addBackground(@NonNull TransformedMaskByte mask)
    • addExternalFaceData

      void addExternalFaceData(@NonNull FaceDataSource source, @NonNull ArrayList<ExternalFaceData> data)
    • addDepthMap

      void addDepthMap(@NonNull DepthMap depthMap)
    • addFrameNumber

      void addFrameNumber(long frameNumber)
    • addActionUnitsData

      void addActionUnitsData(@NonNull ActionUnitsData actionUnits)
    • addFeatureParameters

      void addFeatureParameters(@NonNull HashMap<FeatureId,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.