ObservantInfo class

The read-only half of the page, from /healthz.

Constructors

ObservantInfo({String camera = '', int? width, int? height, int? fps, bool inference = false, int modelRuns = 0, int visits = 0, double? lastScore, String? problem, List boxes = const <Rect>[], String version = '', List<RecentDetection> detections = const <RecentDetection>[], bool pixelated = false})
const

Properties

boxes → List
The boxes drawn into the picture now, as fractions of it: what "not a cat" would ignore.
final
camera → String
final
detections → List<RecentDetection>
The latest arrivals that came with boxes, newest first.
final
fps → int?
final
hashCode → int
The hash code for this object.
no setterinherited
height → int?
final
inference → bool
final
lastScore → double?
The best score of the last detection, where to set the slider just above for a false one.
final
modelRuns → int
final
pixelated → bool
The privacy filter blocks out all but the detected animals; only the settings file sets it.
final
problem → String?
Why the camera is not ok, in ObservANT's words; null while it delivers.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → String
ObservANT's build, as its package stamped it.
final
visits → int
final
width → int?
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

Static Methods

parse(String? body) → ObservantInfo?