Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6144

cv2.moveWindow followed by resizeWindow causes a lot of jittering

$
0
0

I have a FRAMOS D435e camera (similar to D400 series camera from Intel RealSense).

When I want to show an image feed/stream on the secondary display, a lot of jittering occurs. How can I fix this? The code is in Python

second_display = screeninfo.get_monitors()[screen_id]second_display_x = second_display.xsecond_display_y = second_display.ysecond_display_width = second_display.widthsecond_display_height = second_display.height
cv2.namedWindow("RealSense", cv2.WINDOW_NORMAL)cv2.moveWindow("RealSense", second_display_x, second_display_y)cv2.resizeWindow("RealSense", second_display_width, second_display_height)cv2.imshow('RealSense', color_image)

My goal is to show the image so it can take all or most of the second display screen. I don't have to use screeninfo Python package but that's what I came across when I was searching.

I have Ubuntu 22.04.


Viewing all articles
Browse latest Browse all 6144

Trending Articles



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