Tesseract poor output

76 views
Skip to first unread message

Sina Azm

unread,
Nov 4, 2020, 1:48:22 AM11/4/20
to tesseract-ocr
hello guys im' geting nonsense from tesseract anybody knows why ? here is the code : 
                      let data = await myCamera.takePictureAsync({});                
                      let path = data.uri.replace('file://', '');
                      setPicture(data.uri)
                      RNTesseractOcr.recognize(path,  'LANG_ENGLISH'   , tessOptions)
                      .then((result) => {
                        console.log("OCR Result: ", result);
                      })
                      .catch((err) => {
                        console.log("OCR Error: ", err);
                      }) 
                      . 
Reply all
Reply to author
Forward
0 new messages