Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OPTMIZATION] - screenshot #12

Open
Kirattus opened this issue Jun 2, 2021 · 1 comment
Open

[OPTMIZATION] - screenshot #12

Kirattus opened this issue Jun 2, 2021 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@Kirattus
Copy link

Kirattus commented Jun 2, 2021

Yo!
what way do u think is more optimized?
Each Thread print with specific area (bbox) and do your own stuffs
or
1 thread print and the others crop ur needed area to find your stuffs??

i`ve many thread and each one find something in a specific area in RPGMMO
(Buff / Debuff), Life, Mana, Speed, hunger, status, etc.
studding and trying to make a simple bot

@mherkazandjian
Copy link
Owner

i think since fastgrab uses low level X11 bindings screenshotting with each thread a bbox and processing it would
be faster. I personally have benchmarked it on a single thread because for my purposes that was already fast enough.
But i am curious to know if e.g screenshoting using 16 or 32 threads would actually throttel the X11 part down.

it also depends how expensive your processing is after you take the screenshot.

@mherkazandjian mherkazandjian self-assigned this Aug 20, 2023
@mherkazandjian mherkazandjian added the question Further information is requested label Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants