From a60bfc151886df8b1ae8ebde474fd1c610622570 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 14 Sep 2009 02:58:56 +0000 Subject: [PATCH] try to recognize PDF based on 3 pages --- chrome/content/zotero/recognizePDF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js index e933c10c7..3de61fb5f 100644 --- a/chrome/content/zotero/recognizePDF.js +++ b/chrome/content/zotero/recognizePDF.js @@ -256,7 +256,7 @@ Zotero_RecognizePDF.Recognizer = function () {} * (function will be passed image as URL and must return text of CAPTCHA) */ Zotero_RecognizePDF.Recognizer.prototype.recognize = function(file, callback, captchaCallback) { - const MAX_PAGES = 2; + const MAX_PAGES = 3; const lineRe = /^\s*([^\s]+(?: [^\s]+)+)/;