Alex Berezhkovsky 2024-08-27 14:04:01 +08:00 committed by GitHub
commit 8a41a3c1f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,6 @@ from typing import Callable, Tuple, List, Any
from types import ModuleType from types import ModuleType
import cv2 import cv2
from PIL import Image, ImageOps from PIL import Image, ImageOps
from pygrabber.dshow_graph import FilterGraph
import pyvirtualcam import pyvirtualcam
# Import OS-specific modules only when necessary # Import OS-specific modules only when necessary
@ -14,6 +13,8 @@ if platform.system() == 'Darwin': # macOS
import objc import objc
from Foundation import NSObject from Foundation import NSObject
import AVFoundation import AVFoundation
elif platform.system() == 'Windows' or platform.system() == 'Linux':
from pygrabber.dshow_graph import FilterGraph
import modules.globals import modules.globals
import modules.metadata import modules.metadata