mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 11:09:06 +08:00
fix issue 1228: bilevel pdf output - horizontal/vertical lines removed
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1118 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
905e6162b9
commit
95b7783a95
@ -919,7 +919,7 @@ void TessBaseAPI::SetInputImage(Pix *pix) {
|
|||||||
pixDestroy(&input_image_);
|
pixDestroy(&input_image_);
|
||||||
input_image_ = NULL;
|
input_image_ = NULL;
|
||||||
if (pix)
|
if (pix)
|
||||||
input_image_ = pixClone(pix);
|
input_image_ = pixCopy(NULL, pix);
|
||||||
}
|
}
|
||||||
|
|
||||||
Pix* TessBaseAPI::GetInputImage() {
|
Pix* TessBaseAPI::GetInputImage() {
|
||||||
|
Loading…
Reference in New Issue
Block a user