D-Alex / ropencv

ffi ruby wrapper for opencv
Other
67 stars 14 forks source link

Test updates and setting value of DBL_MAX #30

Closed jaronson closed 9 years ago

jaronson commented 9 years ago

I've tried to consolidate the test suite and fix some minitest warnings. Also adding a Gemfile for development bundling.

The biggest change is setting the value of cv DBL_MAX to Float::MAX. This was preventing cv::createlbph_face_recognizer from functioning.

D-Alex commented 9 years ago

Thx for the cleanup. Unfortunately, the FaceRecognizer will be moved into opencv_contrib in the next release (OpenCV 3.0). Therefore, I made the test optional.

At the moment there is no easy way to build ropencv with opencv_contrib. But I am going to add the mechanism for it in a couple of days.