Ask Your Question
0

multi-user image display

asked 2019-04-23 00:16:21 -0600

mufiski gravatar image

updated 2019-04-23 01:17:50 -0600

Using python and OpenCV, is it possible to display the same image on multiple users? Or choose a user to display the image?

I am using cv2.imshow but it only displays the image for the user that runs the script.

Thanks

edit retag flag offensive close merge delete

Comments

off topics

LBerger gravatar imageLBerger ( 2019-04-23 01:40:23 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-04-23 02:19:41 -0600

berak gravatar image

is it possible to display the same image on multiple users?

not with opencv's builtin highgui functions.

maybe you can setup some (web)server, to stream it to multiple users, but that's pretty much off-topic.

edit flag offensive delete link more

Comments

Thanks for your reply. Sorry I didn't explain myself properly, the user I want to display the image on is within the same computer. I am able to save photos in their directory so I thought there might be an easier way of displaying an image too. (sorry I'm quite a novice in this and a non native speaker :) )

mufiski gravatar imagemufiski ( 2019-04-23 18:15:43 -0600 )edit
1

I found a way of doing it, not related to OpenCV though. I was able to display the images on another user/host by setting the DISPLAY environment variable of the X server to match the desired user's DISPLAY.

mufiski gravatar imagemufiski ( 2019-04-23 21:52:46 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-04-23 00:16:21 -0600

Seen: 132 times

Last updated: Apr 23 '19