# More FPS when enable\_tracking=true

**URL:** <https://community.stereolabs.com/t/more-fps-when-enable-tracking-true/1067>\
**Category:** C++\
**Tags:** jetson\
**Created:** [April 21, 2022, 4:08pm UTC](https://community.stereolabs.com/t/more-fps-when-enable-tracking-true/1067 "2022-04-21T16:08:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![br0tda](https://community.stereolabs.com/user_avatar/community.stereolabs.com/br0tda/32/423_2.png) [@br0tda](https://community.stereolabs.com/u/br0tda)\
**Post date:** [April 22, 2022, 8:24am UTC](https://community.stereolabs.com/t/more-fps-when-enable-tracking-true/1067/3 "2022-04-22T08:24:37Z")

</div>

Sure,  
I used the yolov5 custom detector example provided and, as you know, at the beggining there’s a configuration of ObjectDetectionParameters as you can see in the picture

 ![Schermata 2022-04-22 alle 10.17.43](https://community.stereolabs.com/uploads/default/original/1X/ec1ef2c7a12d1eb69d17263a54a7cdac0c096f1d.png)

When **detection\_parameters.enable\_tracking = false** the code runs at about 17 fps.

The same code, with **detection\_parameters.enable\_tracking = true** runs at about 21 fps.

It’s like some optimization done with enable\_tracking=true were not done with enable\_tracking=false.

I found this because as you can see from the other topic of mine, [ingestCustomBoxObjects() falsify detection when tracking is enabled](https://community.stereolabs.com/t/ingestcustomboxobjects-falsify-detection-when-tracking-is-enabled/971), I played a lot with these configurations and when I switched from true/false fps goes down.

---

_[View the full topic](https://community.stereolabs.com/t/more-fps-when-enable-tracking-true/1067)._
