Modules
A detection's box extends beyond the frame it was found in.
Finds objects in camera frames with any object-detection model declared in
the robot's inference section.
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.
What an object-detection codec encodes.
A codec for detection models that finish with their own decode and non-maximum suppression, whatever brand they are.
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.
How to prepare frames for one model input; built by BB.Estimator.ObjectDetection.Image.spec/2.
Maps model-input pixels back to frame pixels:
frame_x = (x - offset_x) * scale_x, and likewise for y.
I420 frames for feeding through BB.Camera.Synthetic.
FinalDetections, but saying its candidates still need suppression.
Overlapping candidates from a codec that says they need suppressing.
A model that finds nothing above the threshold.
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.
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.
A runtime that describes the input and outputs it is given as options, and answers every run with the same output values.
The objects found in one camera frame.
One object found in a frame.
Mix Tasks
Installs BB.Estimator.ObjectDetection into a project