doi:10.57967/hf/2133 region:us
# rakib72642/ocrMEMO
HuggingFace: https://huggingface.co/rakib72642/ocrMEMO

# Setup Global API 

sudo apt install iproute2 -y && sudo apt install wget -y && sudo apt install unzip -y && sudo apt install unzip -y && sudo apt install nvtop -y && sudo apt-get install git-all -y && sudo apt-get install git-lfs -y && sudo apt-get update && sudo apt-get install libgl1 -y && sudo apt install curl -y && curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok -y && sudo apt update && sudo apt upgrade -y && ngrok config add-authtoken 2Q8xOjna6gvwQRiMTZayN1uEgWy_6uRD8M1b6rZtYMz4yLzAw && ngrok http --domain=dominant-eagerly-deer.ngrok-free.app 8000

# Setup Local API 

git clone https://huggingface.co/rakib72642/ocrMEMO && cd ocrMEMO && pip install -r requirements.txt && sudo apt update && sudo apt upgrade -y && python api1.py

cd ocrMEMO && python api1.py

# hypercorn api1:app --bind 127.0.0.1:8000 --workers 4



# DemoOCRBangla
![plot](MAP.png)


