Open AI-M-BOT opened 11 months ago
Thanks for posting this. I used it in a branch of mine but couldn't fork from your fork to keep your commit because your fork is based on mine and we were both working on the main branch, so I just didn't know how. I believe I've fixed your code for !=0 rotation angles and made small performance improvements.
Hi, can you check the branch: NewFeatures by Agade09? I found this version is quit faster than other versions, but nobody even mentioned it. As I tested, NewFeatures, grab(), is average 0-1 ms per picture, and what you have provided-Main, with grab() function, is 2-5 ms. Will you check and merge it to this
I would recommend reviewing all uses of ctypes.string_at()
. That function is meant to be used on C strings, i.e. they stop at the first null byte (0x00). Also it might actually make a copy of the data. There might be better types to use for handling blocks of bytes.
I was not allowed to share this code until now 😞, for any reason why just ask my boss
Modified code is buggy, it might just give an idea how to make DXcam a bit faster. Now yall can do partial screenshot more efficiently.
for
shot
function usage:For any issues happened we all can discuss and fix them together