ComfyUI Node
Photo Camera π
Works out the camera your photo was taken with, so a 3D model of the person lines up with the photo. Wire in the photo, the person's mask and the photo's field of view (Get FoV from MoGe measures it). Send crop_fov to Pixal3D Conditioning, camera_info to the 3D viewer, and the strip numbers to where the photo is laid on the 360. The viewer then opens on your photo's own view, with the 360 behind it lined up.
Photo Camera π
- image
- mask
- crop_fov
- camera_info
- strip_width
- strip_x
- strip_y
βfov55.0βΊ
βpad_factor1.10βΊ
βcanvas_width2048βΊ
Categoryπ AusBoss/Utility
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Your photo, the same one Crop to Mask cuts the person from. | |
| mask | MASK | The person, white on black: the same mask Crop to Mask uses. | |
| fov | FLOAT | 55.01β170 | How wide the photo is, in degrees across. Wire Get FoV from MoGe here; 55 suits most phone photos. |
| pad_factor | FLOAT | 1.101β2 | The margin Crop to Mask adds around the person. Keep the two the same. |
| canvas_width | INT | 20488β16384 | Width of the 360 canvas the photo is laid on. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| crop_fov | FLOAT | The crop's field of view, for Pixal3D Conditioning. |
| camera_info | LOAD3D_CAMERA | Your photo's camera, for the 3D viewer's camera_info: it opens on the photo's own view. |
| strip_width | INT | How wide the photo is on the 360 canvas, in pixels. |
| strip_x | INT | Where the photo's left edge goes on the 360 canvas. |
| strip_y | INT | Where the photo's top edge goes on the 360 canvas. |