The tool relates to the project "No Annotation* is a Alone"; a series of annotative interventions upon the rigidity of PDF, to challenge established protocols.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
227 B

#!venv/bin python3
import pdftotree
def hocr_result():
hocr_result = pdftotree.parse("static/pdf/downloaded.pdf")
with open('static/hocr/downloaded.hocr', 'w') as f:
return hocr_result