Rasmni reskalashning eng maqbul usuli OpenCV-ning cv2.resize () funksiyasidan foydalanishdir. Ushbu funksiya rasmni aniq o'lchamga ko'paytirishga imkon beradi, lekin sifatni juda ham yo'qotmaydi. Masalan, rasmni 10px x 10px o'lchamga ko'paytirish uchun quyidagi kodni ishlatishingiz mumkin: python Copy code rescaled_img = cv2.resize () img, (10, 10))
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence