error: (-215:Assertion failed) (npoints = prevPtsMat.checkVector(2, CV_32F, true)) >= 0 in function 'calc'

问题描述 投票:0回答:0

我正在尝试这个 git,我在下面收到这个错误

terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.5.1) ../modules/video/src/lkpyramid.cpp:1257: error: (-215:Assertion failed) (npoints = prevPtsMat.checkVector(2, CV_32F, true)) >= 0 in function 'calc'

硬件:

树莓派 3B v1.2

内存:1GB

交换文件:4GB

软件:

Debian GNU/Linux 11(靶心)aarch64

Pip 包:opencv-python-headless 和 opencv-contrib_python == 4.7.0.72

我要传递的视频是 480x600,30fps,大约 30 秒长。

python python-3.x opencv raspberry-pi raspberry-pi3
© www.soinside.com 2019 - 2024. All rights reserved.