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 Detail

      • getFullImgTransform

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

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

        @Nullable
        java.lang.String getFaceAttributes()
      • getPupillaryDistance

        float getPupillaryDistance()
        Pupillary distance in mm
      • replaceFullImg

        void replaceFullImg​(@NonNull
                            FullImageData img)
      • 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.