Web Service API for Intelligent Document Capture and Recognition