21 lines
403 B
Python
21 lines
403 B
Python
|
|
|
|
from .gphoto_camera import GPhotoCamera
|
|
from .opencv_camera import OpenCvCamera
|
|
from .camera_controller import CameraController
|
|
|
|
|
|
class CameraManager:
|
|
def __init__(self) -> None:
|
|
pass
|
|
|
|
def detect_gphoto(self):
|
|
camera_list = GPhotoCamera.detect()
|
|
print(camera_list)
|
|
return camera_list
|
|
|
|
def detect_opencv(self):
|
|
camera_list = OpenCvCamera.detect()
|
|
print(camera_list)
|
|
return camera_list
|