fn.bbox_rotate by 5had3z · Pull Request #5979 · NVIDIA/DALI
added 18 commits
July 31, 2025 13:24…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>
…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>
5had3z
marked this pull request as ready for review
…stent. Add c++ native fallback for ExpandToAllCorners (RISCV when?). Fix some doxy comments. Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
…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>
…ListShape call, then copy data from each sample to output. Signed-off-by: Bryce Ferenczi <frenzi@hotmail.com.au>
mdabek-nvidia pushed a commit to mdabek-nvidia/DALI that referenced this pull request
Nov 27, 2025Add 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters