AI Resume Classification & Details Extraction
A resume screening API that predicts the job category of an uploaded resume and extracts contact details, built with FastAPI and a Random Forest model.
Demo build: created to show how this kind of system works. No client name, figures or testimonials are implied.

- Industry
- HR tech & recruitment
- Product type
- AI resume screening API
- Backend
- Python, FastAPI, Textract, TF-IDF, Random Forest
Problem
Screening resumes is one of HR’s most time-consuming tasks: someone has to open every file, decide which role it fits and copy out the candidate’s contact details.
What we built
A lightweight API that automates the first pass. A user uploads a resume, and the system predicts which job category it belongs to (for example Data Science, Engineering or Marketing) and extracts key contact details such as email addresses and phone numbers. The structured result can feed straight into a recruitment platform or HR dashboard.
Key features
- Multi-format uploads: accepts PDF, DOCX and TXT resumes.
- Job category prediction: TF-IDF features and a trained Random Forest model classify each resume by role.
- Contact extraction: regex-based extraction of emails and phone numbers.
- REST API endpoint: a single
/upload-resumeendpoint that plugs into HR dashboards. - Runtime model loading:
rf_classifier.pklandtfidf_vectorizer.pklload at startup for fast, portable inference. - Integration-ready: designed as a clean backend for React frontends and recruitment platforms.
How it works
- A user uploads a resume in PDF, DOCX or TXT format.
- The FastAPI backend receives the file on the
/upload-resumeendpoint. - Textract parses the document into raw text.
- The text is vectorised with TF-IDF and classified by the Random Forest model.
- Regex extraction finds contact details such as email addresses and phone numbers.
- The API returns the predicted category and extracted details to the frontend.
Tech
- Backend: Python, FastAPI, REST API
- Parsing: Textract for PDF, DOCX and TXT
- Machine learning: TF-IDF vectoriser, Random Forest classifier
- Extraction: regex-based email and phone parsing
Result
This is a demo build. It is designed to:
- reduce manual resume screening for recruiters and HR teams;
- standardise classification and contact extraction across resumes;
- provide a fast backend service that can be embedded in hiring dashboards;
- serve as a base for job matching, ranking and applicant workflow automation.
