Zener.mp4
Upload a timetable image and add your schedule to Google Calendar
We were given our semester time table in a piece of paper. IN 2024 !! WHO ARE WE KIDDING ??
I spent a lot of time adding all those coures into google calendar. It was time consuming and prone to errors.
So automated adding the courses to the calendar using Google Cloud APIs. Now I just have to take a picture and upload it, the script will take care of the rest.
https://console.cloud.google.com/apis/dashboard
https://developers.google.com/calendar/api/guides/overview
- Follow the instructions above to set up a project in the Google Developers Console.
- Enable the Google Calendar API for your project.
- Download the credentials.json file and place it in the same directory as your script.
- Sign up at OCR.Space to get an API key.
- Replace 'your_ocr_api_key_here' in the ocr_space_file function with your actual API key.
pip install -r requirements.txt
Run the script.
For the rest, you guys are smart enough to understand it.
After a lot of experimentation, I found ExtractTable OCR to work best for tabular data.
Also offers APIs to integrate easily into python.
https://www.extracttable.com/