FunctionForSegmentation.py
439 # Detect the blobs and there contour in this black and white mask
440 im2, contours, hierarchy = cv2.findContours(BandWMask,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)
このコードなのですが、openCVのバージョンを更新するとエラーがでます。
440 の返り値 im2を削除すれば問題なく動作します。
FunctionForSegmentation.py
439 # Detect the blobs and there contour in this black and white mask
440 im2, contours, hierarchy = cv2.findContours(BandWMask,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)
このコードなのですが、openCVのバージョンを更新するとエラーがでます。
440 の返り値 im2を削除すれば問題なく動作します。