mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-11 10:00:48 -05:00
14 lines
325 B
Python
14 lines
325 B
Python
from .parsers import RasterisedDocumentParser
|
|
|
|
|
|
def tesseract_consumer_declaration(sender, **kwargs):
|
|
return {
|
|
"parser": RasterisedDocumentParser,
|
|
"weight": 0,
|
|
"mime_types": {
|
|
"application/pdf": ".pdf",
|
|
"image/jpeg": ".jpg",
|
|
"image/png": ".png"
|
|
}
|
|
}
|