basler / pypylon

The official python wrapper for the pylon Camera Software Suite
http://www.baslerweb.com
BSD 3-Clause "New" or "Revised" License
566 stars 207 forks source link

odroid xu4 with basler camera aca640-750um grap issue #305

Open Skm1221 opened 3 years ago

Skm1221 commented 3 years ago

Hello,

I'm developing some image processing software with odroid xu4(ubuntu 18.04 mate) and aca630-750um camera

When I grabed image with fps220, grab is failed few minutes later and reopen camera was failed.

Then, without unplugging usb port I can't use camera.

But, when I check lsusb message, basler camera is recognized.

So I executed pylon viewer, but camera was not detected.

below image is result of dmesg.

Before camera grab fail situation happen, that message always occured. I think that is problem

Is anybody know how to solve this problem ?

photo_2020-12-15_16-54-10

I tried to grab image with pylon viewer for removing any image processing logics.

But It was same. After few minutes later, camera is removed and then reopen is not possible

photo_2020-12-16_14-51-28

MCilento93 commented 3 years ago

In your code assure to close the camera before a new grabbing: on case of exception assure again camera.Close()

thiesmoeller commented 3 years ago

... and check the quality of your USB3 cable.

On a bad USB3 cable a number low level USB errors might occur.