AayushG159 / Plant-Leaf-Identification

Identification of plants through plant leaves on the basis of their shape, color and texture features using digital image processing techniques
MIT License
107 stars 58 forks source link

value error #8

Open surajgharmalkar opened 2 years ago

surajgharmalkar commented 2 years ago

ValueError
Cell In [104], line 2 1 filename = "../476362180.jpg" ----> 2 bg_rem_img = bg_sub(filename)

Cell In [101], line 13, in bg_sub(filename) 10 kernel = np.ones((50,50),np.uint8) 11 closing = cv2.morphologyEx(im_bw_otsu, cv2.MORPH_CLOSE, kernel) ---> 13 ret_image, contours, hierarchy = cv2.findContours(closing,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE) 15 contains = [] 16 y_ri,xri, = resized_image.shape

ValueError: not enough values to unpack (expected 3, got 2)

div910 commented 9 months ago

please assign it to me