概要
OCR技术提供商 合合信息
企业OA系统提供商 才望子
利用这2家公司的产品,我们来做一个自动识别发票的报销app
效果图
关键代码
const appKey = '.....'; // your app_key; const appSecret = '......';// your app_secret; const url = '.....'; function inv(fileData) { const idx = fileData.indexOf(','); const img = fileData.substr(idx + 1, fileData.length - idx); return kintone.proxy(url + appKey, 'POST', { 'content-type': 'application/json', }, { app_secret: appSecret, image_data: img }); }
具体实现请参考:
kintone+计算机视觉---发票识别
更多文章和演示:Kintone demo环境