Visualizing raw and edge-detected-images

Here we are displaying the image data using the OpenCV function called imshow(), which consists of the window name and the image name:

cv::imshow(OPENCV_WINDOW, img); 
cv::imshow(OPENCV_WINDOW_1, dst); 
cv::waitKey(3); 

Get Mastering ROS for Robotics Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.