# `BB.Error.Invalid.Vision.CornerOutsideFrame`
[🔗](https://github.com/beam-bots/bb_estimator_aruco/blob/main/lib/bb/error/invalid/vision/corner_outside_frame.ex#L5)

A marker's corner lies outside the frame the marker is said to be found in.

A detector only reports what it can see, so a corner outside the frame
means the coordinates and the dimensions disagree - most often corners
scaled for a different frame size, or width and height swapped - and a
consumer would place the marker in the wrong part of the image. So the
message is refused rather than built.

# `t`

```elixir
@type t() :: %BB.Error.Invalid.Vision.CornerOutsideFrame{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  corner: {float(), float()},
  height: pos_integer(),
  id: non_neg_integer(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term(),
  width: pos_integer()
}
```

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %BB.Error.Invalid.Vision.CornerOutsideFrame{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  corner: term(),
  height: term(),
  id: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term(),
  width: term()
}
```

Create an `Elixir.BB.Error.Invalid.Vision.CornerOutsideFrame` without raising it.

## Keys

- :id
- :corner
- :width
- :height

---

*Consult [api-reference.md](api-reference.md) for complete listing*
