MCPcopy Create free account
hub / github.com/BIT-DataLab/Edit-Banana / Pix2TextResult

Class Pix2TextResult

modules/text/ocr/pix2text.py:51–55  ·  view source on GitHub ↗

Pix2Text 识别结果

Source from the content-addressed store, hash-verified

49
50@dataclass
51class Pix2TextResult:
52 """Pix2Text 识别结果"""
53 image_width: int
54 image_height: int
55 blocks: list[Pix2TextBlock] = field(default_factory=list)
56
57
58class Pix2TextOCR:

Callers 1

analyze_imageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected