morefigs / pymba

Python wrapper for Allied Vision's Vimba C API
MIT License
105 stars 84 forks source link

delay issues on USB AVT Cam mako U-130 #67

Closed Toulmin closed 5 years ago

Toulmin commented 6 years ago

Hello, We are developing a software able to perform marker tracking on live images. we were previously using Giga Ethernet AVT Cam manta G917 without any problem. In order to increase working frequency, we bought a USB AVT Mako U-130, we have been able to use our software with this new camera but we encountered a delay issue. This delay between an event and its display seems to increase in time and can reach as high as 20 seconds.

Can we find documentation or code examples using pymba with USB camera ? Are there important differences of coding between USB and Giha Ethernet cameras ?

For information :

morefigs commented 6 years ago

Do you know if the delay is in Python acquiring the image data, or in Qt displaying it? It may be simply a matter of Qt not being updated to draw the image.

Other than that I haven't had much experience using USB cameras but others around here may have. There's not much documentation for Pymba, but it is essentially just a wrapper around Vimba, so the Vimba documentation might have your answer. It may be that extra and/or different function calls are recommended when using USB.

Toulmin commented 6 years ago

Thank you for your message. To me this is a python issue. With Qt, we only translate a numpy array image to a QImage and display it. There is no reasons that those actions would take more time with a USB camera than a Giga Ethernet camera.

Unfortunately I haven't found a lot of documentation on vimba either.

morefigs commented 5 years ago

Is this still an issue?