cheind / dest

:panda_face: One Millisecond Deformable Shape Tracking Library (DEST)
BSD 3-Clause "New" or "Revised" License
286 stars 109 forks source link

Fix compilation using OpenCV 2.4.9.1 (Ubuntu 16.04) #8

Closed brunexgeek closed 7 years ago

brunexgeek commented 7 years ago

When compiling in my Ubuntu 16.04 with OpenCV 2.4.9.1, I had to do the following change do avoid compilation errors. It seems the cv::Scalar constructor of my OpenCV does not have a version accepting a cv::Vec3b object.

cheind commented 7 years ago

Hi @brunexgeek, thanks for your PR. Looks fine to me. Will test with OpenCV 3.1 and then merge in the coming days.