RoboDK Forum
Image display window is not responding- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: Image display window is not responding (/Thread-Image-display-window-is-not-responding)



Image display window is not responding-Nour-05-17-2022

Hi,
I'm trying to use the camera view and annotate it with the detected circle coordinates (found by hough transform) but I keep getting a 'not responding screen' when I run. I attached part of the code.
The camera window works fine but the detection code window doesn't.
The code is bound by a while True , so it keeps running indefinitely. When I save an image of the coordinates annotated on the camera view , it works fine. I just need it to show the detected circles that are seen by the camera as the process is working, not after it finished.
Display_Result是真的
The coordinates x,y,r are the coordinates detected from the camera view.

Thanks


再保险:图像显示窗口not responding-Sam-05-18-2022

Hi Nour,

Can you attach the script and the station?

You typically need to call cv2.waitKey to display windows.