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

Copy Markdown View Source

Maps model-input pixels back to frame pixels: frame_x = (x - offset_x) * scale_x, and likewise for y.

Summary

Types

t()

@type t() :: %BB.Estimator.ObjectDetection.Image.Transform{
  height: pos_integer(),
  offset_x: number(),
  offset_y: number(),
  scale_x: float(),
  scale_y: float(),
  width: pos_integer()
}