Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with: Invalid distortion model for pinhole camera. #1640

Open
svenstaro opened this issue Jan 7, 2024 · 1 comment
Open

Crash with: Invalid distortion model for pinhole camera. #1640

svenstaro opened this issue Jan 7, 2024 · 1 comment

Comments

@svenstaro
Copy link

svenstaro commented Jan 7, 2024

This is with AliceVision 3.2.0 and Meshroom 2023.3.0.
I'm trying to start a pipeline via meshroom. I try to load the official sample image set. I get this:

terminate called after throwing an instance of 'std::out_of_range'
  what():  Invalid distortion model for pinhole camera.

The full terminal output is this:

ALICEVISION_ROOT=/usr ALICEVISION_SENSOR_DB=/usr/share/aliceVision/cameraSensors.db meshroom
WARNING:root:== The following "submitters" plugins could not be loaded ==
  * rippleSubmitter: No module named 'mpc'
  * simpleFarmSubmitter: No module named 'simpleFarm'

[2024-01-07 04:17:07.155292] [0x00007efebd5776c0] [trace]   Embedded OCIO configuration file: '/usr/share/aliceVision/config.ocio' found.                                                                   [2024-01-07 04:17:20.328510] [0x00007f2397070000] [trace]   Embedded OCIO configuration file: '/usr/share/aliceVision/config.ocio' found.
Program called with the following parameters:
 * allowSingleView = 1
 * allowedCameraModels = "pinhole,radial1,radial3,brown,fisheye4,fisheye1,3deanamorphic4,3deradial4,3declassicld"
 * colorProfileDatabase = "" (default)
 * defaultCameraModel = "" (default)
 * defaultFieldOfView = 45
 * defaultFocalLength = -1 (default)
 * defaultFocalRatio = 1 (default)
 * defaultOffsetX = 0 (default)
 * defaultOffsetY = 0 (default)
 * errorOnMissingColorProfile = 1 (default)
 * groupCameraFallback =  Unknown Type "20EGroupCameraFallback"
 * imageFolder = "" (default)
 * input = "/tmp/tmp1qxar4y_/CameraInit/961e54591174ec5a2457c66da8eadc0cb03d89ba/viewpoints.sfm"
 * lensCorrectionProfileInfo = ""
 * lensCorrectionProfileSearchIgnoreCameraModel = 1
 * maxCoresAvailable =  Unknown Type "j" (default)
 * maxMemoryAvailable = 18446744073709551615 (default)
 * output = "/tmp/tmp1qxar4y_/CameraInit/961e54591174ec5a2457c66da8eadc0cb03d89ba/cameraInit.sfm"
 * rawColorInterpretation =  Unknown Type "N11aliceVision5image23ERawColorInterpretationE"
 * sensorDatabase = "/usr/share/aliceVision/cameraSensors.db"
 * verboseLevel = "info"
 * viewIdMethod =  Unknown Type "N11aliceVision9sfmDataIO13EViewIdMethodE"
 * viewIdRegex = ".*?(\d+)" (default)

Hardware :
        Detected core count : 64
        OpenMP will use 64 cores
        Detected available memory : 95859 Mo

terminate called after throwing an instance of 'std::out_of_range'
  what():  Invalid distortion model for pinhole camera.
ERROR:root:Error while building intrinsics: CameraInit failed with error code -6.
Command was: "aliceVision_cameraInit  --sensorDatabase "/usr/share/aliceVision/cameraSensors.db" --lensCorrectionProfileInfo "${ALICEVISION_LENS_PROFILE_INFO}" --lensCorrectionProfileSearchIgnoreCameraModel True --defaultFieldOfView 45.0 --groupCameraFallback folder --allowedCameraModels pinhole,radial1,radial3,brown,fisheye4,fisheye1,3deanamorphic4,3deradial4,3declassicld --rawColorInterpretation LibRawWhiteBalancing --viewIdMethod metadata --verboseLevel info --output "/tmp/tmp1qxar4y_/CameraInit/961e54591174ec5a2457c66da8eadc0cb03d89ba/cameraInit.sfm" --allowSingleView 1 --input "/tmp/tmp1qxar4y_/CameraInit/961e54591174ec5a2457c66da8eadc0cb03d89ba/viewpoints.sfm"".

QQmlComponent: Created graphical object was not placed in the graphics scene.

I build AliceVision like this and Meshroom like this.

@anselm-baur
Copy link

Hi,
here is also already some discussions ongoing about the same error:
alicevision/Meshroom#2260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants