5. 出力

OCRの結果をCSVファイルへ出力します。

5.1. 共通

出力されるCSVの形式は、「個別設定」-「ダウンロードファイル形式」で指定します。

5.2. CSV(AIRead形式)

AIRead独自のCSV形式で出力されます。

  • ダウンロードファイル形式:CSV(AIRead形式)
  • ヘッダ部:
No.項目名説明
1Imageファイル名(複数ページファイルの場合はページ分割後)
2Image_jshfilenameファイルパス(処理成功/失敗移動先)
3originalinputファイル名
4modifyDateインプットファイルの更新日時
yyyy-MM-ddThh:mm:ss
5processDate処理完了日時
yyyy-MM-ddThh:mm:ss
6resulttrue:処理成功
false:処理失敗
8form_id帳票定義ID
  • データ部:
No.項目名説明
1ItemName項目名
2Page該当のメタデータが出現するページの番号(0 開始)
3GIDフォーマット定義ファイルで指定したグループID
4RIDフォーマット定義ファイルで指定したレコードID
5Value取得した値
6conf文字認識の信頼度
値が大きいほど正解している可能性が高い(MAX100)
※チェックマークの場合はテンプレート領域に対する黒領域の割合(数値)
7x抽出範囲の左上の点のx座標(ピクセル)
8y抽出範囲の左上の点のy座標(ピクセル)
9w抽出範囲の幅(ピクセル)
10h抽出範囲の高さ(ピクセル)
11KeyWordキーワード指定で指定されたキーワード
12TableName明細名(座標指定ではGIDと同じ値が自動的に出力される)
  • 出力イメージ:
"ItemName","Page","GID","RID","Value","conf","x","y","w","h"
"Image","-1","-1","-1","sample1.jpg","-1","-1","-1","-1","-1"
"Image_jshfilename","-1","-1","-1","C:\AIRead\success\sample1.jpg","-1","-1","-1","-1","-1"
"modifyDate","-1","-1","-1","2018-08-16T18:10:27","-1","-1","-1","-1","-1"
"processDate","-1","-1","-1","2018-08-25T00:28:27","-1","-1","-1","-1","-1"
"result","-1","-1","-1","true","-1","-1","-1","-1","-1"
"id","0","","-1","order","100","-1","-1","-1","-1"
"tok_cd","0","","-1","100","97","307","688","510","170"
"Tel","0","","-1","03-2345-6789","95","307","951","1450","170"
"Month","0","","-1","10","97","307","1207","200","170"
"Day","0","","-1","31","99","620","1207","200","170"
"haikb","0","","-1","1","99","938","1207","85","170"
"timekb","0","","-1","3","99","1350","1207","85","170"
"Itemcd0","0","detail","0","123","100","407","1745","627","170"
"Amount0","0","detail","0","30","100","2015","1745","623","170"
"Wrapping0","0","detail","0","20","100","2687","1745","314","170"

5.3. CSV

一般的なカンマ区切りのCSV形式です。
1ページ1行で出力します。

  • ダウンロードファイル形式: CSV
  • 出力イメージ:
"id","tok_cd","Tel","Month","Day","haikb","timekb","Itemcd0","Amount0","Wrapping0"
"order","100","03-2345-6789","10","","","","123","30","20"