// SetImagePix sets the input image using a leptonica Pix func (t *Tess) SetImagePix(pix *leptonica.Pix) { C.TessBaseAPISetImage2(t.tba, (*C.struct_Pix)(unsafe.Pointer(pix.CPIX()))) }
func (t *TesseractAPI) BaseAPISetImage(pix *lept.Pix) { cPix := pix.RawPix() C.TessBaseAPISetImage2(t.api, (*C.struct_Pix)(unsafe.Pointer(cPix))) }