Return alignment result to python

Comments

3 comments

  • Avatar
    Zuzana Ďuríčková CR

    Hello Decora,

    it is possible to run RealityCapture via Python subprocess. In RC there is no direct command that would return the number of aligned cameras. However, it is possible to extract this information from "Selected Component! report and export this report via command exportReport. You can edit the template to a very simple one and extract only the information about aligned camera via function $(componentCamerasCount). You can find the report templates in the installation folder, most often C:\Program Files\Capturing Reality\RealityCapture\Reports.

    You can find more information about editing report templates in the application help, section Reports.

    0
    Comment actions Permalink
  • Avatar
    Decora

    Thank you Zuzana! This is going to help. No way to export in another format like json, csv, etc? Consider this a request if it's not possible.

    Eugenio

    0
    Comment actions Permalink
  • Avatar
    Zuzana Ďuríčková CR

    I am glad to hear that.

    You can export custom reports also to text files, you can define the output format in the first parameter of the exportReport command, which is the outputFileName (including path and also file extension).

    0
    Comment actions Permalink

Please sign in to leave a comment.