3D Scanning For Free With Meshroom

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey everyone welcome back to another video it's been a while today we're going to be covering photogrammetry otherwise known as 3d scanning although the method we're not we're going to be using will not require any special equipment any camera or work we're using a free software called mesh room it's free and open source and you can find it on the Alice vision github tile website or just search mesh room on any search engine and here it is go ahead and scroll down find mesh room here and just click download now unfortunately they only have binary is available for Windows and Linux go ahead and just choose your operating system and download it it'll download in either a zip file or a tar file which you will then have to extract once you've extracted it there will be a mushroom and then a dash and then whichever version it is so this is the 2019 dot 1.0 version so I'm gonna open up this folder and then right here is going to be the executable file that you will open mushroom with it is called mushroom on Windows I think it's XE file but just the mushroom file go ahead and double click that and then mushroom well open at this point you're going to want to go out and collect some images now for a demo of what kind of images you're gonna be wanting you're gonna be wanting hopefully flat lighting this is actually a pretty poor example you can see their shadows on the rock here meaning that that shadow will actually be bacon into the texture so relighting this might be difficult the ideal circumstance is taking your pictures when it's overcast outside like a cloudy day that way there won't be any distinctive shadows and you'll get a much better result you're gonna be wanting to get a pic pictures from a lot of different angles move the camera slightly each time moving around the object at different heights and basically just try and get as many pictures as possible but make sure they're even so basically make circles around the object at different heights pointing at different angles up and down once you've gathered those pictures you can actually go ahead and drop them into the mesh room interface so go ahead and drag those in there and it'll go ahead and add all of those image files in mesh room here is actually a node-based system meaning that you have each of these individual nodes and you can actually make multiple different versions and branches off of here using different nodes to refine your model as you go along at this point most of these do not need touched structure her emotion purveyor dense scene all of these except for up to the meshing point this is where you can choose the resolution of your mesh and as you can see after that you can also smooth the mesh out and texture here you can also to choose the resolution of your texture these three nodes right here are what most of your editing is gonna be done with so I'm going to just run it to an image matching if I select it and click start it will excuse me I haven't saved you do need to save before you run anything in order for all of the computations to be able to be stored somewhere I will just create a file here and we'll just call it test there we go and go ahead and start computing up to there it's actually running feature matching at this point because I just clicked start up here you can actually right click a node and just compute - there but at this point it'll just run through each and every one of these nodes until the very end which will take a little bit of time so using the magic of editing I'm gonna go ahead and skip for it in time when the compute when the computations are done okay so the last stage of the computation just finished the texturing stage and as you can see here there is the sparse point cloud of the rock and all of the cameras in this circular pattern taking pictures from a bunch of different angles now at this point we can double click meshing and that will preview what the mesh looks like we can actually disable those points and as you can see here's the base mesh with no texture if we double click texturing and turn off the mesh stage because there's a filtering and smoothing step in between there you can see our rock a full 3d model of a rock as you can see it's very similar to even this crappy mobile mobile phone picture pretty much any camera will be able to get some decent results so at this point you might be wondering how to export your file because if you look at this test file that mesh room is saved it's only 52 kilobytes which is not the size of a 3d model so it turns out that mesh room actually stores the 3d model in its cache so we need to go ahead and click open folder here by right-clicking on texturing and you can see the texture 0 the material and the mesh file all of these three files here we need to copy these and put them in a location that's not that mesh from cache folder so we can save them for later for further processing now at this point we have those exported and saved out so we can just close mushroom and we're going to open these in another free and open source program called mesh lab which you can go ahead and download by I'm just looking it up it's very simple to install and we're going to import that mesh you can see right here and there we are with our texture and everything now what we're gonna do here is we're just going to clean up these edges we don't need all of this extra stuff out here so we're gonna choose the select faces tool and click and drag and as you can see it's cutting all of those out then hold ctrl and then you can add to that if you hold shift it will take away from it so here we go now we just have this box surrounding excuse me now we have the this box surrounding the rock here and what we're going to do is delete these faces with this button right here at this point you will see the rock all on its own with just a little bit of ground at this point we're going to support it so we're gonna export the mesh and go ahead and click okay all right now that we have exported this cleaned up version of the model the photogrammetry process is finished we have a finalized model with a texture that we can use in any 3d software we want now it was a rather short video but I hope you found it helpful if you liked the video go ahead and leave it a like and if you're feeling especially nice go ahead and subscribe and with that I will see you guys later [Music] [Music]
Info
Channel: Michael Harmon
Views: 176,090
Rating: undefined out of 5
Keywords: Meshroom, open source, free, tutorial, how to, meshlab, 3d, 3d scanning, photogrammetry
Id: vU6PoarLEzs
Channel Id: undefined
Length: 7min 18sec (438 seconds)
Published: Fri Jun 21 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.