-
Notifications
You must be signed in to change notification settings - Fork 36
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
[FEATURE ⭐] Capture a certain area #80
Comments
I'm not sure if there's a way to do this but as a workaround have you tried creating an entirely transparent and click-through application with your desired capture size and targeting that? Let me know if it works |
Hey, I'm not sure what causes the FPS drop, and crop() should be performant. |
Yeah I can confirm this, I just tried his python script and the FPS is like 900 for me when im targeting the calculator Edit: |
Ok, I'll check the performance to see if it's a API optimization or I can do it in the library itself because for now the underlying API doesn't allow capturing an area. |
CopySubresourceRegion? Edit: ahh, that is probably the same as Crop |
Bro how you get 900? I never get over 50 FPS on all my laptops using the same script... |
probably its because my laptop has a 3070 RTX, or because my monitor is set to 540Hz? not sure |
Mine is 4060 RTX and 144hz monitor... should as least 100 fps any way |
Sounds like some sort of bug somewhere |
I tried modified version of dxcam and get like 400 fps tops |
How can I capture a certain area? I can use crop() now, but I'm the only one losing FPS. How can I capture a part of the screen, similar to how it works when specifying window_name, where the application window is smaller than the screen size.
With
window_name="Calculator"
:With
window_name=None
:Code:
The text was updated successfully, but these errors were encountered: