Fixed bug in media

This commit is contained in:
Saifeddine ALOUI 2023-12-09 11:42:16 +01:00
parent 04bd34f1e6
commit 343921b606

View File

@ -13,8 +13,8 @@ if not PackageManager.check_package_installed("pygame"):
else:
import pygame
import threading
if not PackageManager.check_package_installed("pygame"):
PackageManager.install_package("cv2")
if not PackageManager.check_package_installed("opencv-python"):
PackageManager.install_package("opencv-python")
import cv2
else:
import cv2