Package 

Class FoodDetectionConfiguration


  • 
    public final class FoodDetectionConfiguration
    
                        

    Object needed to configure a detection session through the PassioSDK.startFoodDetection method.

    • Method Detail

      • getDetectVisual

         final Boolean getDetectVisual()

        If enabled, the recognition engine will run food object detection and classification.

      • setDetectVisual

         final Unit setDetectVisual(Boolean detectVisual)

        If enabled, the recognition engine will run food object detection and classification.

      • getDetectBarcodes

         final Boolean getDetectBarcodes()

        If enabled, the recognition engine will scan barcodes. After a barcode is detected, calling PassioSDK.fetchPassioIDAttributesForBarcode will return its nutritional information if available.

      • setDetectBarcodes

         final Unit setDetectBarcodes(Boolean detectBarcodes)

        If enabled, the recognition engine will scan barcodes. After a barcode is detected, calling PassioSDK.fetchPassioIDAttributesForBarcode will return its nutritional information if available.