cmauri / eviacam

webcam based mouse emulator
GNU General Public License v3.0
143 stars 37 forks source link

Please support OpenCV 3 #2

Closed iwamatsu closed 7 years ago

iwamatsu commented 7 years ago

Hi,

Current eviacam can not build with opencv 3. Becuse eviacam is using cvCalcOpticalFlowHS, but this has been removed from opencv 3. We need to use cv::calcOpticalFlowFarneback instead of cvCalcOpticalFlowHS.

Best regards, Nobuhiro

cmauri commented 7 years ago

Hi Nobuhiro,

The code using cvCalcOpticalFlowHS was already deprecated in eViacam, so I removed it completely. I hope now compiles fine with opencv 3 (it works with opencv 2). Updated commits in devel branch.

Best regards, Cesar

iwamatsu commented 7 years ago

Hi!

The code using cvCalcOpticalFlowHS was already deprecated in eViacam, so I removed it completely. I hope now compiles fine with opencv 3 (it works with opencv 2). Updated commits in devel branch.

Cool! Thanks for your work! Do you have a plan that this commit merge to master branch and release new version?

Best regards, Nobuhiro

cmauri commented 7 years ago

Hi!,

Sorry for the delay.

Yes! Sure! But, could you please confirm that it compiles fine with opencv 3? (Not tested by myself)

Regards, Cesar

cmauri commented 7 years ago

Released version 2.1.1 which fully supports OpenCV 2 and 3 under linux.

iwamatsu commented 7 years ago

Cool, thanks. BTW, if you need to update this version to debian/unstable, let me know. I am DD, I can upload your package . https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841407