pysseract.Pysseract.Clear

Pysseract.Clear(self: _pysseract.Pysseract) → None

Free up recognition results and any stored image data, without actually freeing any recognition data that would be time-consuming to reload. Afterwards, you must call SetImage or TesseractRect before doing any Recognize or Get* operation.