mirror of
https://github.com/azaion/gps-denied-desktop.git
synced 2026-04-23 00:36:37 +00:00
initial structure implemented
docs -> _docs
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
from pydantic import BaseModel
|
||||
from ..core.camera_parameters import CameraParameters
|
||||
from .database_config import DatabaseConfig
|
||||
from .flight_config import OperationalArea
|
||||
|
||||
|
||||
class ModelPaths(BaseModel):
|
||||
superpoint: str = "models/superpoint.engine"
|
||||
lightglue: str = "models/lightglue.engine"
|
||||
dinov2: str = "models/dinov2.engine"
|
||||
litesam: str = "models/litesam.engine"
|
||||
|
||||
|
||||
class APIConfig(BaseModel):
|
||||
host: str = "0.0.0.0"
|
||||
port: int = 8000
|
||||
debug: bool = False
|
||||
|
||||
|
||||
class SystemConfig(BaseModel):
|
||||
camera: CameraParameters
|
||||
operational_area: OperationalArea = OperationalArea()
|
||||
models: ModelPaths = ModelPaths()
|
||||
database: DatabaseConfig = DatabaseConfig()
|
||||
api: APIConfig = APIConfig()
|
||||
|
||||
Reference in New Issue
Block a user