transports: resize output image if it doesn't match camera

This commit is contained in:
Aleix Conchillo Flaqué
2024-05-15 15:35:19 -07:00
parent 349fc526d7
commit 3d6783ddb0
4 changed files with 13 additions and 7 deletions

View File

@@ -55,7 +55,7 @@ class ImageRawFrame(DataFrame):
"""
image: bytes
size: Tuple[int, int]
format: str
format: str | None
def __str__(self):
return f"{self.name}(size: {self.size}, format: {self.format})"