import file from 'apigo.cc/gojs/file' import u from 'apigo.cc/gojs/util' import co from 'apigo.cc/gojs/console' import ai from 'apigo.cc/ai' let r = ai.textin.scanTable(file.readBytes('table.jpeg'), { excel: true }) file.write('table.xls', u.unBase64(r.detail.excel)) return r