# FPS is low in Jetson nano while using yolo4 person detection

**URL:** <https://forum.opencv.org/t/fps-is-low-in-jetson-nano-while-using-yolo4-person-detection/970>\
**Category:** Python\
**Created:** [January 20, 2021, 5:59am UTC](https://forum.opencv.org/t/fps-is-low-in-jetson-nano-while-using-yolo4-person-detection/970 "2021-01-20T05:59:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maheswari.R](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@Maheswari.R](https://forum.opencv.org/u/Maheswari.R)\
**Post date:** [January 20, 2021, 5:59am UTC](https://forum.opencv.org/t/fps-is-low-in-jetson-nano-while-using-yolo4-person-detection/970/1 "2021-01-20T05:59:37Z")

</div>

YOLO4 based Real time person detection is slow in Windows 10 CPU. I can get approximately 4 FPS. So I used Jetson nano to improve FPS. I have installed opencv 4.4.0 and it is compiled with CUDA. Still FPS is low (0.3 FPS). I suspect jetson is not using its GPU. How to overcome this issue?

---

<div class="post-metadata">

**Author:** ![kbarni](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/kbarni/32/26_2.png) [@kbarni](https://forum.opencv.org/u/kbarni)\
**Post date:** [January 20, 2021, 9:09am UTC](https://forum.opencv.org/t/fps-is-low-in-jetson-nano-while-using-yolo4-person-detection/970/2 "2021-01-20T09:09:53Z")

</div>

First, the Jetson Nano is a low-end device, don’t expect it to perform miracles.

Anyway, did you check if Yolo is running on the CPU or the GPU? (use `nvidia-smi` to check the GPU useage)

I suggest to use the original framework instead of OpenCV. Darknet has OpenCV bindings, so you can pass `cv::Mat` images for processing (just make sure to enable OpenCV when compiling). And it is well optimized for CUDA.

---

<div class="post-metadata">

**Author:** ![Maheswari.R](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@Maheswari.R](https://forum.opencv.org/u/Maheswari.R)\
**Post date:** [January 20, 2021, 11:08am UTC](https://forum.opencv.org/t/fps-is-low-in-jetson-nano-while-using-yolo4-person-detection/970/3 "2021-01-20T11:08:31Z")

</div>

I am getting below error when nvidia-smi is given in terminal. How to rectify it?

bash: nvidia-smi: command not found
