Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Commit

Permalink
fix(textrecognition): height of text block
Browse files Browse the repository at this point in the history
  • Loading branch information
alculquicondor committed Mar 23, 2018
1 parent 182e4a3 commit 01e763b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -104,7 +104,7 @@ private WritableMap serializeText(Text text) {

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);
Expand Down

1 comment on commit 01e763b

@alculquicondor
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refs #1388

Please sign in to comment.