Nodes/Camera Movement to Prompt/Camera Movement to Prompt
ComfyUI Node

Camera Movement to Prompt

A ComfyUI node in camera with 4 inputs and 2 outputs.

By Lil0k·Created 4 months ago·Updated 4 months ago· 0
Camera Movement to Prompt
  • original_extrinsics
  • new_extrinsics
  • prompt
  • camera_json
prompt_templateReferring to the scene in image 1, restore the perspective of the scene in image 2. Repair the perspective and missing areas. The camera has moved by: {camera_movement}
decimal_places2
Categorycamera

Inputs (4)

NameTypeDefaultDescription
original_extrinsicsEXTRINSICS4x4 camera extrinsics from the original view (e.g. SharpPredict)
new_extrinsicsEXTRINSICS4x4 camera extrinsics from the new view (e.g. GaussianViewer)
prompt_templateSTRINGReferring to the scene in image 1, restore the perspective of the scene in image 2. Repair the perspective and missing areas. The camera has moved by: {camera_movement}Use {camera_movement} as placeholder for the JSON camera delta
decimal_placesINT20–6Number of decimal places for values

Outputs (2)

NameTypeDescription
promptSTRING
camera_jsonSTRING