How can I use sunshine as video source for machine learning project? #553
Closed
ZhengYuan-Public
started this conversation in
General
Replies: 1 comment 3 replies
-
What is the intended purpose of providing video game capture to a machine learning algorithm? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm not familiar with video encoding or decoding so please forgive me if this question sounds naive. I wonder if anyone could share ideas on how to use sunshine on the client machine to stream to a machine learning server and feed the data to machine learning algorithm (running on python).
Problem
When it comes to applying computer vision machine learning algorithms to games, the first step is always capturing the game. Currently there are several python libraries (pyautogui, win32gui, mss) available, and they all work by taking screenshots and hoping the process can be fast enough. However, this method can only get a maximum FPS of about 40 (after lowering the resolution from 1080p to 720p) on my machine. I want to improve the performance but I have no idea where I should look into.
Beta Was this translation helpful? Give feedback.
All reactions