Ask Your Question

dementor's profile - activity

2019-02-12 06:13:25 -0600 received badge  Notable Question (source)
2017-07-30 02:40:40 -0600 received badge  Popular Question (source)
2015-06-17 08:01:11 -0600 received badge  Editor (source)
2015-06-08 08:28:43 -0600 received badge  Supporter (source)
2015-06-05 05:35:48 -0600 asked a question USB 3.0 Basler Camera with Opencv hangs on using imwrite/imshow

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 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 on stackoverflow on this.

Can anyone help me understand the problem?