Package 

Class FilterPredictor


  • 
    public final class FilterPredictor
    
                        

    Class for SDK filter prediction for specified image

    • Method Summary

      Modifier and Type Method Description
      final Integer predict(Bitmap bitmap) Predict filter for give image
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilterPredictor

        FilterPredictor(String modelFileName)
        Parameters:
        modelFileName - path to filter prediction TensorFlowLite model file
    • Method Detail

      • predict

         final Integer predict(Bitmap bitmap)

        Predict filter for give image

        Parameters:
        bitmap - given bitmap