Compare commits

...

2 Commits

Author SHA1 Message Date
Alex Berezhkovsky 8a41a3c1f8
Merge 72287ce89e into 14ab470dcc 2024-08-27 14:04:01 +08:00
Alex Berezhkovsky 72287ce89e
add elif for pygrabber import 2024-08-18 18:33:46 +05:00
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
import cv2
from PIL import Image, ImageOps
from pygrabber.dshow_graph import FilterGraph
import pyvirtualcam
# Import OS-specific modules only when necessary
@ -14,6 +13,8 @@ if platform.system() == 'Darwin': # macOS
import objc
from Foundation import NSObject
import AVFoundation
elif platform.system() == 'Windows' or platform.system() == 'Linux':
from pygrabber.dshow_graph import FilterGraph
import modules.globals
import modules.metadata