提交 3365478f 编写于 作者: S syyxsxx

add namespace InferenceEngine::

上级 3a445181
......@@ -208,7 +208,8 @@ bool Transforms::Run(cv::Mat* im, ImageBlob* data) {
(*im).convertTo(*im, CV_32FC3);
if (type_ == "detector") {
InferenceEngine::LockedMemory<void> input2Mapped =
as<InferenceEngine::MemoryBlob>(data->ori_im_size_)->wmap();
InferenceEngine::as<InferenceEngine::MemoryBlob>(
data->ori_im_size_)->wmap();
float *p = input2Mapped.as<float*>();
p[0] = im->rows;
p[1] = im->cols;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册