jkjung-avt / tensorrt_demos

TensorRT MODNet, YOLOv4, YOLOv3, SSD, MTCNN, and GoogLeNet
https://jkjung-avt.github.io/
MIT License
1.74k stars 545 forks source link

Close the output window #564

Closed jacksonchen1998 closed 2 years ago

jacksonchen1998 commented 2 years ago

Can the program close the ouput window while running trt_yolo.py for image detection ? I think it may improve the fps for displaying output image on the window.

jkjung-avt commented 2 years ago

Sure. You could remove the code which does image drawing and displaying. And you'll need add code to print FPS values to be able to check it.

https://github.com/jkjung-avt/tensorrt_demos/blob/a061e44a82e1ca097f57e5a32f20daf5bebe7ade/trt_yolo.py#L70-L72

jacksonchen1998 commented 2 years ago

Thanks.