I have many projects related to flashcards, studying and PDFs. In the initial version of the flashcards creation tool, written as an angular PWA whit the nebular UI kit, you can create flashcards based on a PDFs content. This was done by selecting an area, which can then be either inserted as text or an image.
If the area should be included as text, the web app first tries to find embedded text in the PDF. If that fails, it uses tesseract to perform OCR and still extract text content from the area selection.
Through the use of keyboard shortcuts, users can quickly generate flashcards from PDFs, like study guides, lecture slides or books.
Integration with the popular Anki spaced-repetition flashcard program allows users to stick to their existing workflow when studying the cards.