# Bbox\_handler\_config for FasterRCNN?

**URL:** <https://forums.developer.nvidia.com/t/bbox-handler-config-for-fasterrcnn/267697>\
**Category:** TAO Toolkit\
**Created:** [September 26, 2023, 9:23pm UTC](https://forums.developer.nvidia.com/t/bbox-handler-config-for-fasterrcnn/267697 "2023-09-26T21:23:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nasserha](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nasserha/32/275224_2.png) [@nasserha](https://forums.developer.nvidia.com/u/nasserha)\
**Post date:** [September 26, 2023, 9:23pm UTC](https://forums.developer.nvidia.com/t/bbox-handler-config-for-fasterrcnn/267697/1 "2023-09-26T21:23:18Z")

</div>

I am trying to see how to customize the bounding boxes appearance in inferred images in the case of a fasterrcnn inference.  
I saw that detectnetv2 has a bbox\_handler\_config part where one can control many things. It does not work for fasterrcnn. Is there something equivalent?

Namely, I want to make the boxes look red and ticker and put the label name around.

Thanks

---

<div class="post-metadata">

**Author:** ![Morganh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/morganh/32/9748_2.png) [@Morganh](https://forums.developer.nvidia.com/u/Morganh)\
**Post date:** [September 27, 2023, 2:42am UTC](https://forums.developer.nvidia.com/t/bbox-handler-config-for-fasterrcnn/267697/3 "2023-09-27T02:42:51Z")

</div>

> [@nasserha](#):
>
> I want to make the boxes look red and ticker and put the label name around.

You can modify [https://github.com/NVIDIA/tao\_tensorflow1\_backend/blob/main/nvidia\_tao\_tf1/cv/faster\_rcnn/scripts/inference.py](https://github.com/NVIDIA/tao_tensorflow1_backend/blob/main/nvidia_tao_tf1/cv/faster_rcnn/scripts/inference.py).  
Refer to  
[https://github.com/NVIDIA/tao\_tensorflow1\_backend/blob/main/nvidia\_tao\_tf1/cv/common/inferencer/inferencer.py#L159-L168](https://github.com/NVIDIA/tao_tensorflow1_backend/blob/main/nvidia_tao_tf1/cv/common/inferencer/inferencer.py#L159-L168)

---

<div class="post-metadata">

**Author:** ![nasserha](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nasserha/32/275224_2.png) [@nasserha](https://forums.developer.nvidia.com/u/nasserha)\
**Post date:** [October 5, 2023, 7:18am UTC](https://forums.developer.nvidia.com/t/bbox-handler-config-for-fasterrcnn/267697/4 "2023-10-05T07:18:37Z")

</div>

Hello Morgan,

Where can I find this code?

```auto
(launcher) root@machine:~/.virtualenvs/launcher/lib/python3.8/site-packages# ls nvidia*
nvidia_pyindex:
__init__.py __pycache__ cmdline.py utils.py

nvidia_pyindex-1.0.9.dist-info:
INSTALLER METADATA REQUESTED entry_points.txt
LICENSE.md RECORD WHEEL top_level.txt

nvidia_tao-5.0.0.dist-info:
INSTALLER METADATA REQUESTED entry_points.txt
LICENSE RECORD WHEEL top_level.txt

nvidia_tao_cli:
__init__.py __pycache__ components config entrypoint version.py

```

I went into the installation directory of the environment and looked it up in all folders. I may be in the wrong place :)

---

<div class="post-metadata">

**Author:** ![Morganh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/morganh/32/9748_2.png) [@Morganh](https://forums.developer.nvidia.com/u/Morganh)\
**Post date:** [October 5, 2023, 3:32pm UTC](https://forums.developer.nvidia.com/t/bbox-handler-config-for-fasterrcnn/267697/5 "2023-10-05T15:32:51Z")

</div>

You can login the docker via `docker run <5.0 docker>` or use tao launcher `tao model faster_rcnn `.

Then, search the code under /usr

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [October 19, 2023, 3:33pm UTC](https://forums.developer.nvidia.com/t/bbox-handler-config-for-fasterrcnn/267697/6 "2023-10-19T15:33:16Z")

</div>

Closed on October 19, 2023, 3:33pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
