-
-
Notifications
You must be signed in to change notification settings - Fork 911
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
A tutorial
for colmap
to openMVS
#692
Comments
Thanks for putting this tutorial together, but there are some mistakes, like:
|
@cdcseacave UpdateStep 1colmap feature_extractor \
--SiftExtraction.use_gpu 0 \
--database_path $PROJECT/database.db\
--image_path $DATA_ROOT/$PROJECT/images Step 4Step 4.1
Step 4.2colmap model_converter \
--input_path $PROJECT/dense/sparse \
--output_path $PROJECT/dense/sparse \
--output_type TXT
Why am I use absolute path
|
Helps a lot, Thanks! |
I combined the command lines into a script. That requires config the $working_folder and $openmvs_bin_path. The images store in the folder $working_folder/images. It will automatically transfer images into textured mode (obj).
|
Does this support
|
great tutorial, thank you! |
@cdcseacave All right, I'm very glad to do this |
Hi, thank you for this great pipeline tutorial! I am trying to reallize this pipeline on my computer but at step 7, the |
you do not need the MVS file for the mesh stage, use the same MVS file |
Hi, I tried to use the old mvs file (model_dense.mvs that is generated in step 6) for step8(RefineMesh) as well as step9(TextureMesh), but both of the two give error saying "error: invalid mesh file, cannot load mesh file". I am not sure what is going wrong. ps: my script is as follows:
|
Pls see the wiki
…On Sat, Feb 10, 2024 at 04:59 citystrawman ***@***.***> wrote:
you do not need the MVS file for the mesh stage, use the same MVS file
Hi, I tried to use the old mvs file (model_dense.mvs that is generated in
step 6) for step8(RefineMesh) as well as step9(TextureMesh), but neither of
the two give error saying "error: invalid mesh file, cannot load mesh
file". I am not sure what is going wrong.
—
Reply to this email directly, view it on GitHub
<#692 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVMH3QJUS5NU3BSEMMV6TDYS3PBRAVCNFSM5CAJW3R2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJTGY4DEOJTGQ2Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thank you. Now I ran code like this:
|
It is slow in debug, recompile in release
…On Sat, Feb 10, 2024 at 13:05 citystrawman ***@***.***> wrote:
Pls see the wiki
… <#m_-286968189595765442_>
On Sat, Feb 10, 2024 at 04:59 citystrawman *@*.*> wrote: you do not need
the MVS file for the mesh stage, use the same MVS file Hi, I tried to use
the old mvs file (model_dense.mvs that is generated in step 6) for
step8(RefineMesh) as well as step9(TextureMesh), but neither of the two
give error saying "error: invalid mesh file, cannot load mesh file". I am
not sure what is going wrong. — Reply to this email directly, view it on
GitHub <#692 (comment)
<#692 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVMH3QJUS5NU3BSEMMV6TDYS3PBRAVCNFSM5CAJW3R2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJTGY4DEOJTGQ2Q
<https://github.com/notifications/unsubscribe-auth/AAVMH3QJUS5NU3BSEMMV6TDYS3PBRAVCNFSM5CAJW3R2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJTGY4DEOJTGQ2Q>
. You are receiving this because you were mentioned.Message ID: @.*>
Thank you. Now I ran code like this: TextureMesh model_dense.mvs -m
model_dense_mesh.ply -o model_texture.mvs , and it does not report
errors; however, it shows that some library failed load, and now the
program just stuck at "Initialized views" for hours. Here's the last
lines that I copied :
17:47:59 [App ] Mesh loaded: 520355 vertices, 1040677 faces (467ms)
[ ***@***.*** global registry_parallel.impl.hpp:96 cv::parallel::ParallelBackendRegistry::ParallelBackendRegistry core(parallel): Enabled backends(3, sorted by priority): ONETBB(1000); TBB(990); OPENMP(980)
[ ***@***.*** global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load D:\programs\openMVS\make\bin\vc16\x64\Debug\opencv_core_parallel_onetbb480_64d.dll => FAILED
[ ***@***.*** global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load opencv_core_parallel_onetbb480_64d.dll => FAILED
[ ***@***.*** global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load D:\programs\openMVS\make\bin\vc16\x64\Debug\opencv_core_parallel_tbb480_64d.dll => FAILED
[ ***@***.*** global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load opencv_core_parallel_tbb480_64d.dll => FAILED
[ ***@***.*** global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load D:\programs\openMVS\make\bin\vc16\x64\Debug\opencv_core_parallel_openmp480_64d.dll => FAILED
[ ***@***.*** global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load opencv_core_parallel_openmp480_64d.dll => FAILED
Initialized views 33 (100%, 1m14s642ms)
—
Reply to this email directly, view it on GitHub
<#692 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVMH3SBO44SQG4D5HTOTYDYS5IAXAVCNFSM5CAJW3R2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJTGY4TONBWGAYQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Through a lot of reading about those doc and issue.
I wanna write a tutorial for fresh people.
This is prepare for linux server (means no desktop)
And I have compile the latest version
colmap
andopenmvs
Step 1
--SiftExtraction.use_gpu
is using for linux server only, you can comment it out if you have desktop.--ImageReader.camera_model PINHOLE
, you could choice other one, check the list camera modelInterfaceCOLMAP
, you must specify PINHOLE modelStep 2
--SiftMatching.use_gpu 0
has same effect withSiftExtraction.use_gpu
Step 3
Step 4
txt
file will be created atsparse
dir.cameras.txt
,images.txt
,point3D.txt
PINHOLE
is incameras.txt
you will seeStep 5
Step 6
--archive-type -1
must be setStep 7
Step 8
Step 9
FINAL
model.mtl
model.obj
and the texuremodel_material_0_map_Kd.jpg
MAYA
Attantion
images
path under--working-folder
args.The text was updated successfully, but these errors were encountered: