[question] Help Setting Camera Intrinsics via --overrides .json file · Issue #681 · alicevision/Meshroom · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem
As part of a project, I am capturing a raw image feed from a mobile phone from its CPU. This allows me to get an image, and it's intrinsic's on the mobile and transfer them to a server for post-processing. I call Meshroom from the command line via a script, which includes a setup.mg file and an --overrides .json file.
I write the --overrides .json file using Python which includes the camera intrinsics that I want to use.
An example is shown below of the output.
And also just leaving the intrinsicsId field out completely.
I run a keyFrame node before running cameraInit, and point the input from cameraInit to the output of the keyFrame node, but I had this error before that step as well...
Log
Program called with the following parameters:
* allowSingleView = 1
* defaultCameraModel = "" (default)
* defaultFieldOfView = 40.6439
* defaultFocalLengthPix = -1 (default)
* defaultIntrinsic = "" (default)
* groupCameraFallback = Unknown Type "enum EGroupCameraFallback"
* imageFolder = "" (default)
* input = "F:/Viv/Documents/Uni/sem1_2019/FYP/MESHROOM_LIVESCAN/Work/12_15/s8/CameraInit/638e1f854b9c74628c6ec7c8ae4756a89127f105//viewpoints.sfm"
* output = "F:/Viv/Documents/Uni/sem1_2019/FYP/MESHROOM_LIVESCAN/Work/12_15/s8/CameraInit/638e1f854b9c74628c6ec7c8ae4756a89127f105/cameraInit.sfm"
* sensorDatabase = "C:\Server\Meshroom\aliceVision\share\aliceVision\cameraSensors.db"
* verboseLevel = "debug"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
To use meshroom_batch with pre-computed calibration parameters you need to specify the --input flag to point to a .json file containing both your intrinsics and views, instead of the folder containing your images.
The .json file needs to be in the same format as the cameraInit.sfm, generated from the CamerInit node inside the MeshroomCache directory when you are running Meshroom GUI. You can still tweak parameters for the rest of your pipeline using the --overrides flag
Describe the problem
As part of a project, I am capturing a raw image feed from a mobile phone from its CPU. This allows me to get an image, and it's intrinsic's on the mobile and transfer them to a server for post-processing. I call Meshroom from the command line via a script, which includes a setup.mg file and an --overrides .json file.
I write the --overrides .json file using Python which includes the camera intrinsics that I want to use.
An example is shown below of the output.
When I run Meshroom it fails at the camera_init node. I believe it is due to the intrinsics ID field not matching that of the images.
I have tried using
And also just leaving the intrinsicsId field out completely.
I run a keyFrame node before running cameraInit, and point the input from cameraInit to the output of the keyFrame node, but I had this error before that step as well...
Log
Status
Desktop (please complete the following and other pertinent information):
The text was updated successfully, but these errors were encountered: