BB.Estimator.ObjectDetection.Image.Spec (bb_estimator_object_detection v0.1.0)

Copy Markdown View Source

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

Summary

Types

t()

@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()
}