5th Dec, 2006

Tesseract OCR

剛剛用 Visual Studio 2005 compile 到 Tesseract OCR 1.2, 試試應用於本人開發的自動圖像確認通過系統 (Automated Image Verification Passthrough System), 部份 code 有 type conversion 的問題, 如下例:

arg = strchr (arglist, argv[optind][1]);

Error    6    error C2440: ‘=’ : cannot convert from ‘const char *’ to ‘char *’    \tesseract\ccutil\getopt.cpp    46   

改成

arg = strchr ((char*)arglist, argv[optind][1]);

Proto->TotalMagnitude = pow (Proto->Magnitude.Spherical, (double) N);

Error    28    error C2666: ‘pow’ : 6 overloads have similar conversions    \tesseract\classify\clusttool.cpp    146   

Proto->TotalMagnitude = pow (Proto->Magnitude.Spherical, (double) N);

URL: http://sourceforge.net/projects/tesseract-ocr

相關文章

  • No Related Post

你的回應






Your response: