Пример #1
0
// Clear frees 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 SetImagePix before doing any Recognize or Get* operation.
func (t *Tess) Clear() {
	C.TessBaseAPIClear(t.tba)
}
Пример #2
0
func (t *TesseractAPI) BaseAPIClear() {
	C.TessBaseAPIClear(t.api)
}