OEM.js 222 B

123456789101112
  1. /*
  2. * OEM = OCR Engine Mode, and there are 4 possible modes.
  3. *
  4. * By default tesseract.js uses LSTM_ONLY mode.
  5. *
  6. */
  7. module.exports = {
  8. TESSERACT_ONLY: 0,
  9. LSTM_ONLY: 1,
  10. TESSERACT_LSTM_COMBINED: 2,
  11. DEFAULT: 3,
  12. };