Automatically parse a PDF timetable and add it to Google Calendar using Python OpenCV and Tesseract.
This is specific to my use case but the code can be easily repurposed to support other content layouts.
python pdf2calendar.py [-h] -f FILE -g GROUP -s START -e END [-t TIMEZONE]
python pdf2calendar.py -f ~/Documents/emploi.pdf -g B -s 28/8/2018 -e 30/4/2019
-
Clone this repository
git clone https://github.com/khllkcm/pdf2calendar.git -
Install the required system packages listed at the
dependenciesfolder -
Place
dependencies/essai.traineddatain your system'stessdatadirectory. -
Install the required Python packages
pip install --user -r requirements.txt
