Guides
Best Practices
Follow these recommendations to get the best extraction results from OCR Platform APIs.
Image Quality
The quality of your input images significantly affects extraction accuracy.
Use high-resolution images (minimum 300 DPI recommended)
Ensure good lighting with minimal shadows
Capture the full document without cropping important areas
Avoid blurry or out-of-focus images
Use supported formats: JPEG, PNG, or WebP
API Usage
Optimize your API integration for reliability and cost efficiency.
Implement retry logic with exponential backoff for failed requests
Cache extraction results when appropriate to reduce API calls
Use appropriate timeouts (recommended: 30 seconds)
Monitor your usage through the dashboard
Validate extracted data on your end for critical fields
Security
Protect sensitive document data and API credentials.
Never expose API keys in client-side code
Use HTTPS for all API requests
Delete uploaded images after processing when possible
Implement proper access controls for extracted data
Rotate API keys periodically
Performance
Optimize for speed and efficiency in production.
Compress images before uploading (keep quality above 80%)
Process documents asynchronously when possible
Use batch processing for multiple documents
Implement proper loading states in your UI