MCPcopy Index your code
hub / github.com/drinkingcoder/NeuralMarker

github.com/drinkingcoder/NeuralMarker @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
223 symbols 625 edges 28 files 34 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

NeuralMarker

Project Page

NeuralMarker: A Framework for Learning General Marker Correspondence
Zhaoyang Huang*, Xiaokun Pan*, Weihong Pan, Weikang Bian, Yan Xu, Ka Chun Cheung, Guofeng Zhang, Hongsheng Li
SIGGRAPH Asia (ToG) 2022

TODO List

  • [x] Code release
  • [x] Models release
  • [x] Demo code release
  • [x] Dataset&Evaluation code release

Environment

conda create -n neuralmarker
conda activate neuralmarker
conda install python=3.7
pip install -r requirements.txt

Dataset

We use the MegaDepth dataset that preprocessed by CAPS, which is provided in this link. We generate FlyingMarkers training set online. To genenerate FlyingMarkers validation set and test set, please execute:

python synthesis_datasets.py --root ./data/MegaDepth_CAPS/ --csv ./data/synthesis_validate_release.csv --save_dir ./data/flyingmarkers/validation
python synthesis_datasets.py --root ./data/MegaDepth_CAPS/ --csv ./data/synthesis_validate_short.csv --save_dir ./data/validation/synthesis
python synthesis_datasets.py --root ./data/MegaDepth_CAPS/ --csv ./data/synthesis_test_release.csv --save_dir ./data/flyingmarkers/test

The pretrained models, DVL-Markers benchmark, and data for demo are stored in Google Drive.

Training

We train our model on 6 V100 with batch size 2.

CUDA_VISIBLE_DEVICES=0,1,2,3,4,5 python train.py

DVL-Markers Evaluation

Put the DVL-Markers dataset in data:

├── data 
    ├── DVL
        ├── D
        ├── V
        ├── L
        ├── marker

then run

bash eval_DVL.sh

The results will be saved in output

FlyingMarkers Evaluation

python evaluation_FM.py

Demo

for video demo, run

bash demo_video.sh

Acknowledgements

We thank Yijin Li, Rensen Xu, and Jundan Luo for their help. We refer DGC-Net to generate synthetic image pairs.

Core symbols most depended-on inside this repo

coords_grid
called by 14
core/utils/utils.py
image_flow_warp
called by 8
evaluation_DVL.py
blend
called by 8
evaluation_DVL.py
resize_lighting
called by 6
eval_utils.py
eval
called by 5
evaluation_DVL.py
rgb_to_srgb
called by 4
harsh_lighting_utils.py
resize_viewpoint
called by 4
eval_utils.py
sample_one
called by 4
core/utils/utils.py

Shape

Method 104
Function 79
Class 40

Languages

Python100%

Modules by API surface

core/utils/transformation.py38 symbols
core/update.py24 symbols
core/utils/utils.py21 symbols
core/datasets.py18 symbols
core/extractor.py14 symbols
evaluation_DVL.py10 symbols
core/raft.py10 symbols
core/biraft.py10 symbols
core/encoders.py8 symbols
core/utils/frame_utils.py7 symbols
core/corr.py7 symbols
train.py6 symbols

For agents

$ claude mcp add NeuralMarker \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact