feat add glm-ocr core
This commit is contained in:
@@ -7,6 +7,7 @@ class LayoutRegion(BaseModel):
|
||||
"""A detected layout region in the document."""
|
||||
|
||||
type: str = Field(..., description="Region type: text, formula, table, figure")
|
||||
native_label: str = Field("", description="Raw label before type mapping (e.g. doc_title, formula_number)")
|
||||
bbox: list[float] = Field(..., description="Bounding box [x1, y1, x2, y2]")
|
||||
confidence: float = Field(..., description="Detection confidence score")
|
||||
score: float = Field(..., description="Detection score")
|
||||
|
||||
Reference in New Issue
Block a user