ocr 字符,字节转换(string2utf8,utf82string,str2wstr,wstr2str)
摘要:// std::string 转换为 UTF-8 编码 std::string string2utf8(const std::string & str) { int nwLen = ::MultiByteToWideChar(CP_ACP, 0, str.c_str(), -1, NULL, 0);
阅读全文
posted @
2022-05-31 19:11
WenJXUST
阅读(127)
推荐(0) 编辑
caffe-ocr libClassification动态库调用问题记录
摘要:问题一:glog.dll缺失,把前面编译libClassification库时的glog.dll复制过来。 问题二:应用程序无法正常启动(0x000007b),解决用vs自带的DEPENDS.EXE工具查看当前关联的动态库,发现libClassification.dll,有几个红色缺失,然后把缺失的
阅读全文
posted @
2021-10-12 18:28
WenJXUST
阅读(46)
推荐(0) 编辑
caffe-ocr win7+vs2017 cpu编译(非MKL版本)
摘要:一、源码下载 1、下载源码,caffe-ocr 项目地址:https://github.com/senlinuc/caffe_ocr; 下载下来如下,caffe-vsproj里是作者建好的工程,工程是vs2015的: 二、编译 1、打开caffe-vsproj中的caffe.sln,因为我的是vs2
阅读全文
posted @
2021-10-12 18:11
WenJXUST
阅读(108)
推荐(0) 编辑