AlexeyAB / Yolo_mark

GUI for marking bounded boxes of objects in images for training neural network Yolo v3 and v2
https://github.com/AlexeyAB/darknet
The Unlicense
1.8k stars 680 forks source link

error: ‘SparsePyrLKOpticalFlow’ is not a member of ‘cv’ #158

Open filmnamu opened 5 years ago

filmnamu commented 5 years ago

hello, I tried to compile using opencv 2.4.11 and i keep getting the Screenshot from 2019-09-11 18-22-48

PlanNoa commented 4 years ago

window 10, opencv 3.4.7 and faced same problem.

yojayc commented 4 years ago

hello, I tried to compile using opencv 2.4.11 and i keep getting the Screenshot from 2019-09-11 18-22-48

Have you sovled the problem yet?

PlanNoa commented 4 years ago

I got same error in opencv 3.4.7 but I could solve this problem in 2.4.13 on windows 10.

filmnamu commented 4 years ago

The problem in ubuntu was not solved, but no error occurred in windows 10.

TidelyPom commented 4 years ago

It seems that in opencv 3.1.0 ‘SparsePyrLKOpticalFlow’ is a member of cv::cuda, which means that I need to compile opencv with the cuda option activated. Does recompiling opencv with cuda, modifying the main.cpp by adding #include "cudaoptflow.hpp" and replacing cv::SparsePyrLKOpticalFlow by cv::cuda::SparsePyrLKOpticalFlow solves the problem (at least if you have a gpu) ?

isabelapt commented 4 years ago

I am with the same problem

ambr89 commented 4 years ago

Me too!

scamianbas commented 4 years ago

Hi all, got the same problem, the last working commit for me is 1ecd253d4e2ef04fd11aee60338ed109eb1129bf "Added O - button to copy previous bboxes with object tracking"

yangyoungLive commented 4 years ago

When I using opencv 3.1.x, same error. change to opencv 4.1.x, it's solved!