Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF OCR - Image-based PDF to Searchable PDF Converter

PDF OCR is a free web application that helps convert image-based or scanned PDF documents into searchable and copyable PDF format. The application uses OCR (Optical Character Recognition) technology to recognize text in images and create a digital text layer on top of the original images.

PDF OCR Demo

🌟 Key Features

  • ✅ Convert image-based PDFs to searchable PDFs
  • ✅ Support for multiple languages, including Vietnamese (with accents)
  • ✅ Completely client-side processing - no need to upload files to a server
  • ✅ Privacy and security - your data never leaves your browser
  • ✅ Create text-only PDFs for easy copying and editing
  • ✅ User-friendly interface
  • ✅ Completely free, no page or file limits
  • ✅ Progressive Web App (PWA) - can be installed and used offline

🚀 Technologies Used

  • Frontend: React, TypeScript, Tailwind CSS
  • OCR Engine: Tesseract.js
  • PDF Processing: PDF.js, PDF-lib
  • Build Tool: Vite
  • Deployment: Cloudflare Pages

🔧 Installation and Running the App

System Requirements

  • Node.js >= 20
  • npm or yarn

Installation

  1. Clone the repository:
git clone https://github.com/tang-vu/OCR-PDF.git
cd OCR-PDF
  1. Install dependencies:
npm install
  1. Run the application in development mode:
npm run dev
  1. Build the application for production:
npm run build
  1. Preview the build version:
npm run preview

🔍 How to Use

  1. Open the website at https://ocr-pdf.pages.dev or run the application on your personal computer
  2. Upload your image-based PDF file
  3. Select the text recognition language (default is Vietnamese)
  4. Click the "Start Conversion" button
  5. Wait for the recognition process to complete
  6. Download the searchable PDF or text-only PDF file

🌐 Online Access

The application is deployed at: https://ocr-pdf.pages.dev

🤝 Contributing

All contributions are welcome! If you'd like to contribute to the project, please follow the guidelines in the CONTRIBUTING.md file.

📝 License

This project is distributed under the MIT License. See the LICENSE file for more information.

🙏 Acknowledgments

About

Free, privacy-first OCR tool to convert scanned PDFs into searchable documents. Runs entirely in your browser - no uploads needed.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages