So, I created a CLI that helps me batch convert my scanned notes to markdown. It supports latex for math as well. You can either use the Gemini or Claude or Ollama to carry out the conversion. It is open source and free to use, you will need your own api key though.