alicevision / Meshroom

3D Reconstruction Software
http://alicevision.org
Other
11.07k stars 1.08k forks source link

Setting up raw / cr3 files from Canon #924

Closed GJPfaff closed 4 years ago

GJPfaff commented 4 years ago

Tried adding the lines to the camera database no luck. Canon;Canon EOS Rebel SL3;22.3;dpreview,digicamdb,imaging-resource Checked metadata and didn't see anything out of the ordinary. https://www.metadata2go.com/result/d8a9e97a-cc0b-44c6-b661-2ff691afdf49 I do notice the temp folders it refers to do not exist....

Program called with the following parameters:

[18:27:25.415280][error] Program need -i or --imageFolder option No input images. ERROR:root:Error while building intrinsics : Traceback (most recent call last): File "C:\Users\DEV\AppData\Local\Temp\meshroom\meshroom\ui\reconstruction.py", line 399, in buildIntrinsics File "C:\Users\DEV\AppData\Local\Temp\meshroom\meshroom\nodes\aliceVision\CameraInit.py", line 192, in buildIntrinsics RuntimeError: CameraInit failed with error code 1. Command was: "aliceVision_cameraInit --sensorDatabase "E:\Meshroom-2019.2.0-win64\Meshroom-2019.2.0\aliceVision\share\aliceVision\cameraSensors.db" --defaultFieldOfView 45.0 --groupCameraFallback folder --verboseLevel info --output "C:/Users/GilGame/AppData/Local/Temp/tmp_ko74z93/CameraInit/c448939571d5c70b05c9ae4ad416ada37d6273ca/cameraInit.sfm" --allowSingleView 1 "

skinkie commented 4 years ago

Just out of curiosity. If use the standard cameraSensors.db does the program work for you?

Can you paste the line you have added?

This is the first Canon line that is in the stock file.

Canon;Canon 550D;22.3;usercontribution

So I would expect that if you duplicate that, change Canon 550D to Canon EOS Rebel SL3, you will be all set?

GJPfaff commented 4 years ago

I posted above the line, Canon;Canon EOS Rebel SL3;22.3;dpreview,digicamdb,imaging-resource it is the same as the SL1 and SL2 that are in the DB already.

GJPfaff commented 4 years ago

Canon;Canon EOS Rebel SL1;22.3;dpreview,digicamdb,imaging-resource Canon;Canon EOS Rebel SL2;22.3;dpreview,digicamdb,imaging-resource Canon;Canon EOS Rebel SL3;22.3;dpreview,digicamdb,imaging-resource I added last line unless something is different in the SL3

GJPfaff commented 4 years ago

And same error with Canon;Canon EOS Rebel SL3;22.3;usercontribution on it

skinkie commented 4 years ago

Just out of curiosity. If use the standard cameraSensors.db does the program work for you?

@GJPfaff ^^

GJPfaff commented 4 years ago

No sir the current db does not have my camera sensor that is why I added it. Either way I get same error.

skinkie commented 4 years ago

@GJPfaff A standard Meshroom installation will work without your specific sensor in there.

GJPfaff commented 4 years ago

I used the Windows installer package to install Meshroom. What else is there to change? I Googled this for 2 days. I had no problem using the monstree test images. Meshroom is not accepting my Canon SL3 images. Why I am here. If there is some step I am missing please share.

GJPfaff commented 4 years ago

With or without my camera in the DB it does not work with my images.

skinkie commented 4 years ago

@GJPfaff if you want I can checkout your images. If you can put them somewhere :)

GJPfaff commented 4 years ago

I posted the EXIF link above DOH Link has expired. Tells you all you need to know about them. I even tried changing settings from RAW to JPEG etc. https://www.metadata2go.com/result/dc9e4e2f-9b4e-4dd0-93f7-facc0bc91896

skinkie commented 4 years ago

I does not tell me anything :-D because I cannot try it in meshroom myself.

GJPfaff commented 4 years ago

Wonder if it is because they are in .cr3 format. Cannot get public photo hosting sites to take them.

skinkie commented 4 years ago

Wonder if it is because they are in .cr3 format. Cannot get public photo hosting sites to take them.

Convert the files to PNG or JPEG 100%, and just try again. You will be surprised that even a scaled down image (1MP) is giving good structure results.

natowi commented 4 years ago

Yes, cr3 is not yet supported. It has recently been added to the library we use for importing images in Meshroom https://github.com/OpenImageIO/oiio/blob/master/CHANGES.md

https://github.com/alicevision/meshroom/wiki/Supported-image-formats

GJPfaff commented 4 years ago

AH!!! I knew it was probably too new. Thank you for the info. So is there something I have to change to update or is the coding still in the works @natowi

natowi commented 4 years ago

Edit: Support for cr3 is not inlcuded in the Meshroom 2019.2 binaries, as cr3 support was added to oiio a few month ago.

skinkie commented 4 years ago

@natowi maybe rename the topic to "Setting up raw / cr3 files from Canon"

GJPfaff commented 4 years ago

Ok, Must not be updated in the lib yet. Still no go.

natowi commented 4 years ago

Simply use another format as skinkie suggested, until it is supported.

btw https://peterfalkingham.com/2020/05/22/photogrammetry-does-shooting-raw-or-jpg-make-a-difference/

GJPfaff commented 4 years ago

Already on it. Thanks Using Adobe DNG converter 12.2 https://helpx.adobe.com/photoshop/digital-negative.html

GJPfaff commented 4 years ago

Well it didnt like the DNG either....

natowi commented 4 years ago

Try tif or png. Raw formats should work, but sometimes don´t. Without an actual image it is hard to find the cause.

GJPfaff commented 4 years ago

TIFF worked. Will be looking forward to the update to support cr3. Thanks for the assist.

natowi commented 4 years ago

It should be included in the next release. Alicevision was updated a few days ago to support oiio v2.1.15