Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

USB 3.0 Basler Camera with Opencv hangs on using imwrite/imshow

$
0
0
I am using Basler USB 3.0 Camera with Pylon SDK on an Odroid. I convert the image from Pylon format to Mat using the answers on [this](http://stackoverflow.com/questions/25180881/basler-pylon-4-sdk-and-opencv-2-4-8-linux-simple-viewer) link. Commenting the imshow and printing image data and pixel values work but keeping the imshow hangs the code at camera.RetrieveResult which is responsible for retrieving data from camera buffer to SDK's Pylon image buffer which is then converted to Mat. Things I tried: - xserver problem since I am using ssh to odroid but I used a monitor too and the same problem. - imshow/imwrite thread interfering with camera buffer reading but using it in a different thread did not solve the problem either. Moreover, having imshow in a function that is not even called is creating the problem. Moreover, using all other opencv functions seem to work fine but since I can't see the image, I can't be sure. There is also a similar unanswered [question](http://stackoverflow.com/questions/30098265/basler-gige-camera-throws-unknown-time-out-exception-once-opencv2-4-9-functions) on stackoverflow on this. Can anyone help me understand the problem?

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>