FoodDetectionConfiguration class
Configuration object used to define a recognition session.
Constructors
- FoodDetectionConfiguration({bool detectVisual = true, bool detectBarcodes = false, bool detectPackagedFood = false, FramesPerSecond framesPerSecond = FramesPerSecond.two, VolumeDetectionMode volumeDetectionMode = VolumeDetectionMode.none})
-
Constructs a FoodDetectionConfiguration with optional parameters.
const
Properties
- detectBarcodes → bool
-
Barcode detection.
final
- detectPackagedFood → bool
-
Detection of the front side of a packaged food item.
final
- detectVisual → bool
-
Food item detection using Passio's AI system.
final
- framesPerSecond → FramesPerSecond
-
Defines how often the recognition system processes a frame.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- volumeDetectionMode → VolumeDetectionMode
-
Defines a volume detection mode.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited