Opencv, cant open img. #2090
Unanswered
snirbenyosef
asked this question in
Q&A
Replies: 2 comments 12 replies
-
Looks like it requires a running X server. You'd need to install and run it on the remote machine then connect to it in some way (for example VNC). |
Beta Was this translation helpful? Give feedback.
10 replies
-
OpenCV requires a working windowing system since it needs to output of the camera to a window. Please install X Server before dealing with APIs like OpenCV. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI, i׳m trying to use cv2.imgshow on a vs code online my code:
path = r'6.png'
image = cv2.imread(path)
window_name = 'image'
cv2.imshow(window_name, image)
cv2.waitKey(0)
cv2.destroyAllWindows()
but all i get is : cannot connect to X server
how can i use cv2.imgshow in vs code online ? and ideas ?
Beta Was this translation helpful? Give feedback.
All reactions