Skip to content

Commit

Permalink
fix: fix callback invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpalma committed Jul 2, 2020
1 parent efa152c commit 3173338
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void run() {
@Override
public void onProgressValues(TessBaseAPI.ProgressValues progressValues) {
Log.d("progress " + progressValues.getPercent().toString());
callback(progressValues.getPercent());
callback.invoke(progressValues.getPercent());
}
});
tesseract.init(DATA_PATH, lang);
Expand Down

0 comments on commit 3173338

Please sign in to comment.