Yolob8n-obb rotated NMS

hi i know how hailo post process by using alls configuration on hailo model zoo and using hailo_sdk_client

but if i want to postprocess the output from yolov8n-obb using hailo model zoo how im suppose to integrade or modofy when there is only configuration instead no code provided or there is?

need some help over here i want to know how the alls configuration workflow and some reference on yolo postprocessing code since i believe it should be from ultralytics as i saw at hailo_sdk_client

Hi @SAN,

The NMS can be configured in the JSON file passed with the nms_postprocess command.

can i get any reference how the json configuration processed? Because i know how to code a RNMS and i already did, but i have no idea how to add a rnms object to json and how the IO process

@SAN I believe for RNMS there is no option. It’s because, only we have option for nms commad only.

These are available commands for alls.

I am not sure but i think we can perform box decoding only on chip.
Get some idea here https://hailo.ai/developer-zone/documentation/v3-28-0/?page=sdk%2Fmodel_optimization.html#nms-postprocess

nms_postprocess(‘config_file_path’, engine=nn_core, bbox_decoding_only=True)

In config file we can specify there bbox conv layers names. I think that should work.
And further steps can be performed on cpu.

Thanks @saurabh but i was thinking yolob8n bbox decoding and yolov8n-obb bbox decoding are completely different since for the obb box decoding it need angle to find the orientation but for our case can we configured that in their bbox decoding. hmm lemme check through it. Anyways thanks for the updata @saurabh . Quite really helpful

@SAN
Thank you. you’re correct.

@SAN, if you would like to have more freedom to change the NMS, you can use our CPP example:

or our ModelZoo Python postprocessing code: