mirror of
https://github.com/BluemediaDev/ScanOS.git
synced 2025-06-07 21:23:13 +02:00
Add OCR and image correction
This commit is contained in:
parent
e74d3a4e27
commit
e93117aeb4
13 changed files with 228 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue