First time here? Check out the FAQ!
answered 2018-11-02 06:12:39 -0600
C++ implementation:
cv::Canny(im, edges, 100, 200); // convert canny to BGR cv::cvtColor(edges, edges, CV_GRAY2BGR); // multiply to make it red red_canny = edges.mul(cv::Scalar(255, 0, 0), 1);