Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run cv2 window in fullscreen automatically #974

Closed
tasyoooo opened this issue Apr 24, 2024 · 1 comment
Closed

Run cv2 window in fullscreen automatically #974

tasyoooo opened this issue Apr 24, 2024 · 1 comment
Labels

Comments

@tasyoooo
Copy link

This is my code: (i saw in google but it doesn't work)

cv2.namedWindow(str(p), cv2.WINDOW_FULLSCREEN)  # allow window resize (Linux)
cv2.setWindowProperty(str(p), cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)
cv2.resizeWindow(str(p), im0.shape[1], im0.shape[0])
@asmorkalov
Copy link
Collaborator

please use https://forum.opencv.org for questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants