Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Increase speed of scanner #6

Closed
rad10 opened this issue Jan 9, 2020 · 2 comments · Fixed by #19
Closed

Increase speed of scanner #6

rad10 opened this issue Jan 9, 2020 · 2 comments · Fixed by #19
Labels
enhancement New feature or request

Comments

@rad10
Copy link
Owner

rad10 commented Jan 9, 2020

The scanner currently can take anywhere between 10 ~ 15 minutes to complete one side of a sign in sheet.
The biggest issue that can be currently be recognized is the speed of tesseract. Over a dozen takes are done per cell, which is necessary in order to get an accurate description given.
One suggestion given was to use threading or multiprocessing to split up the tasks, increasing speed. However, tesseract has issues with the use of threading and multiprocessing as when implemented, it got results faster, but it returned significantly inaccurate results.

The choices so far look like either finding a way to make tesseract friendly to threading, or revamp the code to be more efficient in general, or find shortcuts that can be taken.
As it currently stands, no option seems feasible to where its tolerable yet.

@rad10 rad10 added the enhancement New feature or request label Jan 9, 2020
@rad10 rad10 added this to the Glitchin and Fixin milestone Jan 9, 2020
@rad10 rad10 mentioned this issue Jan 9, 2020
@rad10
Copy link
Owner Author

rad10 commented Jan 9, 2020

Notes on this issue:
Tesseract issue#948
Python Threading
Python Multiprocessing

@rad10
Copy link
Owner Author

rad10 commented Jan 12, 2020

As of commit 6f2cee6c4dcb3625a5957fefc1148f220c2a3977, the program can be timed with the majority of the waiting lasting ~11 minutes. Further improvisations are on the way, so it may go faster, or I'll have to start back at the drawing board.

@rad10 rad10 mentioned this issue Mar 30, 2020
@rad10 rad10 linked a pull request Mar 30, 2020 that will close this issue
@rad10 rad10 closed this as completed in #19 Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant