You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there's no straightforward method for other scripts (such as the API) to retrieve the scanner's status or progress.
The main Python script should expose this status in a way that can be easily accessed. Possible solutions include:
A simple "status file" in a temporary location that other scripts can check.
Alternatively, using a Redis container to store statuses. However, this may be overkill.
The scanner needs to report on three possible states:
{
"scan": true/false, // indicates if a scan is in progress
"waiting": true/false, // indicates if it's waiting for rear pages
"ocr": true/false // indicates if OCR processing is pending
}
The text was updated successfully, but these errors were encountered:
Currently, there's no straightforward method for other scripts (such as the API) to retrieve the scanner's status or progress.
The main Python script should expose this status in a way that can be easily accessed. Possible solutions include:
The scanner needs to report on three possible states:
The text was updated successfully, but these errors were encountered: