This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何使用vlib中的库函数实现运动检测



大家好,

我们现在使用DM8168做视频处理,想要使用vlib中的函数来实现运动检测的目的,实时检测出视频中运动物体的坐标,我看了vlib中的一些函数,并尝试使用函数 VLIB_trackFeaturesLucasKanade_7x7 来获取运动物体的坐标,可是我依照vlib函数说明的使用例程来使用VLIB_trackFeaturesLucasKanade_7x7,并没有返回运动物体的坐标值

VLIB_trackFeaturesLucasKanade_7x7(previousImage, inPut, gradx, grady, width, height, nFeatures, X, Y, newX, newY, NULL,10, 0,scratch);

有谁用过这个函数,能否介绍下使用方法,input 是指YUV格式的数据吗? 或者是有谁做过类似的运动检测,vlib里还有没有其他的函数能实现返回运动物体的坐标的功能?

谢谢!