new camera handling concept
This commit is contained in:
35
core/camera/gphoto_camera.py
Normal file
35
core/camera/gphoto_camera.py
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
from .base_camera import BaseCamera
|
||||
|
||||
class GPhotoBackend(BaseCamera):
|
||||
def __init__(self) -> None:
|
||||
self.camera = None
|
||||
self.context = None
|
||||
self._is_streaming = False
|
||||
|
||||
def connect(self) -> bool:
|
||||
pass
|
||||
|
||||
def disconnect(self):
|
||||
pass
|
||||
|
||||
def start_stream(self):
|
||||
pass
|
||||
|
||||
def stop_stream(self):
|
||||
pass
|
||||
|
||||
def get_frame(self):
|
||||
pass
|
||||
|
||||
def capture_photo(self):
|
||||
pass
|
||||
|
||||
def record_video(self):
|
||||
pass
|
||||
|
||||
def get_available_settings(self) -> dict:
|
||||
pass
|
||||
|
||||
def set_setting(self, name: str, value) -> bool:
|
||||
pass
|
||||
Reference in New Issue
Block a user