Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Documents, PDF & OCR

Documents, PDF & OCR

Parse CV PDFs with Gemini Vision

When you run it, it downloads resumes from Google Drive, converts PDF pages to images and Gemini vision extracts structured candidate data.

What it does

## 2. Convert PDF to Image(s) Read more about using Stirling PDF AI vision models can only accept images (and sometimes videos!) as non-text inputs but not PDFs at time of writing. We'll have to convert our PDF to an image in order to use it. Here, we'll use a tool called Stirling PDF which can provide this functionality and can be accessed via a HTTP API. Feel free to use an alternative solution if available, otherwise follow the instructions on the Stirling PDF website to set up your own instance. Additionally, we'll reduce the resolution of our converted image to speed up the processing done by the LLM. I find that about 75% of an A4 (30x40cm) is a good balance.

The steps

  1. When clicking ‘Test workflow’
  2. Structured Output Parser
  3. Should Proceed To Stage 2?
  4. Download Resume
  5. PDF-to-Image API
  6. Resize Converted Image
  7. Google Gemini Chat Model
  8. Candidate Resume Analyser

Similar automations