Support sub-elements
Initial desc. from @Chaza_Abdelwahab :
problems with displaying results when running the worker of subelement of a page ex: https://demo.arkindex.org/element/018705ea-9ea0-4aae-9cc6-e9b5e1bbf927?highlight=f0888c36-e70a-452c-881a-808b6f40978b
Now that we have generic rotation support, it's time to fix this.
The tesseract worker does not support running on sub-elements (ie. running on elements using a polygon on an image instead of the full image). The worker does process the full image and creates transcriptions with an offset.
Edited by Bastien Abadie