πŸ’‘ Inspiration

Resume screening is often time-consuming, subjective, and prone to human error β€” especially when comparing multiple candidates. We wanted to build a smart assistant that can fairly evaluate two resumes and give instant, AI-powered feedback on who's a better fit for a software engineering position. This tool is inspired by the need for smarter recruitment tools that go beyond keyword matching.


βš™οΈ What it does

Resume Comparer allows users to upload two PDF resumes and get an AI-generated comparison. Using Google’s Gemini GenAI, it:

  • Extracts the content from both resumes
  • Analyzes strengths, weaknesses, and unique qualities
  • Recommends the more suitable candidate for a software engineering role
  • Provides a valid, concise justification (50 words)

πŸ› οΈ How we built it

  • Backend: Built with FastAPI to handle file uploads, extract text from PDFs using PyPDF2, and communicate with Gemini AI via the google-generativeai SDK.
  • Frontend: Developed using React + Vite, styled with Tailwind CSS, and integrated with Axios for API communication.
  • AI Integration: Used Gemini’s gemini-2.0-flash model for fast and cost-effective text generation, with custom prompt engineering for comparing resumes.

🧱 Challenges we ran into

  • πŸ“„ PDF parsing inconsistencies: Not all resumes extracted cleanly due to different formatting.
  • πŸ” API authentication: Managing and securing the Gemini API key between local/dev environments.
  • πŸ’¬ Prompt tuning: Crafting the right prompt to get meaningful, structured, and useful comparisons from Gemini.
  • ⚑ CORS issues between the frontend and backend during local development.

πŸ† Accomplishments that we're proud of

  • 🎯 Built a fully functional, AI-powered resume comparison tool end-to-end.
  • πŸ”— Seamlessly integrated Google’s cutting-edge GenAI into a FastAPI backend.
  • 🧠 Created a reliable prompt that yields insightful comparisons in natural language.
  • ⚑ Delivered fast performance with a clean, mobile-friendly UI.

πŸ“š What we learned

  • How to work with Gemini GenAI and prompt it effectively.
  • Real-world handling of file uploads, PDF processing, and async tasks in FastAPI.
  • Frontend-backend API communication with CORS and form-data handling.
  • Deploying and testing AI models in production-ready scenarios.

πŸš€ What's next for Resume Comparer using Gemini GenAI API

  • πŸ” Add resume name extraction for personalized AI prompts.
  • πŸ“‚ Support for DOCX and TXT resumes alongside PDFs.
  • 🧠 Use Gemini Pro for deeper analysis and interview suggestions.
  • πŸ’Ύ Save previous comparisons and generate comparison reports (PDF/CSV).
  • πŸ‘₯ Add user authentication and recruiter dashboard features.
  • 🌍 Deploy on cloud platforms (Render, Vercel, Railway) for public access.

Built With

Share this project:

Updates

Submission history