similarity: moved dlib learner into separate header