Box class final

A question that finds one thing in an image, answered with the four edges of a box around it. Takes no criteria: instructions name what to find and in which image, such as "the coffee mug in photo".

Experimental: needs Jev 1.14 (jev-preview or jev-1.14.0), an Image in the request, and DangerZone.images. A Box always answers with a box, even when the target is absent, so ask a Noul alongside it.

Inheritance
Annotations
  • @experimental

Constructors

Box({required String id, required Object instructions})

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Key of this question in the request/response; the model never sees it, so put the full meaning in instructions. Must be unique per request.
finalinherited
instructions → Object
What to judge. A string, or a JSON object or array for structured instructions. Reference state fields with backticks, as in `ticket`.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → JudgementType
Which judgement this question asks.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited