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

Windows Apps capturing a black screen #15

Open
puddl3jump3r opened this issue Mar 23, 2022 · 4 comments
Open

Windows Apps capturing a black screen #15

puddl3jump3r opened this issue Mar 23, 2022 · 4 comments

Comments

@puddl3jump3r
Copy link

puddl3jump3r commented Mar 23, 2022

Using a test game (Big Farm) installed as windows application from the Microsoft Store, I only capture a black screen.
I know in a browser like google it is due to hardware acceleration, but this is a windows application built in a framework.
Has anyone figured out how to do this without a fullscreen capture?

@MadMowgli
Copy link

Hi!
You might wanna check this answer to a question already asked.

@CasperKristiansson
Copy link

Using a test game (Big Farm) installed as windows application from the Microsoft Store, I only capture a black screen. I know in a browser like google it is due to hardware acceleration, but this is a windows application built in a framework. Has anyone figured out how to do this without a fullscreen capture?

I had a similar problem with that and there were two different solutions to it.

The first one was that the cv2.imshow didn't have a cv.waitKey and cv.destroyAllWindows() after it was used.

The second problem was simply that the game was minimized. In order for the wind32 to capture the game, the window can't be minimized.

@umutbalkan
Copy link

Same here I'm using the sample code. Getting black screen from the game window

@TypicallyThomas
Copy link

Even capturing the full screen doesn't work for me. Would really appreciate if someone has a solution. This is my 20th resource, I'm starting to lose faith my game can be captured with Python at least

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

No branches or pull requests

5 participants