cvg / limap

A toolbox for mapping and localization with line features.
BSD 3-Clause "New" or "Revised" License
661 stars 67 forks source link

Questions about Quickstart #60

Open dansonZhang opened 7 months ago

dansonZhang commented 7 months ago

I executed this command: Python runners/typosim/finnmerge. py -- output Dir outputs/quickstart Fitnmerge Afterwards, the terminal finally displays the prompt:

Computing visual neighbors... (n_neighbors = 100) [LOG] Start 2D line detection and description (detector = deeplsd, n_images = 98)... 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 98/98 [02:55<00:00, 1.79s/it] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 98/98 [00:08<00:00, 11.26it/s] [████████████████████]100%(98/98) [130.666it/s] [29-11-2023 20:02:10 INFO ] # graph nodes: 18396 [29-11-2023 20:02:10 INFO ] # graph edges: 246244 [29-11-2023 20:02:10 INFO ] # tracks: 1197 [LOG] tracks after iterative remerging: 1162 / 1196 Writing linetracks to outputs/quickstart_fitnmerge/fitnmerge_finaltracks... 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1162/1162 [00:00<00:00, 20287.13it/s] Writing all linetracks to a single file... 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 651/651 [00:00<00:00, 35245.80it/s] [Track Report] (N2, N4, N6, N8, N10, N20, N50) = (1094, 651, 501, 398, 336, 156, 5) average supporting images (>= 3): 9702 / 781 = 12.42 average supporting lines (>= 3): 14031 / 781 = 17.97 average supporting images (>= 4): 9312 / 651 = 14.30 average supporting lines (>= 4): 13579 / 651 = 20.86

/home/danson/Code_center/limap/limap/runners/line_fitnmerge.py(179)line_fitnmerge() -> VisTrack.vis_reconstruction(imagecols, n_visible_views=cfg["n_visible_views"], width=2) (Pdb) (Pdb) (Pdb)

Do I need to input anything in it? Still close the terminal and continue executing: Python runners/typim/triangulation. py -- output Dir outputs/quickstart Triangulation?

B1ueber2y commented 7 months ago

The visualization is trigged by running continue in the Python pdb (https://docs.python.org/3/library/pdb.html). You can press "c" and "enter" to run the visualization.

You can also visualize the reconstruction afterwards with:

python visualize_3d_lines.py --input_dir outputs/quickstart_fitnmerge/fitnmerge_finaltracks # add the camera frustums with "--imagecols outputs/quickstart_triangulation/imagecols.npy"

Thanks!