CMU-Perceptual-Computing-Lab / openpose

OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
https://cmu-perceptual-computing-lab.github.io/openpose
Other
31.13k stars 7.86k forks source link

Low FPS when i use --write_images #2043

Open Jackel0419 opened 2 years ago

Jackel0419 commented 2 years ago

When I use GTX1650 on laptop and RTX2070 on PC than give instructions --write_images on Openpsoe they have same low performance. Just have 0.8~1 fps ,I try to adjust some setting about Openpose like turn off the camera window and erase keypoints ,but when this happens only for I used --write_images this commend.

ravijo commented 2 years ago

Low FPS when i use --write_images

Going by the title of your issue, I feel that while --write_images flag is set, OpenPose is doing I/O operations on secondary storage. I/O operations in secondary storage are always slower and not recommended in real-time applications.

One easier workaround is to use SSD instead of HDD so that I/O operations become faster. But I still do not recommend doing it in your real-time applications.