<jupyter_start><jupyter_text>Imports<jupyter_code>import numpy as np, cv2
from matplotlib import pyplot as plt<jupyter_output><empty_output><jupyter_text>Reading items and the reasons why they are contradict<jupyter_code>itm1 = 'potato'
itm2 = 'melon'
reason = "Ayurveda's food theory"<jupyter_output><empty_output><jupyter_text>Processing the data<jupyter_code>img1 = cv2.imread('image/' + itm1 + '.jpg')
img2 = cv2.imread('image/' + itm2 + '.jpg')
img3 = cv2.imread('image/white.jpg')
width = len(reason) * 7
height = int(width * 0.7)
img1 = cv2.resize(img1,(width, height))
img2 = cv2.resize(img2,(width, height))
img3 = cv2.resize(img3,(2 * width, 50))
vis = np.concatenate((img1, img2), axis=1)
vis = np.concatenate((vis, img3), axis=0)
vis = cv2.line(vis, (0, 0), (2 * width, height), (0, 0, 255), 2)
vis = cv2.line(vis, (2 * width, 0), (0, height), (0, 0, 255), 2)
vis = cv2.putText(vis, reason, (10,height + 20), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (255, 0, 0), 2, cv2.LINE_AA)<jupyter_output><empty_output><jupyter_text>Output image<jupyter_code>cv2.imwrite('out.png', vis)
RGB_vis = cv2.cvtColor(vis, cv2.COLOR_BGR2RGB)
plt.imshow(RGB_vis)
plt.title("DON'T EAT TOGETHER!!")
plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.17719442165709598, 'fraction_numerical': 0.05742411812961444, 'mean_word_length': 6.625, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '497879', 'license': 'MIT', 'n_tokens_mistral': 558, 'n_tokens_neox': 523, 'n_words': 105, 'path': 'ShowImage.ipynb', 'repo_name': 'boxifu/reciperec', 'size': '1219'}