using SharpCV, i want get contours list but get errror System.Runtime.InteropServices.SEHException: "External component has thrown an exception."
var image = cv2.imread("b8ddbd62baa067f41dd8e821141ad835.jpg");
var gray = cv2.cvtColor(image, ColorConversionCodes.COLOR_BGR2GRAY);
var (ret, thresh) = cv2.threshold(gray, 127, 255, ThresholdTypes.THRESH_OTSU);
var (contours, hierarchy) = cv2.findContours(thresh, RetrievalModes.RETR_EXTERNAL, ContourApproximationModes.CHAIN_APPROX_SIMPLE);
what i doing wrong ?