We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbfcd4e commit d6b8f0dCopy full SHA for d6b8f0d
docling_ibm_models/layoutmodel/layout_predictor.py
@@ -118,7 +118,7 @@ def info(self) -> dict:
118
}
119
return info
120
121
- def predict(self, orig_img: Union[Image, np.array]) -> Iterable[dict]:
+ def predict(self, orig_img: Union[Image.Image, np.ndarray]) -> Iterable[dict]:
122
r"""
123
Predict bounding boxes for a given image.
124
The origin (0, 0) is the top-left corner and the predicted bbox coords are provided as:
0 commit comments