Class ProcessImageParams

java.lang.Object
com.banuba.sdk.effect_player.ProcessImageParams

public final class ProcessImageParams
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    ProcessImageParams​(boolean acneProcessing, java.util.ArrayList<PixelRect> acneUserAreas, java.lang.String faceDataJsonPath)  
  • Method Summary

    Modifier and Type Method Description
    boolean getAcneProcessing()
    Set this param to force running of acne processing feature
    java.util.ArrayList<PixelRect> getAcneUserAreas()
    User-defined acne areas to mask, rectangles are in input image coordinate space
    java.lang.String getFaceDataJsonPath()
    For internal use, not for clients.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ProcessImageParams

      public ProcessImageParams​(boolean acneProcessing, @Nullable java.util.ArrayList<PixelRect> acneUserAreas, @Nullable java.lang.String faceDataJsonPath)
  • Method Details

    • getAcneProcessing

      public boolean getAcneProcessing()
      Set this param to force running of acne processing feature
    • getAcneUserAreas

      @Nullable public java.util.ArrayList<PixelRect> getAcneUserAreas()
      User-defined acne areas to mask, rectangles are in input image coordinate space
    • getFaceDataJsonPath

      @Nullable public java.lang.String getFaceDataJsonPath()
      For internal use, not for clients. Stores path to JSON with face data, to mock frx results
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object