Merge branch 'feature/finger_docs' into dev

This commit is contained in:
ykcheungab
2026-07-14 20:07:43 +08:00
14 changed files with 275 additions and 94 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ class SingleCameraFrameProcessor:
return frame
class UVUnrollFrameProcessor:
class FrameUnwarper:
"""Remap a raw camera frame into a flattened UV-domain BGR image."""
def __init__(
@@ -230,7 +230,7 @@ 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}")