1 | initial version |
I found it myself: Just change the vector<uchar> to vector<char> with:
vector<char> inliers_c(inliers.begin(), inliers.end());
drawMatches(img_1, keypoints_1, img_2, keypoints_2, sym_matches, matched_points_RANSAC, Scalar::all(-1), Scalar::all(-1), inliers_c, 0);