We faced strange issues.

I’m writing to inquire about strange, unexplainable issues we’re experiencing during our work.

We are using a total of 32 cameras, synchronizing video recording, splitting it into images, and then performing reality capture work with 32 photos taken at exactly the same time.

However, there are instances where specific frames are not recognized. The file in question is clearly accessible through the explorer and is a normal file. The warning message displays the error code [err 7134].

This situation occurs irregularly. It has also happened when trying to rework a file that has completed an entire sequence job after changing some settings.

What’s even stranger is that a specific camera is not recognized in all frames.

For example, if the 18.TIFF file starts not being recognized in a specific frame of a particular sequence, it becomes impossible to import the 18.TIFF file in all remaining frames as well.

This problem only occurs when doing reality capture work through commands, and if you open the program directly and import the file, it loads normally.

At first, we thought this problem was because the files were on a network drive, but the same issue occurs even after copying the files to a local drive.

Here is the command.

-set “appAutoSaveCliHandling=delete” -headless^
-newScene^
-addImageWithCalibration “C:\RCTemp\01.TIFF” “INTERNALNETDRIVE\ALIGN\01.xmp”^
-setImageLayer 0 “C:\RCTemp\01.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\02.TIFF” “INTERNALNETDRIVE\ALIGN\02.xmp”^
-setImageLayer 1 “C:\RCTemp\02.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\03.TIFF” “INTERNALNETDRIVE\ALIGN\03.xmp”^
-setImageLayer 2 “C:\RCTemp\03.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\04.TIFF” “INTERNALNETDRIVE\ALIGN\04.xmp”^
-setImageLayer 3 “C:\RCTemp\04.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\05.TIFF” “INTERNALNETDRIVE\ALIGN\05.xmp”^
-setImageLayer 4 “C:\RCTemp\05.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\06.TIFF” “INTERNALNETDRIVE\ALIGN\06.xmp”^
-setImageLayer 5 “C:\RCTemp\06.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\07.TIFF” “INTERNALNETDRIVE\ALIGN\07.xmp”^
-setImageLayer 6 “C:\RCTemp\07.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\08.TIFF” “INTERNALNETDRIVE\ALIGN\08.xmp”^
-setImageLayer 7 “C:\RCTemp\08.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\09.TIFF” “INTERNALNETDRIVE\ALIGN\09.xmp”^
-setImageLayer 8 “C:\RCTemp\09.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\10.TIFF” “INTERNALNETDRIVE\ALIGN\10.xmp”^
-setImageLayer 9 “C:\RCTemp\10.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\11.TIFF” “INTERNALNETDRIVE\ALIGN\11.xmp”^
-setImageLayer 10 “C:\RCTemp\11.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\12.TIFF” “INTERNALNETDRIVE\ALIGN\12.xmp”^
-setImageLayer 11 “C:\RCTemp\12.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\13.TIFF” “INTERNALNETDRIVE\ALIGN\13.xmp”^
-setImageLayer 12 “C:\RCTemp\13.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\14.TIFF” “INTERNALNETDRIVE\ALIGN\14.xmp”^
-setImageLayer 13 “C:\RCTemp\14.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\15.TIFF” “INTERNALNETDRIVE\ALIGN\15.xmp”^
-setImageLayer 14 “C:\RCTemp\15.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\16.TIFF” “INTERNALNETDRIVE\ALIGN\16.xmp”^
-setImageLayer 15 “C:\RCTemp\16.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\17.TIFF” “INTERNALNETDRIVE\ALIGN\17.xmp”^
-setImageLayer 16 “C:\RCTemp\17.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\18.TIFF” “INTERNALNETDRIVE\ALIGN\18.xmp”^
-setImageLayer 17 “C:\RCTemp\18.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\19.TIFF” “INTERNALNETDRIVE\ALIGN\19.xmp”^
-setImageLayer 18 “C:\RCTemp\19.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\20.TIFF” “INTERNALNETDRIVE\ALIGN\20.xmp”^
-setImageLayer 19 “C:\RCTemp\20.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\21.TIFF” “INTERNALNETDRIVE\ALIGN\21.xmp”^
-setImageLayer 20 “C:\RCTemp\21.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\22.TIFF” “INTERNALNETDRIVE\ALIGN\22.xmp”^
-setImageLayer 21 “C:\RCTemp\22.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\23.TIFF” “INTERNALNETDRIVE\ALIGN\23.xmp”^
-setImageLayer 22 “C:\RCTemp\23.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\24.TIFF” “INTERNALNETDRIVE\ALIGN\24.xmp”^
-setImageLayer 23 “C:\RCTemp\24.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\25.TIFF” “INTERNALNETDRIVE\ALIGN\25.xmp”^
-setImageLayer 24 “C:\RCTemp\25.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\26.TIFF” “INTERNALNETDRIVE\ALIGN\26.xmp”^
-setImageLayer 25 “C:\RCTemp\26.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\27.TIFF” “INTERNALNETDRIVE\ALIGN\27.xmp”^
-setImageLayer 26 “C:\RCTemp\27.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\28.TIFF” “INTERNALNETDRIVE\ALIGN\28.xmp”^
-setImageLayer 27 “C:\RCTemp\28.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\29.TIFF” “INTERNALNETDRIVE\ALIGN\29.xmp”^
-setImageLayer 28 “C:\RCTemp\29.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\30.TIFF” “INTERNALNETDRIVE\ALIGN\30.xmp”^
-setImageLayer 29 “C:\RCTemp\30.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\31.TIFF” “INTERNALNETDRIVE\ALIGN\31.xmp”^
-setImageLayer 30 “C:\RCTemp\31.TIFF.mask.PNG” mask^
-addImageWithCalibration “C:\RCTemp\32.TIFF” “INTERNALNETDRIVE\ALIGN\32.xmp”^
-setImageLayer 31 “C:\RCTemp\32.TIFF.mask.PNG” mask^
-selectAllImages^
-align^
-calculateHighModel^
-simplify “INTERNALNETDRIVE\scripts\python\cmds\RC\SIMPLIFY.xml”^
-selectModel “Model 1”^
-deleteSelectedModel^
-selectModel “Model 2”^
-calculateTexture^
-exportModel “Model 2” “INTERNALNETDRIVE\WORK\S_001\FBX\0001.fbx” “INTERNALNETDRIVE\scripts\python\cmds\RC\X4T_FBX.xml”^
-save “INTERNALNETDRIVE\WORK\S_001\RCPROJ\0001.rcproj”^
-set “appAutoSaveCliHandling=delete”^
-clearCache^
^

At last time, every 18.TIFF file was not imported
this time, every 24, 30.TIFF files were not imported.

Hi @JyLeev
Really this is a strange behaviour… Which version of RealityCapture are you using? Is this also happening after application reset?
Maybe it is not related, but can you check also these tips: Knowledge Base: Image and video codecs and import formats
As it is happening irregularly, it seems more like some issue with the mentioned file. When you run the same script more times, will it stop working always or only sometimes? After this error is a whole process stopped? Is this also happening when the image won’t be in temp folder?
I suppose you don’t need to use this command, as delete is the default option.

Hello Otrhan,

Thank you for understanding that the problem occurring now is not typical.

Here’s some more information:

  1. RealityCapture is kept up-to-date with the latest version.
  2. I’ve tried initializing the application and even reinstalling it, but the problem still persists.
  3. Due to network bandwidth issues, I’m using TIFF files with lossless compression. Using Raw files is difficult given the circumstances.
  4. These files cannot be leaked, so it’s difficult to post them on public forums. I have permission to send them via private email. Can you provide an email address?
  5. When using this script, problems occur every time the same file is imported. The issue persists even after regenerating the file. It always fails when importing the camera with the same number.
  6. The location of the files didn’t make much difference. The same problem occurred even after copying files to a local temporary folder.
  7. The same issue occurred even after emptying the Temp folder and performing the task.
  8. These files are from a sequence that had already successfully generated the entire frame once. It’s completely incomprehensible why it suddenly stopped working, and this situation feels illogical.

Reinstalling is not the same as application reset: Reset RealityCapture.
I sent you the invitation for the data upload to the Box.

Hi orthan.
Thanks for sharing the link.

I discovered a clue while uploading.

I noticed that when using the addImageWithCalibration command, this error occurs if the xmp file is not properly generated.

However, even when the xmp file was invalid or missing, the error message stated that the original image file was missing, which made it take longer to find the problem.

Now, I’ve modified it to use the “addImageWithCalibration” command only when an xmp file exists, and to use the “add” command when there is no xmp file.

The problem was in an unexpected place. Anyway, I’m glad that we seem to have solved the problem through our conversation.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.