Python-da Windows sichqonchasini kamera yordamida boshqarish uchun OpenCV kabi tasvirni qayta ishlash modulini ishlatish kerak. Keyin, sizga qo'lingizni qanday aniqlash va uni sichqoncha harakatini boshqarish uchun qanday ishlatish mumkinligi haqida asosiy misol keltiraman: python import cv2 import numpy as np import pyautogui # Qo'l terini aniqlash uchun HSV ranglar qiymatlarini o'rnating lower_skin = np.array([0, 20, 70], dtype=np.uint8) upper_skin = np.array([20, 255, 255], dtype=np.uint8) # Video o'rnatish ob'ektini ishga tushiring cv2.VideoCapture0) # Video o'rnatish o'rnating cv2.CAPPROP_WAME_FRID, 640) hcv2.CAPP_CLOUR
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence