誤記訂正
DynaEye EX V4.0L10の製品媒体に含まれる、サンプルプログラムに誤りがありました。お詫びして訂正いたします。 また、DynaEye EX V4.0L20 では、DynaEye EX V4.0L10の製品媒体に含まれる、サンプルデータの一部を変更しました。 これらの訂正および変更は、DynaEye EX V4.0L20以降の製品媒体では修正済みです。
サンプルプログラムの誤記訂正
| 対象ファイル名 | 格納場所 | 該当場所 | 誤 | 正 |
|---|---|---|---|---|
| imgform.cpp | CLIB¥SAMPLES¥ Sample_ ImageProcessing フォルダ |
246 行目 |
if (param.xhi != 1 && param.yhi != 1) { |
if (param.xhi != 1 || param.yhi != 1) { |
| pagerecog2.cpp | CLIB¥SAMPLES¥ Sample_ ImagePageRecog フォルダ |
34 行目 |
// 検出した帳票の方向に対応する文字列 const char *direction_string[] = { " 0度(正立)", "270度(左90度)", "180度(上下逆)", " 90度(右90度)", }; |
|
| 174 行目 |
if (! DEOCR_SetImageData( handle_ocr, 0, image_data, image_data_size, NULL)) { |
if (! DEOCR_SetImageData( handle_ocr, 0, image_data, 0, NULL)) { |
||
| 230 行目 |
fprintf(fp_out, "方向 = %d度¥n", page_info-> direction * 90); |
fprintf(fp_out, "方向 = %s¥n", direction_string[page_info-> direction]); |
||
| Sample_ PageRecognize.c |
CLIB¥SAMPLES¥ Sample_ PageRecognize フォルダ |
41 行目 |
// 検出した帳票の方向に対応する文字列 const char *direction_string[] = { " 0度(正立)", "270度(左90度)", "180度(上下逆)", " 90度(右90度)", }; |
|
| 214 行目 |
printf("方向 = %d度¥n", page_info-> direction * 90); |
printf("方向 = %s¥n", direction_string[page_info-> direction]); |
||
| Sample_ PageClassify.c |
CLIB¥SAMPLES¥ Sample_ PageClassify フォルダ |
30 行目 |
// 検出した帳票の方向に対応する文字列 const char *direction_string[] = { " 0度(正立)", "270度(左90度)", "180度(上下逆)", " 90度(右90度)", }; |
|
| 126 行目 |
printf("方向 = %d度¥n", page_info-> direction * 90); |
printf("方向 = %s¥n", direction_string[page_info-> direction]); |
サンプルデータの変更
| 対象ファイル名 | 格納場所 | 変更内容 |
|---|---|---|
| demoDynaEyeStaff.TIF | CLIB¥SAMPLES¥ Sample_ImagePageRecog フォルダ |
拡張ドロップアウトカラー帳票のサンプルイメージを、フルカラー黒文字枠帳票のサンプルイメージに変更 |
| CSM_SAMPLE.TIF | CLIB¥SAMPLES¥ Sample_ImageProcessing フォルダ |
拡張ドロップアウトカラー帳票のサンプルイメージを、フルカラー黒文字枠帳票のサンプルイメージに変更 |
