<jupyter_start><jupyter_text>bruh i cant find any cucumber image detection datasets...........<jupyter_code>import cv2
import numpy as np
def viewImage(image):
    cv2.namedWindow('Display', cv2.WINDOW_NORMAL)
    cv2.imshow('Display', image)
    cv2.waitKey(0)
    cv2.destroyAllWindows()
image = cv2.imread('test1.jpeg')
hsv_img = cv2.cvtColor(image, cv2.COLOR_BGR2HSV)
green_low = np.array([45 , 100, 50])
green_high = np.array([95, 255, 255])
curr_mask = cv2.inRange(hsv_img, green_low, green_high)
hsv_img[curr_mask > 0] = ([0,0,255])
viewImage(hsv_img)
## converting the HSV image to Gray inorder to be able to apply 
## contouring
RGB_again = cv2.cvtColor(hsv_img, cv2.COLOR_HSV2RGB)
gray = cv2.cvtColor(RGB_again, cv2.COLOR_RGB2GRAY)
viewImage(gray) ## 3
ret, threshold = cv2.threshold(gray, 90, 255, 0)
viewImage(threshold) ## 4
# contours, hierarchy =  cv2.findContours(threshold,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)
# cv2.drawContours(image, contours, -1, (0, 0, 255), 3)
viewImage(image) ## 5<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1438223938223938, 'fraction_numerical': 0.05888030888030888, 'mean_word_length': 5.733766233766234, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '335489', 'license': 'Unlicense', 'n_tokens_mistral': 448, 'n_tokens_neox': 410, 'n_words': 84, 'path': 'tests/cumber_tests.ipynb', 'repo_name': 'sirmammingtonham/yeeb', 'size': '1036'}