{
 "last_node_id": 17,
 "last_link_id": 15,
 "nodes": [
  {
   "id": 1,
   "type": "MarkdownNote",
   "pos": [
    0,
    -438.0
   ],
   "size": [
    640,
    268
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "**Needs in ComfyUI's `input` folder:** `clip0.png` .. `clip3.png`\n\nFour frames of one clip (clip0.png .. clip3.png). Track objects: the named classes get one id over the clip (boxes; the JSON holds the tracks). Retrieve similar images: the nearest neighbours of each frame by global descriptor (pairs mode lists the pairs a matcher should try). Gaussian splats from photos: AnySplat predicts a 3D Gaussian scene from the unposed views without training; the .ply opens in SuperSplat / gsplat and shows in Preview 3D. Use views of one scene; more views from around it give more."
   ]
  },
  {
   "id": 2,
   "type": "LoadImage",
   "pos": [
    0.0,
    0.0
   ],
   "size": [
    300,
    340
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      1
     ],
     "slot_index": 0
    },
    {
     "name": "MASK",
     "type": "MASK",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "clip0.png",
    "image"
   ]
  },
  {
   "id": 3,
   "type": "LoadImage",
   "pos": [
    0.0,
    380.0
   ],
   "size": [
    300,
    340
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      2
     ],
     "slot_index": 0
    },
    {
     "name": "MASK",
     "type": "MASK",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "clip1.png",
    "image"
   ]
  },
  {
   "id": 4,
   "type": "LoadImage",
   "pos": [
    0.0,
    760.0
   ],
   "size": [
    300,
    340
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      4
     ],
     "slot_index": 0
    },
    {
     "name": "MASK",
     "type": "MASK",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "clip2.png",
    "image"
   ]
  },
  {
   "id": 5,
   "type": "LoadImage",
   "pos": [
    0.0,
    1140.0
   ],
   "size": [
    300,
    340
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      6
     ],
     "slot_index": 0
    },
    {
     "name": "MASK",
     "type": "MASK",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "clip3.png",
    "image"
   ]
  },
  {
   "id": 6,
   "type": "ImageBatch",
   "pos": [
    380.0,
    0.0
   ],
   "size": [
    200,
    50
   ],
   "flags": {},
   "order": 6,
   "mode": 0,
   "inputs": [
    {
     "name": "image1",
     "type": "IMAGE",
     "link": 1
    },
    {
     "name": "image2",
     "type": "IMAGE",
     "link": 2
    }
   ],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      3
     ],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 7,
   "type": "ImageBatch",
   "pos": [
    660.0,
    120.0
   ],
   "size": [
    200,
    50
   ],
   "flags": {},
   "order": 7,
   "mode": 0,
   "inputs": [
    {
     "name": "image1",
     "type": "IMAGE",
     "link": 3
    },
    {
     "name": "image2",
     "type": "IMAGE",
     "link": 4
    }
   ],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      5
     ],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 8,
   "type": "ImageBatch",
   "pos": [
    940.0,
    240.0
   ],
   "size": [
    200,
    50
   ],
   "flags": {},
   "order": 8,
   "mode": 0,
   "inputs": [
    {
     "name": "image1",
     "type": "IMAGE",
     "link": 5
    },
    {
     "name": "image2",
     "type": "IMAGE",
     "link": 6
    }
   ],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      7,
      10,
      12
     ],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 9,
   "type": "FastforksTrackObjects",
   "pos": [
    1380.0,
    0.0
   ],
   "size": [
    330,
    380
   ],
   "flags": {},
   "order": 9,
   "mode": 0,
   "inputs": [
    {
     "name": "frames",
     "type": "IMAGE",
     "link": 7
    }
   ],
   "outputs": [
    {
     "name": "preview",
     "type": "IMAGE",
     "links": [
      8
     ],
     "slot_index": 0
    },
    {
     "name": "tracks",
     "type": "STRING",
     "links": [
      9
     ],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "person",
    "grounding-dino-tiny",
    "auto",
    "auto",
    0.3,
    5,
    2
   ]
  },
  {
   "id": 10,
   "type": "PreviewImage",
   "pos": [
    1790.0,
    0.0
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 10,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 8
    }
   ],
   "outputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 11,
   "type": "PreviewAny",
   "pos": [
    1790.0,
    340.0
   ],
   "size": [
    300,
    200
   ],
   "flags": {},
   "order": 11,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 9
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "tracks",
   "widgets_values": []
  },
  {
   "id": 12,
   "type": "FastforksRetrieveImages",
   "pos": [
    1380.0,
    460.0
   ],
   "size": [
    330,
    300
   ],
   "flags": {},
   "order": 12,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 10
    },
    {
     "name": "gallery",
     "type": "IMAGE",
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "index",
     "type": "STRING",
     "links": [
      11
     ],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": [
    "megaloc",
    "auto",
    "auto",
    "top_k",
    5
   ]
  },
  {
   "id": 13,
   "type": "PreviewAny",
   "pos": [
    1790.0,
    580.0
   ],
   "size": [
    300,
    200
   ],
   "flags": {},
   "order": 13,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 11
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "neighbours",
   "widgets_values": []
  },
  {
   "id": 14,
   "type": "FastforksGaussians",
   "pos": [
    1380.0,
    840.0
   ],
   "size": [
    330,
    300
   ],
   "flags": {},
   "order": 14,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 12
    }
   ],
   "outputs": [
    {
     "name": "path",
     "type": "STRING",
     "links": [
      14
     ],
     "slot_index": 0
    },
    {
     "name": "depth",
     "type": "IMAGE",
     "links": [
      13
     ],
     "slot_index": 1
    },
    {
     "name": "model_3d",
     "type": "FILE_3D",
     "links": [
      15
     ],
     "slot_index": 2
    }
   ],
   "properties": {},
   "widgets_values": [
    "anysplat [non-commercial]",
    "auto",
    "auto",
    0,
    "fastforks/splat"
   ]
  },
  {
   "id": 15,
   "type": "PreviewImage",
   "pos": [
    1790.0,
    840.0
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 15,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 13
    }
   ],
   "outputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 16,
   "type": "PreviewAny",
   "pos": [
    1790.0,
    1180.0
   ],
   "size": [
    300,
    100
   ],
   "flags": {},
   "order": 16,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 14
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "ply path",
   "widgets_values": []
  },
  {
   "id": 17,
   "type": "Preview3DAdvanced",
   "pos": [
    1790.0,
    1320.0
   ],
   "size": [
    500,
    600
   ],
   "flags": {},
   "order": 17,
   "mode": 0,
   "inputs": [
    {
     "name": "model_3d",
     "type": "FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D",
     "link": 15
    },
    {
     "name": "model_3d_info",
     "type": "LOAD3D_MODEL_INFO",
     "link": null
    },
    {
     "name": "camera_info",
     "type": "LOAD3D_CAMERA",
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "model_3d",
     "type": "FILE_3D",
     "links": [],
     "slot_index": 0
    },
    {
     "name": "model_3d_info",
     "type": "LOAD3D_MODEL_INFO",
     "links": [],
     "slot_index": 1
    },
    {
     "name": "camera_info",
     "type": "LOAD3D_CAMERA",
     "links": [],
     "slot_index": 2
    },
    {
     "name": "width",
     "type": "INT",
     "links": [],
     "slot_index": 3
    },
    {
     "name": "height",
     "type": "INT",
     "links": [],
     "slot_index": 4
    }
   ],
   "properties": {},
   "widgets_values": [
    "",
    1024,
    1024
   ]
  }
 ],
 "links": [
  [
   1,
   2,
   0,
   6,
   0,
   "IMAGE"
  ],
  [
   2,
   3,
   0,
   6,
   1,
   "IMAGE"
  ],
  [
   3,
   6,
   0,
   7,
   0,
   "IMAGE"
  ],
  [
   4,
   4,
   0,
   7,
   1,
   "IMAGE"
  ],
  [
   5,
   7,
   0,
   8,
   0,
   "IMAGE"
  ],
  [
   6,
   5,
   0,
   8,
   1,
   "IMAGE"
  ],
  [
   7,
   8,
   0,
   9,
   0,
   "IMAGE"
  ],
  [
   8,
   9,
   0,
   10,
   0,
   "IMAGE"
  ],
  [
   9,
   9,
   1,
   11,
   0,
   "*"
  ],
  [
   10,
   8,
   0,
   12,
   0,
   "IMAGE"
  ],
  [
   11,
   12,
   0,
   13,
   0,
   "*"
  ],
  [
   12,
   8,
   0,
   14,
   0,
   "IMAGE"
  ],
  [
   13,
   14,
   1,
   15,
   0,
   "IMAGE"
  ],
  [
   14,
   14,
   0,
   16,
   0,
   "*"
  ],
  [
   15,
   14,
   2,
   17,
   0,
   "FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D"
  ]
 ],
 "groups": [
  {
   "id": 1,
   "title": "Inputs",
   "bounding": [
    -30.0,
    -90.0,
    1200.0,
    1600.0
   ],
   "color": "#88A",
   "font_size": 24,
   "flags": {}
  },
  {
   "id": 2,
   "title": "fastforks",
   "bounding": [
    1350.0,
    -90.0,
    970.0,
    2040.0
   ],
   "color": "#3f789e",
   "font_size": 24,
   "flags": {}
  }
 ],
 "config": {},
 "extra": {},
 "version": 0.4
}