try to recognize PDF based on 3 pages

This commit is contained in:
Simon Kornblith 2009-09-14 02:58:56 +00:00
parent a38322ef54
commit a60bfc1518

View File

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