Add OCR and image correction

This commit is contained in:
Oliver Traber 2024-07-07 00:30:13 +02:00
parent e74d3a4e27
commit e93117aeb4
Signed by: Bluemedia
GPG key ID: C0674B105057136C
13 changed files with 228 additions and 20 deletions

View file

@ -1,9 +1,11 @@
from pydantic import BaseModel
from typing import Optional
import app.scanner.enums as scan
class ScanPage(BaseModel):
filename: str
filename: Optional[str]
size_bytes: int
status: scan.PageStatus
class Config():
orm_mode = True