Created a Python Library to Convert Freehand Annotations to Rectangles

Taking freehand annotations created as shown below as input,

they are converted to rectangular annotations as follows.

The “Tanaka Yoshio Hakubutsugaku Collection” (held by the University of Tokyo General Library) is used.

For specific usage instructions, please refer to the following notebook.

https://github.com/nakamura196/000_tools/blob/main/フリーハンドのアノテーションを矩形にconversionする.ipynb

I hope this serves as a useful reference for utilizing IIIF annotations.