mapillary / OpenSfM

Open source Structure-from-Motion pipeline
https://www.opensfm.org/
BSD 2-Clause "Simplified" License
3.3k stars 848 forks source link

How to create Mask for OpenSFM reconstruction? #551

Open yamuna83 opened 4 years ago

yamuna83 commented 4 years ago

Please recommend steps to create Masks and use for reconstruction process? Any specific tools used to mask out the image?

Germanunkol commented 4 years ago

I had to dig for a while to find out how to add the masks, I couldn't find it in the documentation. Here's the orginal pull request that added masking: https://github.com/mapillary/OpenSfM/pull/132 Also check out the berlin dataset, which shows an example of where masks are: https://github.com/mapillary/OpenSfM/tree/master/data/berlin

What you have to do: