decode-elm / app.py
mehradans92's picture
added app.py
409fff7
raw
history blame
535 Bytes
import easyocr as ocr #OCR
import streamlit as st #Web App
from PIL import Image #Image Processing
import numpy as np #Image Processing
#title
st.title("Easy OCR - Extract Text from Images")
#subtitle
st.markdown("## Optical Character Recognition - Using `easyocr`, `streamlit` - hosted on πŸ€— Spaces")
st.markdown("Link to the app - [image-to-text-app on πŸ€— Spaces](https://huggingface.co/spaces/Amrrs/image-to-text-app)")
#image uploader
image = st.file_uploader(label = "Upload your image here",type=['png','jpg','jpeg'])