Slice argument deprecated ? #17774
Unanswered
dimitri009
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently working with large document (9,922*7016) and I wanted to use the key argument 'slice' as explained here, but I got this error
TypeError: PaddleOCR.predict() got an unexpected keyword argument 'slice'.I am using PaddleOCR 3.2.0
Here a piece of my script
result = ocr.ocr(image5, slice=slice, cls=False)and the Error` 229 @deprecated("Please use "predict" instead.")
230 def ocr(self, img, **kwargs):
--> 231 return self.predict(img, **kwargs)
TypeError: PaddleOCR.predict() got an unexpected keyword argument "slice"`
Is there any other solution to handle this ?
Beta Was this translation helpful? Give feedback.
All reactions