Open NeuralAIM opened 1 month ago
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: Using crop isn't useful because that needs to be done AFTER the frame was taken which just adds even more overhead
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.
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
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: Using crop isn't useful because that needs to be done AFTER the frame was taken which just adds even more overhead
Bro how you get 900? I never get over 50 FPS on all my laptops using the same script...
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: Using crop isn't useful because that needs to be done AFTER the frame was taken which just adds even more overhead
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
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: Using crop isn't useful because that needs to be done AFTER the frame was taken which just adds even more overhead
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
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: Using crop isn't useful because that needs to be done AFTER the frame was taken which just adds even more overhead
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
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: Using crop isn't useful because that needs to be done AFTER the frame was taken which just adds even more overhead
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 but there seems to be some problems in my environment, some games will just crashed but runs fine on another one with gtx 1660 ti; plus when i install any software/driver from nvidia, it will just jump to installer failed instantly and i dont know how to fix i will do a fresh reinstall of windows this weekend and retry
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: