dd02 setting tune + change Class name from UVUnrollFrameProcessor to FrameUnwarper

This commit is contained in:
ykcheungab
2026-07-14 20:00:40 +08:00
parent c2fb0b12b5
commit 30f9deb5b2
14 changed files with 275 additions and 94 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ class SingleCameraFrameProcessor:
return frame
class UVUnrollFrameProcessor:
class FrameUnwarper:
"""Remap a raw camera frame into a flattened UV-domain BGR image."""
def __init__(
@@ -227,5 +227,5 @@ def create_frame_processor(sensor_type, stitcher=None, uv_remap=None, **uv_kwarg
if sensor_type in ("uv_unroll", "unroll"):
if uv_remap is None:
raise ValueError("UV unroll sensor requires a UVRemap instance.")
return UVUnrollFrameProcessor(uv_remap, **uv_kwargs)
return FrameUnwarper(uv_remap, **uv_kwargs)
raise ValueError(f"Unsupported sensor type: {sensor_type}")