# `BB.Estimator.ObjectDetection.Image.Spec`
[🔗](https://github.com/beam-bots/bb_estimator_object_detection/blob/main/lib/bb/estimator/object_detection/image.ex#L47)

How to prepare frames for one model input; built by `BB.Estimator.ObjectDetection.Image.spec/2`.

# `t`

```elixir
@type t() :: %BB.Estimator.ObjectDetection.Image.Spec{
  alpha: {float(), float(), float()},
  beta: {float(), float(), float()},
  colour: :rgb | :bgr,
  height: pos_integer(),
  layout: :nchw | :nhwc,
  letterbox_align: :top_left | :centre,
  name: String.t(),
  pad: 0..255,
  resize: :stretch | :letterbox,
  type: Nx.Type.t(),
  width: pos_integer()
}
```

---

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