Public
Like
Jpegconversionfrtb
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v12View latest version
A web application that allows users to upload JPEG images and convert them to HTML using OCR (Optical Character Recognition).
- Drag and drop file upload for JPEG images
- Multiple file upload support
- OCR text recognition using Tesseract.js
- HTML output generation with proper formatting
- Downloadable HTML files
- Progress tracking for OCR processing
├── backend/
│ └── index.ts # Main API server with file upload and OCR processing
├── frontend/
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend React application
│ └── style.css # Custom styles
└── README.md
- Visit the application URL
- Drag and drop JPEG files or click to select files (multiple files supported)
- Click "Start OCR Processing" to begin text extraction
- Monitor the progress of each file being processed
- Once complete, click "Download HTML" to get a formatted HTML file with all extracted text
- Drag & Drop Interface: Easy file upload with visual feedback
- Multiple File Support: Process multiple JPEG images at once
- Real-time Progress: See processing status and progress for each file
- OCR Confidence Scores: View confidence levels for text recognition
- Preview Images: See thumbnails of uploaded images
- Formatted HTML Output: Clean, styled HTML with extracted text organized by file
- Error Handling: Clear error messages for failed processing
- File Validation: Automatic filtering to accept only JPEG files
- Backend: Hono.js for API routes
- Frontend: React with TypeScript
- OCR: Tesseract.js for text recognition
- Styling: TailwindCSS