Package 

Class FoodDetectionConfiguration

    • 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.

      • getDetectPackagedFood

         final Boolean getDetectPackagedFood()

        If enabled, the recognition engine will run OCR detection. This type of recognition is used for branded foods. If a correct name of a branded food is detected, calling PassioSDK.fetchPassioIDAttributesForOCRCode will return its nutritional information if available.

      • setDetectPackagedFood

         final Unit setDetectPackagedFood(Boolean detectPackagedFood)

        If enabled, the recognition engine will run OCR detection. This type of recognition is used for branded foods. If a correct name of a branded food is detected, calling PassioSDK.fetchPassioIDAttributesForOCRCode will return its nutritional information if available.