15 lines
237 B
JavaScript
15 lines
237 B
JavaScript
'use strict';
|
|
|
|
/*
|
|
* OEM = OCR Engine Mode, and there are 4 possible modes.
|
|
*
|
|
* By default tesseract.js uses LSTM_ONLY mode.
|
|
*
|
|
*/
|
|
module.exports = {
|
|
TESSERACT_ONLY: 0,
|
|
LSTM_ONLY: 1,
|
|
TESSERACT_LSTM_COMBINED: 2,
|
|
DEFAULT: 3,
|
|
};
|