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

    • getFullImgTransform

      @NonNull java.util.ArrayList<java.lang.Float> getFullImgTransform()
    • getFrxRecognitionResult

      @Nullable FrxRecognitionResult getFrxRecognitionResult()
      Get frx_recognition_result or null if not exists
    • 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()
    • getIsMale

      float getIsMale()
    • getRuler

      float getRuler()
    • getEyesState

      @NonNull EyesState getEyesState()
    • 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()
    • 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()
    • 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.ArrayList<FeatureParameter> params)
      Extra parameters during in-CPU feature calculations. Reference feature documentation.
    • create

      @Nullable static FrameData create()
      Creates empty `FrameData`. Use `add*` function to fill it.