3dom-fbk / colmap_slam Goto Github PK
View Code? Open in Web Editor NEWVisual-SLAM based on COLMAP API
License: MIT License
Visual-SLAM based on COLMAP API
License: MIT License
Hello, would you consider adding the equirectangular camera model?
What are the results? Got some cloud files?
Hi,
I have installed colmap_slam using conda and python 3.9.17 on a windows 10 machine. I downloaded EuRoC\MH_01_easy and updated the config.ini script with all path as you did in the sample ini files. I am using same Colmap version as yours: COLMAP-3.8-windows-cuda.
When I launch main.py, everything is fine until mapper is called. I could see the simulator working and features tracked in the opened window. Unfortunately, mapper call does not work and I don't know why.
Here is the log:
Processing image pair (imgs\cam0\1403636581363555584.jpg, imgs\cam0\1403636581763555584.jpg)
2023-10-20 09:45:35,838 - INFO - pointer 8 c 8
2023-10-20 09:45:35,980 - INFO - Pydegensac found 205/228 inliers
2023-10-20 09:45:35,980 - INFO - median_match_dist: 41.05
camera 0
camera 1
2023-10-20 09:45:35,998 - INFO - Frame accepted. New_keyframe image_id: 10
2023-10-20 09:45:36,027 - INFO - [Keyframe Selection] | features extraction=0.111, matching=0.030, innovation check=0.019,
2023-10-20 09:45:36,035 - INFO -
Processing image pair (imgs\cam0\1403636581763555584.jpg, imgs\cam0\1403636581963555584.jpg)
2023-10-20 09:45:36,035 - INFO - pointer 10 c 9
2023-10-20 09:45:36,325 - INFO - Pydegensac found 222/248 inliers
2023-10-20 09:45:36,326 - INFO - median_match_dist: 23.61
2023-10-20 09:45:36,326 - INFO - Frame rejected
2023-10-20 09:45:36,349 - INFO - [Keyframe Selection] | features extraction=0.242, matching=0.047, innovation check=0.001,
2023-10-20 09:45:36,351 - INFO - DYNAMIC MATCHING WINDOW: 1
2023-10-20 09:45:36,352 - INFO - Initialize an empty database
2023-10-20 09:45:36,353 - INFO - Feature extraction
2023-10-20 09:45:36,762 - INFO - Sequential matcher
2023-10-20 09:45:39,871 - INFO - MAPPER
Traceback (most recent call last):
File "G:\RDVision\Micado\code\COLMAP_SLAM\main.py", line 497, in
colmap.Mapper(
File "G:\RDVision\Micado\code\COLMAP_SLAM\lib\colmapAPI.py", line 171, in Mapper
subprocess.call(
File "C:\Users\cvestri\miniconda3\envs\colmap_slam\lib\subprocess.py", line 349, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\cvestri\miniconda3\envs\colmap_slam\lib\subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\cvestri\miniconda3\envs\colmap_slam\lib\subprocess.py", line 1436, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable
When it crashes, I tried to run it manually like this (not all options in your config):
.\COLMAP.bat mapper --image_path G:\RDVision\Micado\COLMAP_SLAM\imgs\ --database_path G:\RDVision\Micado\COLMAP_SLAM\outs\0\db.db --output_path G:\RDVision\Micado\COLMAP_SLAM\outs\0
it works but failed to create a sparse model but at least it is launched
Here is the log:
=> No good initial image pair found.
=> Relaxing the initialization constraints.
=> No good initial image pair found.
=> Relaxing the initialization constraints.
=> No good initial image pair found.
Elapsed time: 0.017 [minutes]
ERROR: failed to create sparse model
Do you experienced the same problem?
Is colmap result the problem or do I have a problem in subsystem.call in colmapAPI.py?
Thanks
Hello, I have some questions about COLMAP_SLAM for multi-camera scenario. Does the parameter "BASELINE_CAM0_CAM1" of config.ini only used to restore the scale? Is there any other difference between monocular and stereo COLMAP_SLAM?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.