ComfyUI · fastforks 0.4.0

ComfyUI workflows

The fastforks node pack has one node per task with a model dropdown; weights download on first use. These 48 workflows ship with it, and a note inside each one says what to change.

Install

In ComfyUI Manager, search for fastforks and install it. Or with the Comfy CLI:

comfy node install fastforks

From git instead: clone outside custom_nodes, link the pack in and use ComfyUI's Python:

git clone https://github.com/kleinicke/fastforks
ln -s "$PWD/fastforks/integrations/comfyui" ComfyUI/custom_nodes/comfyui-fastforks
pip install -r ComfyUI/custom_nodes/comfyui-fastforks/requirements.txt

Restart ComfyUI. The workflows then show up in its template browser; you can also download one below and drag it into the window. Most load images such as example.png from ComfyUI's input folder; only that one ships with ComfyUI, so put your own files there under the other names.

Node reference, Windows install and licences → · The pack on GitHub ↗

Some models are for non-commercial use only; their dropdown entries are tagged [non-commercial].

Depth and normals

  • Preview: Depth vs controlnet_aux

    Depth vs controlnet_aux

    Includes another node pack for comparison

    What it does

    Depth: four fastforks models on one image, plus two from the comfyui_controlnet_aux pack (right column). Change model in any node (32 depth models) or right-click > Bypass a branch. Mute branches you do not want to run.

    Input files: example.png

    Download JSON
  • Preview: Backend compare (three backends side by side)

    Backend compare (three backends side by side)

    What it does

    Same model, three backends: auto (what fastforks picks on this machine), portable (plain PyTorch) and kernels (our CUDA or Metal kernels where there are any). The fourth entry of the backend dropdown, mlx, is the model's Apple MLX port (Apple silicon only): pick it in a copy of a branch on a Mac. Results should match; time and memory differ. Run the queue twice: the first run includes loading and compilation.

    Input files: example.png

    Download JSON
  • Preview: Video depth (Video Depth Anything)

    Video depth (Video Depth Anything)

    What it does

    Video depth: Video Depth Anything on a clip (clip0.png .. clip3.png as frames; use Load Video + Get Video Components for a real video). The depth is consistent from frame to frame, so a depth video does not flicker. Pick the metric model for depth in metres. Measured on this machine: about 6x faster than the Video-Depth-Anything pack and 12 GB vs 1.7 GB peak memory. The pack's own node did not load for this example, so there is no branch of it here.

    Input files: clip0.png .. clip3.png

    Download JSON
  • Preview: Normals vs controlnet_aux (Metric3D)

    Normals vs controlnet_aux (Metric3D)

    Includes another node pack for comparison

    What it does

    Surface normals (colour-coded: the colour is the direction the surface faces), the hint of a normal-map ControlNet. Metric3D, Lotus and Marigold in fastforks against the Metric3D normal preprocessor of comfyui_controlnet_aux (the same model: about 29x faster here).

    Input files: example.png

    Download JSON
  • Preview: Parallax clip (depth, then a camera move)

    Parallax clip (depth, then a camera move)

    What it does

    A 2.5D clip from one photo (example.png): Depth shows what the clip is built from (nearer is brighter). Parallax clip estimates its own depth, renders a short camera move from it (path orbit, dolly or dolly_zoom) and fills the holes behind near objects (stretch, or inpaint with LaMa). The preview shows the frames, holes the pixels no view had, cameras the poses as text. Save the frames with ComfyUI's video nodes. No speed claim is made here.

    Input files: example.png

    Download JSON

ControlNet preprocessors

  • Preview: ControlNet preprocessors (edges, depth, normals, pose from one photo)

    ControlNet preprocessors (edges, depth, normals, pose from one photo)

    What it does

    One photo, five conditioning images for ControlNet: depth, surface normals, soft edges (HED), a pose skeleton and an ADE20K segmentation map. Wire any IMAGE output into ComfyUI's Apply ControlNet instead of the preview. Every node takes a model dropdown (depth 32 models, normals, edges, pose, 25 semantic segmenters).

    Input files: example.png

    Download JSON
  • Preview: Edges and line art

    Edges and line art

    What it does

    Line art and edge maps (white on black), the hints of lineart, soft-edge and M-LSD ControlNets: lineart, anime line art, AnyLine, HED, TEED (soft edges) and M-LSD (straight line segments).

    Input files: example.png

    Download JSON

Segmentation

  • Preview: Prompted vs SAM 2

    Prompted vs SAM 2

    Includes another node pack for comparison

    What it does

    Promptable segmentation: a click at the image centre (positive_points = 384,384). Edit the point in pixels, add a box 'x0,y0,x1,y1' or negative points. The click lands on the dress only because the image centre happens to be there: move it to pick another object. Only the two bottom nodes (SAM 3, CLIPSeg) take a text prompt: edit text there ('pink dress', 'grass'); the point-based SAM nodes error on text, leave it empty. Compare SAM 2.1, MobileSAM and EfficientViT-SAM.

    Input files: example.png

    Download JSON
  • Preview: Like a reference

    Like a reference

    What it does

    Segment like a reference (INSID3): one example image with a mask of a concept (here the object under a click on example.png, from Segment) finds the same concept in other images, no prompt per image. Batch more reference images and masks (one mask each) for a broader concept.

    Input files: example.png, clip0.png .. clip2.png

    Download JSON
  • Preview: Mask by words

    Mask by words

    What it does

    Segment by words: CLIPSeg turns the phrase in text into a mask (edit it: 'dress', 'person', 'hair'), Grow Mask widens it a little and LaMa fills the hole. Replace the phrase node with Segment (SAM) and a click for a sharper mask (see example 04).

    Input files: example.png

    Download JSON
  • Preview: Video click vs SAM 2 (kijai)

    Video click vs SAM 2 (kijai)

    Includes another node pack for comparison

    What it does

    Click to track: one click at the image centre of the first frame (positive_points = 384,384) and SAM 2.1 follows that object through the clip (clip0.png .. clip3.png). Edit the point in pixels of the first frame. Bottom: the same with the segment-anything-2 pack by kijai (video segmentor, add points on frame 0, then propagate). Measured: about 1.6x faster than that pack.

    Input files: clip0.png .. clip3.png

    Download JSON
  • Preview: Clothes parsing to inpaint mask

    Clothes parsing to inpaint mask

    What it does

    Clothes parsing to an edit mask: Parse labels every pixel (face parts or clothes), classes picks the ones that become the mask (edit: 'Upper-clothes, Pants'), the mask is grown a little and LaMa removes what it covers. classes_found lists what the model saw in the image.

    Input files: example.png

    Download JSON
  • Preview: Volume organs (clean, measure, one mesh per organ)

    Volume organs (clean, measure, one mesh per organ)

    What it does

    TotalSegmentator on a CT / MR volume: put a .nii / .nii.gz file (here ct.nii.gz) or a DICOM series folder into ComfyUI's input folder and type its name. The labels are written as NIfTI (spacing and orientation kept) under output/fastforks; the preview shows one slice, the JSON lists the classes found. Volume post-processing (no model): drops islands under 5 ml, keeps each label's largest part, fills holes, measures every class (millilitres, bounding box, centroid in mm, mean HU) and writes one STL mesh per class under output/fastforks/organs_meshes_00001 (scanner coordinates in mm: open them together in 3D Slicer, Blender or MeshLab).

    Download JSON

Background removal and matting

  • Preview: Removal vs RMBG

    Removal vs RMBG

    Includes another node pack for comparison

    What it does

    Background removal: five matting/saliency models. The IMAGE output is the cut-out (RGBA).

    Input files: example.png

    Download JSON
  • Preview: Video matte

    Video matte

    What it does

    Video matting (MatAnyone, non-commercial weights): a mask of the first frame (here the object under a click, from Segment; move the click to pick another object) is followed through the clip, giving an alpha per frame. Only the first mask of a batch is used. Frames are read one at a time, so long clips fit.

    Input files: clip0.png .. clip3.png

    Download JSON
  • Preview: Portrait blur

    Portrait blur

    What it does

    Portrait mode: Remove background gives the subject's alpha; the photo is blurred (ComfyUI's Image Blur) and the sharp photo is composited back through the alpha, softened with Grow Mask. Raise blur_radius for a stronger blur; switch model to ben2 or birefnet for finer hair.

    Input files: example.png

    Download JSON

Detection

  • Preview: Detection

    Detection

    What it does

    Object detection: DETR-family, YOLOX and RF-DETR. Output is a mask of the boxes and a text list. Set classes (e.g. 'person, car') to filter, raise score_threshold to cut noise. For open-vocabulary detection swap in grounding-dino-tiny and type what to find in classes.

    Input files: scene.png

    Download JSON
  • Preview: Anomaly inspection

    Anomaly inspection

    What it does

    Anomaly inspection without training: the first three frames are the 'normal' references (a few good samples are enough), the fourth is checked. The heat map shows where it looks unlike the references, the mask thresholds it (threshold, 0 = automatic) and the scores rank images. Use your own good and suspect photos in place of the clip frames.

    Input files: clip0.png .. clip3.png

    Download JSON

Pose

  • Preview: Pose vs controlnet_aux (DWPose)

    Pose vs controlnet_aux (DWPose)

    Includes another node pack for comparison

    What it does

    Pose estimation (skeleton overlay). Top-down models (rtmpose/vitpose/dwpose) need person boxes, the one-stage rtmo-m finds people itself (the detector node on the left feeds the others). dwpose-l is the same network as the DWPose of comfyui_controlnet_aux (dw-ll), so those two compare like for like; switch model to rtmw-x for whole body.

    Input files: scene.png

    Download JSON

Upscaling, inpainting and photo effects

  • Preview: Upscale vs ComfyUI's upscaler

    Upscale vs ComfyUI's upscaler

    Includes another node pack for comparison

    What it does

    4x upscaling of a small image: GAN (Real-ESRGAN), light CNN (SPAN), transformer (SwinIR). tile limits memory; 0 runs one pass.

    Input files: small.png

    Download JSON
  • Preview: Upscale with faces

    Upscale with faces

    What it does

    Real-ESRGAN x4 upscaling, then GFPGAN on the faces of the result. The two branches show what the face model adds: the top is the plain upscale, the bottom restores the faces afterwards. Swap model for DAT, SwinIR, HAT or any of the 30 upscalers; tile bounds the memory.

    Input files: example.png

    Download JSON
  • Preview: Inpaint (object removal from a click)

    Inpaint (object removal from a click)

    What it does

    Inpainting with LaMa. Top: the object under a click (Segment, SAM 2.1) is removed; the mask is grown a little so no outline is left. Bottom: a 200 x 200 square near the centre of a 768 px image is filled. To paint your own mask, open the image in the mask editor (right-click > Open in MaskEditor) and connect the MASK output of Load Image to mask instead.

    Input files: example.png

    Download JSON
  • Preview: Photo effects (refocus, relight, parallax, remove video objects)

    Photo effects (refocus, relight, parallax, remove video objects)

    What it does

    One photo (example.png): Refocus blurs by depth (focus: a pixel 'x,y', a nearness 0-1, or empty = the subject). Relight shades it with a new light from the normals (no cast shadows). Parallax renders a short camera move from its depth; the holes are stretched or filled with LaMa. Remove video objects (clip0.png .. clip3.png): SAM 2 tracks the named object, its background is copied from other frames along the optical flow and only what no frame shows is filled with LaMa.

    Input files: example.png, clip0.png .. clip3.png

    Download JSON
  • Preview: Relight a portrait (normals, two lights)

    Relight a portrait (normals, two lights)

    What it does

    Relight a photo (example.png; use a portrait): the surface normals decide how a new light falls on it, no diffusion step. Top: Normals shows the colour-coded directions the surfaces face. Relight photo estimates the same kind of normals itself (its third output) and shades them with Lambert's law: one light from the left, one from the right (light_x). Strength, ambient and soft change how hard the new light is; cast shadows and the old light's shadows are not handled. No speed claim is made here.

    Input files: example.png

    Download JSON

Video

  • Preview: Interpolation vs Frame-Interpolation

    Interpolation vs Frame-Interpolation

    Includes another node pack for comparison

    What it does

    Frame interpolation: four frames are batched, each model doubles the frame count (multiplier 2; raise it for slow motion). The preview shows the frames; use Save Image/Video nodes to export. The other pack's RIFE is version 4.9 and ours 4.26, so they are different networks, not a speed test: run on the same RIFE version, fastforks is no faster (about 0.9x), its gain here is FILM (about 10x).

    Input files: clip0.png .. clip3.png

    Download JSON
  • Preview: People (track, poses as OpenPose JSON, blur faces)

    People (track, poses as OpenPose JSON, blur faces)

    What it does

    People in a video (clip0.png .. clip3.png, consecutive frames): Track and segment finds the named classes in every frame, gives each object one id over the clip and segments it (SAM 2; one colour per id). Track poses keeps one id per person, smooths the keypoints over time and writes OpenPose JSON (person_id = id). Anonymize blurs every face; with video on, a face the detector misses in a few frames stays covered.

    Input files: clip0.png .. clip3.png

    Download JSON
  • Preview: Point tracking

    Point tracking

    What it does

    Point tracking: a grid of points on the first frame (grid_size 10 = 10 x 10, or type points 'x,y; x,y') is followed through the clip (clip0.png .. clip3.png). The preview draws the trails, tracks is the text of all positions. AllTracker and TAPIR in fastforks, CoTracker3 (non-commercial; measured about 1.5x faster than the CoTracker pack).

    Input files: clip0.png .. clip3.png

    Download JSON
  • Preview: Clean plate (video matte, then inpaint)

    Clean plate (video matte, then inpaint)

    What it does

    Clean plate from a clip (clip0.png .. clip3.png): Segment turns a click on the first frame (move it to pick another object) into a mask, Video matte (MatAnyone, non-commercial weights) follows it through every frame, and the alpha is thresholded and grown a little (no outline is left) before Inpaint (LaMa) fills each frame's hole from its surroundings. Top: the matte; bottom: the frames without the object. No speed claim is made here.

    Input files: clip0.png .. clip3.png

    Download JSON

Stereo and optical flow

  • Preview: Stereo

    Stereo

    What it does

    Stereo depth from a left/right pair (rectified): recurrent (RAFT-Stereo, IGEV), cost-volume (Fast-ACVNet+) and warping transformer (WAFT-Stereo). Output is a disparity visualisation.

    Input files: stereo_left.png, stereo_right.png

    Download JSON
  • Preview: Optical flow vs controlnet_aux (Unimatch; its branch is resized to a multiple of 16, the pack does not pad)

    Optical flow vs controlnet_aux (Unimatch; its branch is resized to a multiple of 16, the pack does not pad)

    Includes another node pack for comparison

    What it does

    Optical flow between neighbouring frames (colour-coded) and, bottom, a warp: frame 1 is pushed along the flow of the chosen model, so a good flow gives a copy of frame 2. Compare RAFT, SEA-RAFT, GMFlow and WAFT. The controlnet_aux GMFlow branch is resized to 848 x 480 first: that pack does not pad, and its scale-1 model fails on sizes that are not multiples of 16.

    Input files: clip0.png .. clip2.png

    Download JSON
  • Preview: Stereo from calibration (a rig file, and uncalibrated photos)

    Stereo from calibration (a rig file, and uncalibrated photos)

    What it does

    Left: calibrate a stereo rig from chessboard photos of both cameras (rig_left0..3 / rig_right0..3), save_as writes output/fastforks_stereo_opencv.yaml (the kind of file the Stereo node reads as calibration; run once, then type its name). Stereo here reads input/rig_stereo.yaml (the same rig, calibrated by the stager) and rectifies the unrectified pair itself (output depth = metric, shown as inverse depth). Right: photos without a rig (sfm_photos/00000..00002): Depth from two photos matches each ordered pair, estimates the pose, rectifies and runs stereo; 3 images = 6 pairs, depth for both images of every pair. Camera profile of one photo: Calibrate (intrinsics from the single image). Gap: the profile of Calibrate / the board file cannot feed focal_px or the Stereo calibration by a link (JSON text, path typed by hand).

    Input files: rig_left0.png .. rig_left3.png, rig_right0.png .. rig_right3.png, sfm_photos/0.png .. sfm_photos/2.png

    Download JSON

Documents and codes

  • Preview: Scan a page and decode codes

    Scan a page and decode codes

    What it does

    A photo of a document page (example.png): Scan document finds the page (BiRefNet lite), rectifies its perspective, turns it upright (PP-LCNet) and reads it (PP-OCRv5). Switch on dewarp for curved pages (UVDoc), clean = binarize for a black-on-white page, codes for the barcodes on it. Scan codes decodes barcodes and QR / Data Matrix codes in any image on the CPU (tapirscan: pip install tapirscan).

    Input files: example.png

    Download JSON
  • Preview: Scan a batch of pages

    Scan a batch of pages

    What it does

    The multi-page variant of the scan-document example: three photos of text pages (page0.png .. page2.png, on a table, turned and in perspective) are batched. Scan document finds each page, rectifies it, turns it upright and reads it: the pages come out as one image batch, the text as one string (pages separated by a blank line) and the JSON has one entry per page. Below: plain OCR on the same batch (no page finding) for text the page finder does not need to cut out; the quads show where each line was read. Switch on dewarp for curved pages.

    Input files: page0.png .. page2.png

    Download JSON
  • Preview: Find barcodes and QR codes

    Find barcodes and QR codes

    What it does

    Scan codes finds barcodes and 2D codes (QR, Data Matrix, EAN / UPC, Code 128 ...) on the CPU (tapirscan: pip install tapirscan): the preview outlines them, codes holds text, format and corners, first the first text. Top: one label (codes_single.png). Below: a long page (codes_long.png, 1400 x 3600) is scanned whole, the node has no tiling and reads at full resolution; the two overlapping crops (ImageCrop) show how to scan parts of a huge page or scan with a higher effort only where codes are tiny. formats = 1D / 2D / retail narrows the search and is faster.

    Input files: codes_single.png, codes_long.png

    Download JSON

Tagging

  • Preview: Describe a photo (tags and caption)

    Describe a photo (tags and caption)

    What it does

    What is in this photo, four ways: the WD tagger's tags, the top ImageNet classes, a zero-shot choice between your own labels (edit text: comma-separated labels) and the text found in the image. Each result is plain text, so it can feed any prompt node.

    Input files: example.png

    Download JSON
  • Preview: Tags and NSFW check vs WD14 Tagger

    Tags and NSFW check vs WD14 Tagger

    Includes another node pack for comparison

    What it does

    Tags and a safety label for one image: the WD tagger (against the WD14 Tagger of the pysssss pack, the same model: about 43x faster here) and an NSFW check that returns a label and a score (nsfw_score above your threshold: do not pass the image on).

    Input files: example.png

    Download JSON

Geometry and 3D

  • Preview: Structure from motion

    Structure from motion

    What it does

    Structure from motion from a folder of photos: retrieval picks the likely pairs, the matcher (RoMa, LoMa, LightGlue, ...) matches them, pycolmap maps. Writes a COLMAP model (cameras, poses, sparse cloud) under output/fastforks/sfm_00001 and returns its path and statistics. Put your photos into ComfyUI's input/sfm_photos folder (or type another folder of input/); it is a batch job of minutes. Needs pycolmap (pip line in the README).

    Download JSON
  • Preview: Match a pair

    Match a pair

    What it does

    Dense / sparse matching of two views (RoMa v2, LoMa, LoFTR, ALIKED + LightGlue): the lines join the matched points (green = geometrically consistent, red = outliers), the JSON holds the points. Try two frames of one clip. The homography and the relative pose come from the same matches.

    Input files: clip0.png, clip3.png

    Download JSON
  • Preview: Multi-view mesh

    Multi-view mesh

    What it does

    Multi-view mesh: the model (here MapAnything, Apache-2.0; VGGT, LingBot-Map, ... in the dropdown) predicts depth and cameras of the batched views, the depth maps are fused (TSDF) and meshed (marching cubes). The GLB lands under output/fastforks/mesh_00001.glb and shows in Preview 3D: open it in Blender or any glTF viewer. Use views from around the scene (here clip0..clip3); more views give a fuller mesh.

    Input files: clip0.png .. clip3.png

    Download JSON
  • Preview: Video to 3D scene

    Video to 3D scene

    What it does

    Video to 3D scene: put the frames of a video (.png / .jpg, e.g. from ffmpeg -i clip.mp4 input/video_frames/%05d.png) into ComfyUI's input/video_frames folder. Keyframes are picked by camera motion, the model runs on overlapping windows of them and the windows are joined into one scene. Writes a COLMAP scene (images, cameras, poses, points: for gsplat / nerfstudio training) under output/fastforks/video_scene_00001 and a GLB mesh (shown in Preview 3D). Scale long 4K videos down first; it is a batch job.

    Download JSON
  • Preview: Panorama and measure

    Panorama and measure

    What it does

    Panorama: three overlapping photos from one spot (pano0.png .. pano2.png, turn the camera between shots) are matched and blended; the JSON holds the cameras. Measure: the object under a click on example.png (Segment) gets its length, width and height in metres from metric depth (MoGe-2); add point pairs in between for distances.

    Input files: example.png, pano0.png .. pano2.png

    Download JSON
  • Preview: Stabilize and depth from two photos

    Stabilize and depth from two photos

    What it does

    Stabilize: optical flow follows the camera through the frames (clip0.png .. clip3.png), the smoothed path is applied and the borders are cropped. Depth from two photos: two shots of one scene from a step apart (here rig_left0.png and rig_right0.png, a sideways step) are matched, rectified and run through a stereo net; give focal_px and the baseline for metric depth and a point cloud.

    Input files: clip0.png .. clip3.png, rig_left0.png, rig_right0.png

    Download JSON
  • Preview: Localize, change detection and curate

    Localize, change detection and curate

    What it does

    Localize: the pose of a new photo of a scene (sfm_query.png) in the COLMAP model Structure from motion (the structure-from-motion example) wrote to output/fastforks/sfm_00001; retrieval picks the model photos to match, the JSON holds the camera pose and inliers. Change detection: two photos of one place from about the same spot (before.png, after.png) are aligned and compared; the preview tints and boxes what changed. Curate: near-duplicates and outliers of the input/sfm_photos folder (lists only; no file is deleted).

    Input files: sfm_query.png, before.png, after.png

    Download JSON
  • Preview: Calibrate, merge and mosaic

    Calibrate, merge and mosaic

    What it does

    Calibrate: photos of a printed chessboard (board0.png .. board3.png; better 10-20, tilted, also near the image corners); set columns x rows to its inner corners and the square size, save_as writes an OpenCV / ROS / Kalibr file. Merge photos: an exposure bracket (bracket0.png .. bracket2.png, dark to bright) fused into one photo; switch merge for focus stacks, noisy bursts or a clean plate. Mosaic: overlapping photos of a flat scene (flat0.png .. flat2.png: a wall, a whiteboard, a map).

    Input files: board0.png .. board3.png, bracket0.png .. bracket2.png, flat0.png .. flat2.png

    Download JSON
  • Preview: Track, retrieve and splat

    Track, retrieve and splat

    What it does

    Four 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.

    Input files: clip0.png .. clip3.png

    Download JSON
  • Preview: Camera geometry (RGB-D tracking, hand-eye, bundle adjustment)

    Camera geometry (RGB-D tracking, hand-eye, bundle adjustment)

    What it does

    Three geometry tools that read their data from ComfyUI's input folder. Track camera: RGB-D odometry over frames clip0.png .. clip3.png with one depth file per frame in input/depth (set fx, fy, cx, cy to your camera); the JSON is the trajectory. Hand-eye calibration: input/hand_eye.json holds the robot poses and the board poses the camera saw; eye in hand or eye to hand gives the camera transform. Bundle adjustment: a BAL problem file (input/problem.txt or .txt.bz2) is refined (cameras, points, optionally focal length and distortion).

    Input files: clip0.png .. clip3.png

    Download JSON
  • Preview: Image to 3D (TripoSR)

    Image to 3D (TripoSR)

    What it does

    Image to 3D mesh: one photo of a single object (here clip0.png; use a photo of one object) becomes a coloured triangle mesh in well under a second (TripoSR, MIT). Give the node a mask (e.g. Remove background's mask output) or an RGBA image and it cuts the object out and centres it on grey as the model expects. The GLB lands under output/fastforks/object_00001.glb and shows in Preview 3D; set size to give its longest side in m or mm (the model's own scale is arbitrary).

    Input files: clip0.png

    Download JSON
  • Preview: Prepare Gaussian splatting (blur filter, SfM, training dataset)

    Prepare Gaussian splatting (blur filter, SfM, training dataset)

    What it does

    Photos to a Gaussian-splat training set: the blur filter keeps the sharpest 80 % of the photos of input/sfm_photos, structure from motion finds the cameras and a sparse cloud, and the dataset node writes undistorted images (images/, images_2, images_4, images_8), a COLMAP model (sparse/0) and a nerfstudio transforms.json under output/fastforks/splat_data_00001. Train with ns-train splatfacto --data <folder> (nerfstudio) or gsplat's simple_trainer.py default --data_dir <folder> --data_factor 2 (a free Colab GPU is enough), or open the folder in any 3DGS trainer. A batch job of minutes; 30 to 200 photos of one scene work best.

    Download JSON