fn.bbox_rotate by 5had3z · Pull Request #5979 · NVIDIA/DALI

added 18 commits

July 31, 2025 13:24
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
…ToBoxes, applyExpansionCorrectionToBoxSize. Added remove_threhold argument to control when to remove boxes outside of keep_size ROI.

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
…ffers. Check input shapes. Add some print helpers. Start on test, rot-box is a little bit off...

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
… as normalized rotation doesn't work if aspect ratio != 1. Allow boxes to be normalized or pixel coords with flag.

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
…st in test_dali_cpu_only

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
…i_variable_batch_size.

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>

@5had3z 5had3z marked this pull request as ready for review

August 30, 2025 15:43

@5had3z

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>

github-advanced-security[bot]

mzient

mzient

mzient

JanuszL

@5had3z

…stent. Add c++ native fallback for ExpandToAllCorners (RISCV when?). Fix some doxy comments.

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>

mzient

@5had3z

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>

@5had3z

…outside of threadpool.

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>

github-advanced-security[bot]

@5had3z

…ted boxes. Return kept box indices and use to copy label data. Resize output buffer firsts first before filling with output data to prevent internal reallocation discarding our data.

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>

mzient

mzient

@5had3z

…ListShape call, then copy data from each sample to output.

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>

mzient

mzient

@5had3z

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>

banasraf

mdabek-nvidia pushed a commit to mdabek-nvidia/DALI that referenced this pull request

Nov 27, 2025
Add bounding box rotation as a single op with options including how they should expand with the rotate, whether the image canvas was fixed when the image was rotated, and the box format (layout and normalization).

This op prunes boxes and labels if keep_size=True and the box is truncated to a fraction below remove_threshold.
---------

Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>