Comments (4)
Hi!
You might wanna check this answer to a question already asked.
from opencv_tutorials.
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.
from opencv_tutorials.
Same here I'm using the sample code. Getting black screen from the game window
from opencv_tutorials.
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
from opencv_tutorials.
Related Issues (17)
- Screen shot is cached HOT 1
- Getting vscode window HOT 4
- Improvement mss
- res = cv2.matchTemplate
- win32ui DLLs Error
- MatchTemplate and Threading
- Cascade classifier can`t be trained
- No output after running command.
- Cropped image in opencv_annotation
- getdc() HOT 3
- vision.py (ep 5) HOT 1
- Thread implementation HOT 2
- TypeError: argument for rectangle() given by name ('color') and position (3) HOT 1
- getting black screen only HOT 10
- win32ui.error: CreateCompatibleDC failed HOT 3
- please help me
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencv_tutorials.