Skip to content

Commit 51155a5

Browse files
committed
Merge pull request rmtheis#20 from n3utrino/master
return height properly for detected text
2 parents 2418dfb + 6034f1e commit 51155a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eyes-two/jni/hydrogen/jni/hydrogentextdetector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ jint Java_com_googlecode_eyesfree_textdetect_HydrogenTextDetector_nativeGetSourc
178178

179179
HydrogenTextDetector *ptr = (HydrogenTextDetector *) nativePtr;
180180
PIX *pix = ptr->GetSourceImage();
181-
jint w = pixGetWidth(pix);
181+
jint w = pixGetHeight(pix);
182182

183183
pixDestroy(&pix);
184184

0 commit comments

Comments
 (0)