Go to the source code of this file.
|
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_straightener_create (scanbotsdk_document_straightener_t **result) |
| | Creates a new instance of scanbotsdk_document_straightener with given params and stores it in the location specified by the last argument.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_straightener_free (scanbotsdk_document_straightener_t *self) |
| | Frees the memory allocated for the instance of scanbotsdk_document_straightener_t. If null is passed, the function does nothing.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_straightener_run (scanbotsdk_document_straightener_t *self, scanbotsdk_image_t *image, scanbotsdk_document_straightening_parameters_t *parameters, scanbotsdk_pointf_t *prior_corners_normalized, size_t prior_corners_normalized_size, scanbotsdk_document_straightening_result_t **result) |
| | Straightens document photos by eliminating physical deformations and surface warping, such as folds, creases, wrinkles, crumples, page curls, and geometric bends.
|
| |
| SBSDK_API scanbotsdk_error_code_t | scanbotsdk_document_straightener_is_straightening_mode_available (scanbotsdk_document_straightening_mode_t mode, bool *result) |
| | Check if the specified straightening mode is available (i.e. required assets are present).
|
| |