A closed source project aim to play League of Lengends automatically.
Use api and computer vision as game information input, and mouse keyboard simulation as game output.
- Opencv GpuMat can share cuda memory with torch
- use session with python requests can siginificantly improve performance
- python multiprocessing cannot fork under windows, making it a headache to share memory between processes, have to use multiprocessing.Queue instead
- In this specific case, ImageGrab is better than dxcam in terms of cpu load, better than mss in terms of both cpu load and fps performance