Keyingi kod namunasida OpenCV-Python yordamida rasmlarga matn qo'shish uchun quyidagi kodlar ishlatiladi: ``python import cv2 # rasmni o'qish img = cv2.imread (('example.jpg') # matn tarkibi va shriftni o'rnatish text = 'Hello, World!' font = cv2.FONT_HERSHEY_SIMPLEX font_scale = 1 thickness = 2 # matn qutisini olish text_size, _ = cv2.getTextSize(text, font, font_scale, thickness) # matn qutisi joyini hisoblash va rasmda matn x = (((intimg.shape[1] - text_size[0 / y = 2) (((img.shape] + [0_text_example]) mat
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence