mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-22 22:46:36 +00:00
initial structure implemented
docs -> _docs
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
from typing import Optional
|
||||
import numpy as np
|
||||
|
||||
from models.core import ValidationResult
|
||||
from models.images import ImageBatch
|
||||
|
||||
|
||||
class BatchValidator:
|
||||
@staticmethod
|
||||
def validate_batch(batch: ImageBatch) -> ValidationResult:
|
||||
raise NotImplementedError
|
||||
|
||||
@staticmethod
|
||||
def validate_image_format(image_bytes: bytes) -> ValidationResult:
|
||||
raise NotImplementedError
|
||||
|
||||
@staticmethod
|
||||
def validate_sequence_continuity(
|
||||
current_batch: ImageBatch,
|
||||
expected_start: int,
|
||||
) -> ValidationResult:
|
||||
raise NotImplementedError
|
||||
|
||||
@staticmethod
|
||||
def validate_image_dimensions(
|
||||
image: np.ndarray,
|
||||
expected_width: int,
|
||||
expected_height: int,
|
||||
) -> ValidationResult:
|
||||
raise NotImplementedError
|
||||
|
||||
@staticmethod
|
||||
def validate_batch_size(
|
||||
batch: ImageBatch,
|
||||
max_size: int = 100,
|
||||
) -> ValidationResult:
|
||||
raise NotImplementedError
|
||||
|
||||
Reference in New Issue
Block a user