A Hybrid Text-Extraction and Transformer-Based Classification Pipeline with Asynchronous Fast API Serving for Academic Document Management

Colleges and universities produce assignments, circulars, research papers and notes by the thousand each term, and most of it is still filed and found by hand. Ordinary cloud storage keeps the files but cannot read them. We describe a document management service, built on FastAPI, that extracts text from digital PDFs (PyMuPDF), mixed office formats (Apache Tika) and scanned or handwritten pages (Tesseract OCR after image clean-up), and then assigns each document to one of four academic categories (Assignment, Research Paper, Notes or Circular) with a fine-tuned DistilBERT classifier, with RoBERTa kept as a higher-accuracy alternative. Results are stored in a relational database, searched by keyword, category, uploader or date, and summarised on an administrator dashboard, while JWT authentication and role-based access control protect every endpoint. On an evaluation set of 500 academic files the DistilBERT classifier reached an average accuracy of 93.8%, and processing stayed under 1.5 s per document with five concurrent user sessions. All six functional and security test cases passed. We report the design, the reasoning behind each choice, the measurements, the limits of our evaluation, and how the results sit against three recent studies of OCR deployment.

Authors

Institutions

Publication Details

Journal
Indian Journal of Computer Science and Technology
Published
2026-11-13
DOI
https://doi.org/10.59256/indjcst.20260503098
Primary Topic
Text and Document Classification Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Hybrid Text-Extraction and Transformer-Based Classification Pipeline with Asynchronous Fast API Serving for Academic Document Management

Dnyaneshwar Achari Shivani, Abhang Dr. S. P
5 links
Indian Journal of Computer Science and Technology
Text and Document Classification Technologies
article

A Hybrid Text-Extraction and Transformer-Based Classification Pipeline with Asynchronous Fast API Serving for Academic Document Management

Dnyaneshwar Achari Shivani, Abhang Dr. S. P
article en

Abstract

Colleges and universities produce assignments, circulars, research papers and notes by the thousand each term, and most of it is still filed and found by hand. Ordinary cloud storage keeps the files but cannot read them. We describe a document management service, built on FastAPI, that extracts text from digital PDFs (PyMuPDF), mixed office formats (Apache Tika) and scanned or handwritten pages (Tesseract OCR after image clean-up), and then assigns each document to one of four academic categories (Assignment, Research Paper, Notes or Circular) with a fine-tuned DistilBERT classifier, with RoBERTa kept as a higher-accuracy alternative. Results are stored in a relational database, searched by keyword, category, uploader or date, and summarised on an administrator dashboard, while JWT authentication and role-based access control protect every endpoint. On an evaluation set of 500 academic files the DistilBERT classifier reached an average accuracy of 93.8%, and processing stayed under 1.5 s per document with five concurrent user sessions. All six functional and security test cases passed. We report the design, the reasoning behind each choice, the measurements, the limits of our evaluation, and how the results sit against three recent studies of OCR deployment.

Indian Journal of Computer Science and Technology
CSMSS Chh. Shahu College of Engineering (IN)
Text and Document Classification Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon