1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-17 07:04:18 +08:00

fix build

This commit is contained in:
Alexander Alekhin
2016-10-08 00:25:56 +03:00
parent 5f8d3d756b
commit 8b71f7e265

View File

@@ -42,6 +42,7 @@
#include "precomp.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/core/hal/hal.hpp"
#include "opencv2/core/private.hpp"
#include "opencl_kernels_optflow.hpp"
namespace cv {
@@ -54,7 +55,7 @@ using std::vector;
static bool ocl_updateMotionHistory( InputArray _silhouette, InputOutputArray _mhi,
float timestamp, float delbound )
{
ocl::Kernel k("updateMotionHistory", ocl::video::updatemotionhistory_oclsrc);
ocl::Kernel k("updateMotionHistory", ocl::optflow::updatemotionhistory_oclsrc);
if (k.empty())
return false;