An Android app for Optical Character Recognition (OCR) on passports and citizen ID cards, supporting image capture, text extraction, face/document detection, translation, and PDF generation with encryption.
record.ocr_.mp4
- Capture/select images via camera or gallery.
- Extract text using Google ML Kit OCR.
- Detect and crop documents/faces.
- Parse document data (e.g., name, date of birth, ID number).
- Translate text (Vietnamese, English, Russian).
- Generate and download PDFs.
- Encrypt images with AES-256.
- Platform: Android
- Libraries: Google ML Kit (OCR, face detection, translation), CameraX, OpenCV, AndroidX Security
- Architecture: MVVM
- Clone the repo:
git clone https://github.com/lnlan1810/Document-OCR.git
- Open in Android Studio and sync dependencies.
- Run on an Android device/emulator (API 26+).
- Select document type (passport/citizen ID).
- Capture or pick image.
- View parsed data; translate if needed.
- Generate/download PDFs from results.
- Fork the repo.
- Create a branch (
git checkout -b feature/your-feature). - Commit changes (
git commit -m 'Add feature'). - Push (
git push origin feature/your-feature). - Open a Pull Request.