ImageDetectionPage class

Still-image detection in the browser: pick or drop an image, see its boxes, the ms and which ORT Web build ran.

Constructors

ImageDetectionPage({dynamic key, required dynamic appAttributes, required dynamic footer, dynamic backend, Future<Uint8List?> pickImage()?, void Function() listenForDrops(void (Uint8List bytes))?, dynamic camera})
const

Properties

appAttributes → dynamic
final
backend → dynamic
Injected by widget tests; production makes the platform's own.
final
camera → dynamic
Injected by widget tests; production uses the browser's camera.
final
final
hashCode → int
The hash code for this object.
no setterinherited
listenForDrops → void Function() Function(void (Uint8List bytes))?
Injected by widget tests; production listens for files dropped on the page.
final
pickImage → Future<Uint8List?> Function()?
Injected by widget tests; production opens the browser's file dialog.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createState() → dynamic
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