# bb_estimator_object_detection v0.1.0 - API Reference

## Modules

- [BB.Estimator.ObjectDetection](BB.Estimator.ObjectDetection.md): Finds objects in camera frames with any object-detection model declared in
the robot's `inference` section.
- [BB.Estimator.ObjectDetection.Codec](BB.Estimator.ObjectDetection.Codec.md): The `:object_detection` task: what a `BB.Inference.ModelCodec` for an
object detector takes and gives, and the one thing it must say beyond the
generic contract.
- [BB.Estimator.ObjectDetection.Codec.Input](BB.Estimator.ObjectDetection.Codec.Input.md): What an object-detection codec encodes.
- [BB.Estimator.ObjectDetection.FinalDetections](BB.Estimator.ObjectDetection.FinalDetections.md): A codec for detection models that finish with their own decode and
non-maximum suppression, whatever brand they are.
- [BB.Estimator.ObjectDetection.Image](BB.Estimator.ObjectDetection.Image.md): Turns a camera frame into a model's image input, and model coordinates back
into frame coordinates. Every image codec calls this rather than doing its
own conversion.
- [BB.Estimator.ObjectDetection.Image.Spec](BB.Estimator.ObjectDetection.Image.Spec.md): How to prepare frames for one model input; built by `BB.Estimator.ObjectDetection.Image.spec/2`.
- [BB.Estimator.ObjectDetection.Image.Transform](BB.Estimator.ObjectDetection.Image.Transform.md): Maps model-input pixels back to frame pixels:
`frame_x = (x - offset_x) * scale_x`, and likewise for `y`.

- [BB.Estimator.ObjectDetection.Test.Frames](BB.Estimator.ObjectDetection.Test.Frames.md): I420 frames for feeding through `BB.Camera.Synthetic`.
- [BB.Estimator.ObjectDetection.Test.NeedsNms](BB.Estimator.ObjectDetection.Test.NeedsNms.md): `FinalDetections`, but saying its candidates still need suppression.
- [BB.Estimator.ObjectDetection.Test.NmsRobot](BB.Estimator.ObjectDetection.Test.NmsRobot.md): Overlapping candidates from a codec that says they need suppressing.
- [BB.Estimator.ObjectDetection.Test.QuietRobot](BB.Estimator.ObjectDetection.Test.QuietRobot.md): A model that finds nothing above the threshold.
- [BB.Estimator.ObjectDetection.Test.Robot](BB.Estimator.ObjectDetection.Test.Robot.md): A 64x48 camera and a model whose input is 32x32, stretched, so a model
pixel is two frame pixels across and one and a half down.
- [BB.Estimator.ObjectDetection.Test.Rows](BB.Estimator.ObjectDetection.Test.Rows.md): Model descriptions for the test robots: a `{1, 32, 32, 3}` `u8` image input
and a `{1, N, 6}` rows output, `{x1, y1, x2, y2, score, class}` in input
pixels.

- [BB.Estimator.ObjectDetection.Test.ScriptedRuntime](BB.Estimator.ObjectDetection.Test.ScriptedRuntime.md): A runtime that describes the input and outputs it is given as options,
and answers every run with the same output values.
- [BB.Message.Vision.Detections](BB.Message.Vision.Detections.md): The objects found in one camera frame.
- [BB.Message.Vision.Detections.Detection](BB.Message.Vision.Detections.Detection.md): One object found in a frame.

- Exceptions
  - [BB.Error.Invalid.Vision.BoxOutsideFrame](BB.Error.Invalid.Vision.BoxOutsideFrame.md): A detection's box extends beyond the frame it was found in.

## Mix Tasks

- [mix bb_estimator_object_detection.install](Mix.Tasks.BbEstimatorObjectDetection.Install.md): Installs BB.Estimator.ObjectDetection into a project

