开源软件名称(OpenSource Name):yosungho/LineTR开源软件地址(OpenSource Url):https://github.com/yosungho/LineTR开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):Line as a Visual Sentence with LineTRThis repository contains the inference code, pretrained model, and demo scripts of the following paper. It supports both point(SuperPoint) and line features(LSD+LineTR).
Announcements
TODO List
AbstractAlong with feature points for image matching, line features provide additional constraints to solve visual geometric problems in robotics and computer vision (CV). Although recent convolutional neural network (CNN)-based line descriptors are promising for viewpoint changes or dynamic environments, we claim that the CNN architecture has innate disadvantages to abstract variable line length into the fixed-dimensional descriptor. In this paper, we effectively introduce the Line-Transformer dealing with variable lines. Inspired by natural language processing (NLP) tasks where sentences can be understood and abstracted well in neural nets, we view a line segment as a sentence that contains points (words). By attending to well-describable points on a line dynamically, our descriptor performs excellently on variable line length. We also propose line signature networks sharing the line's geometric attributes to neighborhoods. Performing as group descriptors, the networks enhance line descriptors by understanding lines' relative geometries. Finally, we present the proposed line descriptor and matching in a Point and Line Localization (PL-Loc). We show that the visual localization with feature points can be improved using our line features. We validate the proposed method for homography estimation and visual localization. Getting StartedThis code was tested with Python 3.6 and PyTorch 1.8 on Ubuntu 18.04.
CommandThere are two demo scripts:
Keyboard control:
The scripts are partially reusing SuperGluePretrainedNetwork. How to train LineTRThe training scripts and configurations can be modified depending on the development environment. Please also refer to the config files in 'dataloaders/confs/homography.yaml' and 'train_manager.yaml' to adjust #gpu, batch size, nWorkers, etc. The raw images should be located in 'assets/dataset/raw_images/' and their dataset files will be saved at 'assets/dataset/dataset_h5/'. There are three steps for training:
BibTeX Citation
AcknowledgmentThis work was fully supported by [Localization in changing city] project funded by NAVER LABS Corporation. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论