ArmSoM
← All stories

Choosing Tiling or Resizing for Small-Object Detection on Sige5

Shrinking a large image until it fits an inference tensor can remove the feature the detector needs. Tiling retains more pixels per object at the cost of additional inference calls and decisions at tile boundaries. Estimate the scale before changing the model.

ArmSoM Sige5 single-board computer product photo

ArmSoM Sige5 single-board computer · ArmSoM

Follow one object through the resize

A 12-pixel feature in a 3840-pixel-wide image becomes two pixels when the entire width is reduced to 640. A 1280-pixel crop reduced to 640 preserves six pixels. The crop may lose context, so compare full-frame, cropped and overlapping-tile runs on the same labeled scenes. Include objects crossing tile boundaries.

Input treatment

Width of a 12 px feature in the tensor

3840 px wide frame reduced to 640

2 px

1280 px wide crop reduced to 640

6 px

640 px crop at native size

12 px, with less surrounding context

Inspect at least one object that spans two neighboring crops. A detector can count it twice or miss both fragments, even while the average score for centered objects improves.

Measure end-to-end time including tile extraction and duplicate suppression. Choose the smallest number of tiles that meets the required recall at the actual working distance. Save a boundary case with the test set whenever tiling is enabled.

Reference material

ArmSoM Sige5 hardware documentation

Rockchip RKNN-Toolkit2 and model conversion resources

Related ArmSoM guide

RK3576 yolo deployment RKNN

Explore ArmSoM Sige5