alicevision / Meshroom

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

meshroom2018.1.0 stuck on structurefrommotion #703

Closed BOTMarvin closed 4 years ago

BOTMarvin commented 4 years ago

its my first time using this software and didnt find a solution from other sites or this one , i have latest CUDA cuda_10.1.243_426.00_win10.exe and thats all i think

Log from the strcuturefrommotion

Loading features 0% 10 20 30 40 50 60 70 80 90 100% |----|----|----|----|----|----|----|----|----|----|


[20:13:42.213151][info] Fuse matches into tracks:

[20:13:42.216149][info] AutomaticInitialPairChoice, test I: 343439339, J: 479875803, nbCommonTracks: 68 [20:13:42.216149][info] AutomaticInitialPairChoice, test I: 78064443, J: 1594406558, nbCommonTracks: 292 [20:13:42.216149][info] AutomaticInitialPairChoice, test I: 915667969, J: 1594406558, nbCommonTracks: 64 [20:13:42.252128][error] No valid initial pair found automatically.

if its blank i dont know what is asked

natowi commented 4 years ago

This is likely a problem of your dataset. When capturing images for photogrammetry you need to follow a few principles. Can you share a screenshot of your image set?

BOTMarvin commented 4 years ago

Do you mean all my images on the side or in a folder

natowi commented 4 years ago

The images on the side in Meshroom would do. This is only to get an overview of your dataset and to spot possible problems.

BOTMarvin commented 4 years ago

well does this help (i changed to the newest release to see if it would work and the pictures are of my head) pää,,

natowi commented 4 years ago

OK, you could add the sensor information of your iPhone to the sensordatabase to get better results. Since your iPhone has three cameras, you need to add the camera that is being used, that is likely the Primary: 12Mp camera with 1/2.55″ sensor, so the entry is likely Apple;iPhone 11 Pro;5.75;

Now to your SfM problem: make sure you do not have any special characters in your path, this can be a cause for errors. Next use improve the accuracy as described here: https://github.com/alicevision/meshroom/wiki/StructureFromMotion-fails

If this still does not work we need to address how you capture the images: To capture your head, best ask someone to take images for you to reduce your head movements to a minimum. If this is not possible, lean your head on a wall and then take pictures of your head in half circles and from different angles. Look straight ahead and do not move while capturing. An interval capturing app can be useful.

BOTMarvin commented 4 years ago

i added the Apple;iPhone 11 Pro;5.75; in to the data base and updated it in the software but it didnt fix the yellow, im currently trying the second one and tomorrow im gonna get new pics if it doesnt work edit: now it worked but it now got stuck at meshing and 2 of 31 images camera not reconstructed so does that mean i have to take new images?

natowi commented 4 years ago

Do you get a decent point cloud in the 3D viewer? I can only assume that you moved your head while capturing.

BOTMarvin commented 4 years ago

well Desktop Screenshot 2019 11 16 - 00 38 10 44 (2)gbgbg

BOTMarvin commented 4 years ago

so i guess to just take new pictures

BOTMarvin commented 4 years ago

i took new pictures and now it fully completes but the program doesnt recognize angles from sides or back of my head so only my face is recognized. should i try other programs because this one aint cutting it

natowi commented 4 years ago

This is not a software problem. Ask a friend to take pictures for you. Images should have a 60% overlap.

https://adamspring.co.uk/single-post/2017/08/30/Single-Camera-Head-Scanning-Photogrammetry https://studio.knightlab.com/results/photojournalism3D/the-4-key-components-to-photogrammetry-capture/ More general: https://www.youtube.com/watch?v=D7Torjkfec4

BOTMarvin commented 4 years ago

i'll try that

BOTMarvin commented 4 years ago

so now im currently trying to convert it but i might just might be stuck or my computer is slow but anyways it hasnt moved for about 25mins and says (if i understand) that its complete btw i know i have alot of pictures and has been taking me from the time of posting 7.45h to get here. Desktop Screenshot 2019 11 17 - 01 43 13 18

natowi commented 4 years ago

Your object should fill most or all of your images to avoid reconstruction of the environment and not your object (and also to save computation time).

BOTMarvin commented 4 years ago

i finished it, it turned out my computer was just slow but why is the model like this? i tried with a difrent thing and it was similar is it because of my phone camera or? Desktop Screenshot 2019 11 17 - 15 11 30 44

natowi commented 4 years ago

Make sure your main camera is being used, because the other two cameras have different sensor parameters.

You were not close enough to the object and your object is single coloured with low details. There are some basics you should know before capturing objects for photogrammetry. Please read the guides I posted before and search for more if necessary.

curtthemartian commented 4 years ago

You can smooth it in the mesh filtering node, but it will never bee as smooth as you want it to be. It is really tricky with objects that are smooth and have uniform color or very smooth texture.

natowi commented 4 years ago

This issue is closed due to inactivity. Feel free to re-open if new information is available.