Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 465 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 465 Bytes

streamlit_tesseract_scanner

OCR Scanner with back camera as default
Use tesseract engine

Notes: It only works with https

Installation:

pip install streamlit_tesseract_scanner  

Example:

import streamlit as st  
from streamlit_tesseract_scanner import tesseract_scanner

blacklist='@*|©_Ⓡ®¢§š'  
data = tesseract_scanner(showimg=False, lang='vie+eng', blacklist=blacklist, psm=3)  

if data is not None:  
    st.write(data)