Skip to content

artF412/realityscan-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

RealityScan Automation Pipeline

A PowerShell script that automates the full photogrammetry pipeline in RealityScan 2.1 — from raw images to exported 3D mesh (OBJ, FBX) and COLMAP camera registration.

What it does

Runs 6 steps sequentially via RealityScan's CLI:

Step Action
1/6 Align images + save project
2/6 Reconstruct mesh (High Quality)
3/6 Unwrap UV
4/6 Calculate texture
5/6 Export OBJ + FBX
6/6 Export COLMAP camera registration

The COLMAP export step uses Win32 API (user32.dll) to automatically click the "Export all" dialog that RealityScan pops up — no manual interaction needed.

Requirements

  • Windows 10/11
  • RealityScan 2.1 installed at the default path:
    C:\Program Files\Epic Games\RealityScan_2.1\RealityScan.exe
    
  • PowerShell 5.1 or later (built into Windows)

Usage

.\run_pipeline_rc_progress.ps1 -ImagesFolder "C:\path\to\your\images"

Example

.\run_pipeline_rc_progress.ps1 -ImagesFolder "D:\Scans\TreeStump\images"

Output structure

Given -ImagesFolder "D:\Scans\TreeStump\images", the script creates:

D:\Scans\TreeStump\
├── images\              ← your input photos
├── project\
│   └── images.rcproj   ← RealityScan project file
├── export\
│   ├── images.obj      ← 3D mesh (OBJ)
│   ├── images.mtl
│   ├── images.fbx      ← 3D mesh (FBX)
│   └── images_*.png    ← texture maps
└── colmap_export\
    └── cameras.txt     ← COLMAP camera registration

Notes

  • The script aborts on failure at steps 1–5. Step 6 (COLMAP export) will warn but not abort if the dialog is not found within 120 seconds — you can manually click "Export all" in that case.
  • If you have RealityScan installed at a different path, edit line 6 of the script:
    $RC = "C:\Program Files\Epic Games\RealityScan_2.1\RealityScan.exe"
  • Each step opens and closes RealityScan separately, so the full pipeline may take several minutes depending on image count and hardware.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors