Giter VIP home page Giter VIP logo

colmap_slam's People

Contributors

3dom-fbk avatar franioli avatar lcmrl avatar rbeber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

colmap_slam's Issues

Failed to launch Mapper (colmap) on windows on MachineHall exemple

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:

==============================================================================
Finding good initial image pair

=> No good initial image pair found.
=> Relaxing the initialization constraints.

==============================================================================
Finding good initial image pair

=> No good initial image pair found.
=> Relaxing the initialization constraints.

==============================================================================
Finding good initial image pair

=> 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

LOOP_CLOSURE_DETECTION = True

Hi !

I just tried to run the code with LOOP_CLOSURE_DETECTION = True and set RootSIFT. Changed this part
image

In general, everything goes fine, I've downloaded VOCAB_TREE. The one thing that bothers me is that sometimes I get outliers. Am I doing anything wrong?
image

How to use it?

I've take 78 pictures, when I use it, the prompts come: "No more images available."
It could only handle two pictures.
QQ图片20240113114138

Processing stuck

Hi Luca!

Thank you for your great work! While running python main.py. processing always gets stuck at some point and after that, I get only
image

Have you ever seen something like that ?

Stereo COLMAP of two cameras

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.