dd02 setting tune + change Class name from UVUnrollFrameProcessor to FrameUnwarper
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user