帧差法//取两帧图像if(preSafetyRopeDetectionFrame.empty()){ preSafetyRopeDetectionFrame = curFrame;//将第一帧赋给preFrame preSafetyRopeDetectionFrameIdx = detectTrackInfo.GetCurFrameIdx();}else{ if((detectTrackInfo.GetCurFrameIdx() - preSafetyRopeDet
opencv
2023-11-27
54 点赞
0 评论
81 浏览