Skip to content

Commit

Permalink
fix: clone original image when starting column mode
Browse files Browse the repository at this point in the history
  • Loading branch information
renard314 committed Apr 15, 2016
1 parent b531bcd commit ee4668b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file removed 0207.png
Binary file not shown.
3 changes: 2 additions & 1 deletion app/src/main/jni/image_processing/image_processing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ extern "C" {
messageJavaCallback(MESSAGE_IMAGE_DETECTION);

PixBinarizer binarizer(false);
pixb = binarizer.binarize(pixOrg, pixJavaCallback);
Pix* pixOrgClone = pixClone(pixOrg);
pixb = binarizer.binarize(pixOrgClone, pixJavaCallback);
pixJavaCallback(pixb);

// SkewCorrector skewCorrector(false);
Expand Down

0 comments on commit ee4668b

Please sign in to comment.