Skip to main content

Exporting Camera Data from RealityScan

Export camera positions and rotations from RealityScan as a CSV file that's ready to use in SKAND.

This guide walks you through adding a custom export format to RealityScan, configuring the right coordinate system, and saving your output. Follow the steps below to get started.

Note: The current SKAND CSV implementation supports ECEF coordinates only. If user's existing project was not processed using ECEF, they'll need to rerun the alignment process before exporting.

How to Export Camera Data

  1. Open your RealityScan installation folder and locate calibration.xml.

    C:\Program Files\Epic Games\RealityScan_2.1

  2. Open calibration.xml in a text editor and add the following code directly above the final </Calibration> line.

       <format id="{59d6558e-e8e0-4800-bf1a-d5ffdc3b0368}" mask="*.csv" descID="9000" desc="SKAND Camera Export" writer="cvs" requires="component">
    <body EulerFormat="zyx">#name,width,height,x,y,alt,heading,pitch,roll,f,px,py,k1,k2,k3,k4,t1,t2
    $ExportCameras($(imageName)$(imageExt),$(width),$(height),$(x),$(y),$(z),$(yaw),$(pitch),$(roll),$(f*36),$(px),$(py),$(k1),$(k2),$(k3),$(k4),$(t1),$(t2)
    )</body>
    </format>

  3. Save calibration.xml and restart RealityScan.

    Note: RealityScan only loads the new export format after a restart, so be sure to fully close and reopen the application.

  4. Set the output coordinate system to ECEF β€” EPSG:4978.

  5. Go to Alignment > Registration. [screenshot: Alignment > Registration]

  6. Select Skand Camera Export. [screenshot: Skand Camera Export selected]

  7. Save the exported file as a CSV.

Once the user has exported the CSV, they can create an Image Group in SKAND using the file. For detailed instructions, refer to this guide.

Note: Please follow all instructions for the above guide, except for Step 8. In Step 8, the user should select the CSV file rather than the XML file.

Did this answer your question?