File size: 437 Bytes
abfce56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
echo "Updating system package list..."
sudo apt-get update

echo "Installing Tesseract OCR and Poppler utilities..."
sudo apt-get install -y tesseract-ocr tesseract-ocr-guj poppler-utils

if ! command -v python3 &>/dev/null; then
    echo "Python3 is not installed. Installing Python3..."
    sudo apt-get install -y python3 python3-pip
fi

echo "Installing Python dependencies..."
pip install -r requirements.txt

echo "Setup complete!"