First time here? Check out the FAQ!
answered 2016-09-23 06:10:27 -0600
findContours() destroys the image, so you either need to show it before applying findContours(),
or pass a copy :
findContours(imgThresholded.clone(), contours, hierarchy, CV_RETR_LIST, CV_CHAIN_APPROX_SIMPLE);