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

speed boost with gpu #26

Open
enymfc25173 opened this issue Dec 8, 2024 · 2 comments
Open

speed boost with gpu #26

enymfc25173 opened this issue Dec 8, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@enymfc25173
Copy link

It works very well!
But the speed is slow comparatively. Is it possible to boost the speed by gpu or other ways?

Copy link

github-actions bot commented Dec 8, 2024

Message that will be displayed on users first issue

@phamquiluan
Copy link
Owner

Hi @enymfc25173, I think there are two ways to speed up:

  1. Reduce the image size before perform skew estimation, the DFT takes a lot of time for large image. (Can have a look here https://github.com/phamquiluan/jdeskew/blob/master/jdeskew/estimator.py#L16)

  2. As you said, if s.o. can bring this function to GPU (https://github.com/phamquiluan/jdeskew/blob/master/jdeskew/estimator.py#L76), I think the algorithm will be speed up. It's feasible.

@phamquiluan phamquiluan added the help wanted Extra attention is needed label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants