Open MiladGhorbaniG opened 3 years ago
1) first, measure the time taken for the following block.
grabResult = camera.RetrieveResult(5000, pylon.TimeoutHandling_ThrowException) if grabResult.GrabSucceeded(): image_success=1
image = converter.Convert(grabResult)
im = image.GetArray()
img=cv2.resize(im,(w,h))
else:
image_success=0
grabResult.Release()
else:
camera_success=0
2) Then set the AOI to 640*480 and check if the issue is still occurring. 3) since you are already using opencv, try also use opencv for image conversation too.
Hi @rgov I am using a Jetson Nano with OpenCV 4.5 to read the Basler camera every 50 ms. I call the following function:
About 1 percent of the time, it fails for several consecutive frames, and I can receive a new frame for example 700 ms later. Does anyone have a suggestion?