Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node js ocr

const img = fs.readFileSync("image.jpg")

tesseract
  .recognize(img, config)
  .then((text) => {
    console.log("Result:", text)
  })
  .catch((error) => {
    console.log(error.message)
  })
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #node #js #ocr
ADD COMMENT
Topic
Name
2+6 =