www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a60bfc151886df8b1ae8ebde474fd1c610622570
parent a38322ef546a7bfcb0ac93c2262b4db49e233a6e
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 14 Sep 2009 02:58:56 +0000

try to recognize PDF based on 3 pages


Diffstat:
Mchrome/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 @@ -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]+)+)/;