Re: Tesseract remove non-text regions

2012-06-26 Thread Zdenko Podobný
Dn(a 26.06.2012 13:47, christy wrote / napísal(a): > You can call the following from baseapi.cpp as :- > Boxa* boxa = NULL; > Pixa* pixa = NULL; > Pix *pix = tesseract_->pix_binary(); tesseract_ is protected object so it is not available. IMO it could be replaced with: Pix *pix = api->GetThresholde

Re: Tesseract remove non-text regions

2012-06-26 Thread christy
You can call the following from baseapi.cpp as :- Boxa* boxa = NULL; Pixa* pixa = NULL; Pix *pix = tesseract_->pix_binary(); tesseract::ImageFinder::FindImages(pix,&boxa,&pixa); Hope this helps.. On Apr 30, 10:22 pm, Eslam Mohamed wrote: > please, provide me with a code sample on how to use thi