doc-orientation-detector¶
Description¶
Note
More information about the service specification can be found in the Core concepts > Service documentation.
This service uses a machine learning model to detect if a scanned document is upside down. The document can be uploaded as a png or jpeg image. It is resized to 512x512 px before being processed by the model. The return value is either 0 (0° rotation) or 180 (180° rotation, upside down).
Environment variables¶
Check the Core concepts > Service > Environment variables documentation for more details.
Run the tests with Python¶
Check the Core concepts > Service > Run the tests with Python documentation for more details.
Start the service locally¶
Check the Core concepts > Service > Start the service locally documentation for more details.