Automatic extraction financial information in scanned invoices