13 lines
222 B
13 lines
222 B
6 years ago
|
/*
|
||
|
* 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,
|
||
|
};
|