pyyolo icon indicating copy to clipboard operation
pyyolo copied to clipboard

More time taken compared to the orginal c interface

Open lg-code-repo opened this issue 8 years ago • 2 comments

For a image with a size of 640*480, in my GPU 1070,the c interface ouputs 0.02s,but when i use the pyyolo interference, i get a value of 0.08s for one image. So the python interface takes three times bigger than the original c interface function. What's the reason?

lg-code-repo avatar Jul 21 '17 09:07 lg-code-repo

@kinginsky yes even i am facing the same issue . do u have any alternate solution for it do let me know

abhigoku10 avatar Sep 04 '17 06:09 abhigoku10

I have tested the python interface, and made my own time print around pyyolo.detect() when comparing the time with the built-in prediction timer it says:

(builtin timer) Cam frame predicted in 0.017226 seconds.   
(python call timer) Time used predicting: 0.04249 seconds.

So about 3 times as long to do the entire process of calling detection, making the detection and then get the info inside python again. I wonder if there any way to speed this up for it get closer to the builtin timer

TheMikeyR avatar Oct 18 '17 08:10 TheMikeyR