This is the frontend for the Aadhaar OCR System, built with React.js. The goal? Let users upload both sides of their Aadhaar card, send them to the backend for OCR, and neatly display the extracted data like name, DOB, and Aadhaar number.
β
Upload front and back images of an Aadhaar card
β
Preview uploaded images instantly
β
Trigger OCR extraction via backend API
β
Display Aadhaar details in a clean layout
git clone https://github.com/DilfaThayyil/aadharXtract-Client.git
cd aadharXtract-Client
2. Install Dependencies
npm install
3. Setup Environment Variables
4. Start the Development Server
npm start
π§ͺ How to Use
Upload clear images of the front and back of an Aadhaar card Click the "Extract Info" button View the extracted data rendered below the upload section If it doesnβt work β check the backend or file types π
π§Ό Notes
The backend must be running for this to work (make sure the OCR server is live). Only supports JPG or PNG images β under 5MB. A good image = better OCR accuracy.
π¬ Feedback / Contributions
Found a bug? Want to suggest a new feature? Feel free to open an issue or PR β contributions are always welcome! π¬