CLI - Operation warning message during aligning images

Hello,

it seems that there is a new “operation warning” during Aligning Images when there are images which are not in the current scene. Using CLI script, this warning stops the process. I didn’t find the option to avoid this waring.

Thanks for your help.

Hi Romeda

do you have screenshot of the warning ?

it seems that there is a new “operation warning” during Aligning Images when there are images which are not in the current scene

So you trying to align images that are not present in particular dataset ??

Here is the message. Then I can close de windows. But the script is stopped.

All images are is the same dataset. But often 5-10 images are not recognized.

Romeda wrote:

Here is the message. Then I can close de windows. But the script is stopped.

All images are is the same dataset. But often 5-10 images are not recognized.

Hello Romeda,
this warning message is displayed after import of control point measurements, when you import measurements for images which aren’t in the scene. (So message title is obviously incorrect and it seems as a bug)
You should check your csv file containing cp measurements, if there aren’t images which you don’t import to the project.

If you don’t want your script to stop at warning or error, you can use error-handling commands.
e.g.

Code:
RealityCapture.exe -silent c:\\CrashReportFolder ^
-set "appQuitOnError=true" ^
-set "appProcessActionTime=0" ^
-set "appProcessAction=2" ^
-set "appProcessExecCmd=c:\\MyScripts\\ErrorWriter.bat $(processResult) $(processId) $(processDuration:d) c:\\ErrorReportFolder\\ErrorReport.txt"
This is copy-pasted from the application help ;) You can find it in Help(press F1)/Command Line Interface (at the bottom)/Error Handling Commands (at the bottom as well)

Is it possible to send us failing script, imagelist (list of images in text file, you can create it in ALIGNEMENT/Export/Images List) and measurement file?

Thank you for your help.

Hello Kruzma,

That’s right, I changed the name of the folder in the path of cp measurements. I did it during the update of CR… and I thought that it was a new warning message. Sorry for that, and thanks for your help.

Romeda wrote:

Hello Kruzma,

That’s right, I changed the name of the folder in the path of cp measurements. I did it during the update of CR… and I thought that it was a new warning message. Sorry for that, and thanks for your help.

No problem,
I am glad you managed to solve it.

Hi @Kruzma,

Kruzma wrote:

https://support.capturingreality.com/hc/en-us/community/posts/115001365832/comments/115000642972 

I have a same Issue with CLI.
I wrote a script as same as Help CR:

%RealityCaptureExe% -silent %RootFolder%\\CrashReportFolder ^
-set "appQuitOnError=true" ^
-set "appProcessActionTime=0" ^
-set "appProcessAction=2" ^
-set "appProcessExecCmd=%RootFolder%\\ErrorWriter.bat $(processResult) $(processId) $(processDuration:d) %RootFolder%\\ErrorReportFolder\\ErrorReport.txt" ^
-set "CoordinateSystemWorkType=%~2" ^
-set "CoordinateSystemWork=%~3" ^
-set "CoordinateSystemOutputType=%~2" ^
-set "CoordinateSystemOutput=%~3" ^
-addFolder %ImgPath% ^

But when CR warning, it not auto stop and not export ErrorReport.txt.

Please tell me why? 

How does CR auto closes when an error or warning occurs?

hello nang.nh, Kruzma is no longer working for Capturing Reality,

is the reconstruction region file accessible in the given path destination?