Package 

Interface FoodRecognitionListener


  • 
    public interface FoodRecognitionListener
    
                        

    Interface that serves as a callback for the PassioSDK.startFoodDetection method.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onRecognitionResults(FoodCandidates candidates, Bitmap image) Callback method for the food detection process.
      • Methods inherited from class java.lang.Object

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

      • onRecognitionResults

         abstract Unit onRecognitionResults(FoodCandidates candidates, Bitmap image)

        Callback method for the food detection process.

        Parameters:
        candidates - top level object that represents all of the detection results based on the configuration of the detection session.
        image - that represents the camera frame that the recognition was ran on.