fix(textrecognition): height of text block

This commit is contained in:
Aldo Culquicondor
2018-03-23 16:20:16 -05:00
parent 182e4a3e88
commit 01e763b143
@@ -104,7 +104,7 @@ public class TextRecognizedEvent extends Event<TextRecognizedEvent> {
WritableMap size = Arguments.createMap();
size.putDouble("width", text.getBoundingBox().width() * this.mScaleX);
size.putDouble("height", text.getBoundingBox().width() * this.mScaleY);
size.putDouble("height", text.getBoundingBox().height() * this.mScaleY);
WritableMap bounds = Arguments.createMap();
bounds.putMap("origin", origin);