You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I am creating a project, where I am using TensorFlow object detection to detect enemies while playing CS:GO and shoot them. If someone is interested I wrote full step by step tutorial.
Anyway I am writing here because I am using MSS to grab a game screen. So at first I was getting ~20 FPS with grab screen, but when working on my project I decided to try improve this step, and I couldn't find better ways to grab screen in faster way, so I wrote a code while I am grabbing screen by using python multiprocessing. I divided whole script into two parts: first is to get a screen second to show a screen, these two parts are working in parallel processes so now I am receiving around 33 FPS. If someone is interested how I did this here is the link to my code.
Suggestion how I could make it work faster would be appreciated.
General information:
So I am creating a project, where I am using TensorFlow object detection to detect enemies while playing CS:GO and shoot them. If someone is interested I wrote full step by step tutorial.
Anyway I am writing here because I am using MSS to grab a game screen. So at first I was getting ~20 FPS with grab screen, but when working on my project I decided to try improve this step, and I couldn't find better ways to grab screen in faster way, so I wrote a code while I am grabbing screen by using python multiprocessing. I divided whole script into two parts: first is to get a screen second to show a screen, these two parts are working in parallel processes so now I am receiving around 33 FPS. If someone is interested how I did this here is the link to my code.
Suggestion how I could make it work faster would be appreciated.
Use my example as much as you need !
The text was updated successfully, but these errors were encountered: