cv2 diaply to wslg #247
Replies: 4 comments 8 replies
-
I just tried and it just works. Just make sure the env variable remains |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick response but I still get the same error. sudo apt update and the result: fryhard@SLFAT:/mnt/c/Users/fryha/dropbox/sharpened_flat/labs/background-remover$ python3 test.py Available platform plugins are: xcb. BTW my laptop is Microsoft Surfbook 3 |
Beta Was this translation helpful? Give feedback.
-
I had to ask this sooner, but which Windows build are your running? ( |
Beta Was this translation helpful? Give feedback.
-
Windows 10 Dev 21390.1010
发件人: onomatopellan ***@***.***>
发送时间: 2021年6月15日 3:09
收件人: microsoft/wslg ***@***.***>
抄送: Info ***@***.***>; Author ***@***.***>
主题: Re: [microsoft/wslg] cv2 diaply to wslg (#247)
I had to ask this sooner, but which Windows build are your running? (winver.exe)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#247 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJH3DKAYXGQYKSZI2SZIHTLTSZAURANCNFSM45TFVETA> .
|
Beta Was this translation helpful? Give feedback.
-
Hi team, excellent feature thank you! One question though, cv2 module (for example in python3) - can I make it show to wslg?
import cv2
image = cv2.imread("image.jpg")
cv2.imshow("test",image)
can we? Till now I had to install a seprate Xserver and declare by "export DISPLAY=192.168.50.1:0.0" something like that...
Kevin
Beta Was this translation helpful? Give feedback.
All reactions