2020-11-20 13:31:03 +01:00

14 lines
301 B
Python

from .parsers import RasterisedDocumentParser
def tesseract_consumer_declaration(sender, **kwargs):
return {
"parser": RasterisedDocumentParser,
"weight": 0,
"mime_types": [
"application/pdf",
"image/jpeg",
"image/png"
]
}