{"id":15639661,"url":"https://github.com/ducha-aiki/mods","last_synced_at":"2025-04-30T08:12:28.092Z","repository":{"id":71374179,"uuid":"59576719","full_name":"ducha-aiki/mods","owner":"ducha-aiki","description":"MODS (Matching On Demand with view Synthesis) is algorithm for wide-baseline matching.","archived":false,"fork":false,"pushed_at":"2021-02-03T16:48:02.000Z","size":34125,"stargazers_count":87,"open_issues_count":2,"forks_count":16,"subscribers_count":15,"default_branch":"linux","last_synced_at":"2025-04-30T08:12:20.099Z","etag":null,"topics":["descriptor","detector","image-matching","local-features","ransac","sift","wbs","wide-baseline-stereo","wxbs"],"latest_commit_sha":null,"homepage":"http://cmp.felk.cvut.cz/wbs/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ducha-aiki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-05-24T13:43:31.000Z","updated_at":"2024-04-02T17:40:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe328395-53c3-4a5c-b8cb-c763ad054781","html_url":"https://github.com/ducha-aiki/mods","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducha-aiki%2Fmods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducha-aiki%2Fmods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducha-aiki%2Fmods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducha-aiki%2Fmods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ducha-aiki","download_url":"https://codeload.github.com/ducha-aiki/mods/tar.gz/refs/heads/linux","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251666337,"owners_count":21624295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["descriptor","detector","image-matching","local-features","ransac","sift","wbs","wide-baseline-stereo","wxbs"],"created_at":"2024-10-03T11:26:53.670Z","updated_at":"2025-04-30T08:12:28.072Z","avatar_url":"https://github.com/ducha-aiki.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## MODS: Image Matching with On-Demand Synthesis.\n\n**NEW: Simplified MODS with external deep CNN descriptors https://github.com/ducha-aiki/mods-light-zmq**\n\n## Binaries can be downloaded here\n\nhttps://github.com/ducha-aiki/mods/releases/\n\n\nCompilation. \nMODS depends on OpenCV version 2.4.9 and LAPACK\n\n## How to compile MODS on clean ubuntu 14.04 (tested on amazon AWS instance)\n\n    sudo apt-get install git cmake gfortran libblas-dev liblapack-dev build-essential gcc-multilib libopencv-dev python-opencv\n\n    sudo add-apt-repository --yes ppa:xqms/opencv-nonfree\n    sudo apt-get update\n    sudo apt-get install libopencv-nonfree-dev\n\nif you want to use edge foci detector and bice descriptor from Microsoft, you will need to install wine as well:\n    sudo apt-get install wine\n    git clone\n    cd mods\n\n    cd vlfeat\n    make\n\n    cd ../build\n    cmake ..\n    make\n\n## how to compile MODS on clean Windows 10\ninstall cmake \nhttps://cmake.org/download/\n\ninstall mingw \nhttp://www.mingw.org/\n\nget lapack\nhttps://icl.cs.utk.edu/lapack-for-windows/lapack/#libraries_mingw\n\nadd $mods_source_dir/lapack_for_windows/lib to your Path environment variable   \n\ninstall OpenCV 2.4.8\nIf you have trouble compiling it, use this solution http://stackoverflow.com/a/21214333\n\nAdd opencv install root/bin to your path environmental variable\n\nPut opencv install root CMakeLists.txt to \nSET (OpenCV_DIR \"c:/opencv-2.4.8/opencv/sources/build/install\")\n\n    cd build\n    cmake ..\n\nMake sure, that CMake generates mingw32 make files, not Visual Studio.\n\n    mingw32-make\n\n## Example of use:\nLinux:\n\n    ./mods examples/cat.png examples/cat2.png out1.png out2.png k1.txt k2.txt m.txt l.txt 0 0 examples/cat.txt config_iter_mods_cviu.ini iters_mods_cviu.ini\n\nWindows:\n\n    mods.exe examples/cat.png examples/cat2.png out1.png out2.png k1.txt k2.txt m.txt l.txt 0 0 examples/cat.txt config_iter_mods_cviu.ini iters_mods_cviu.ini\n\n\n## Configurations:\n\nconfig_iter_cviu.ini, iters_cviu.ini - version, created to hangle extreme view changes. \n\nDescribed in   \n\"MODS: Fast and Robust Method for Two-View Matching\" by Dmytro Mishkin, Jiri Matas, Michal Perdoch.\nhttp://arxiv.org/abs/1503.02619.\n\nconfig_iter_wxbs.ini, iters_wxbs.ini - version, described in . \n\n\"WxBS: Wide Baseline Stereo Generalizations\" by Dmytro Mishkin, Jiri Matas, Michal Perdoch, Karel Lenc.\nhttp://arxiv.org/abs/1504.06603\nIt handles extreme appearance and geometrical changes. A bit slower than previous, but much more powerful.\nIf use, please cite corresponding papers.\n\n## How to save detectors\\descriptors and use them for matching\nNote that exctract features takes only one step, so you may need to edit iters*.ini file to be able to extract features from next steps. See an example in iters_mods_cviu_onestep.ini\n\n    ./extract_features examples/cat.png  cat1.txt config_iter_cviu.ini iters_mods_cviu_onestep.ini\n    ./extract_features examples/cat2.png  cat2.txt config_iter_cviu.ini iters_mods_cviu_onestep.ini\n\nNow loading and matching\n    ./mods examples/cat.png examples/cat2.png out1.png out2.png cat1.txt cat2.txt m.txt l.txt 0 0 examples/cat.txt config_iter_mods_cviu.ini iters_mods_cviu_onestep.ini 1\n\n\n ## Citation\n\nPlease cite us if you use this code:\n\n    @article{Mishkin2015MODS,\n          title = \"MODS: Fast and robust method for two-view matching \",\n          journal = \"Computer Vision and Image Understanding \",\n          year = \"2015\",\n          issn = \"1077-3142\",\n          doi = \"http://dx.doi.org/10.1016/j.cviu.2015.08.005\",\n          url = \"http://www.sciencedirect.com/science/article/pii/S1077314215001800\",\n          author = \"Dmytro Mishkin and Jiri Matas and Michal Perdoch\"\n          }\n    \n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fducha-aiki%2Fmods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fducha-aiki%2Fmods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fducha-aiki%2Fmods/lists"}