/capstone

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

CAPSTONE REPO

Fatema Alzaabi (fya210@nyu.edu)

Moaaz Assali (ma5679@nyu.edu)

Umer Bin Liaqat (ubl203@nyu.edu)

Some Info

  • We use DROID-SLAM, so for more information refer to the DROID-SLAM repo and instructions https://github.com/princeton-vl/DROID-SLAM
  • We made some changes in several of the original files to get the model to work on our system without errors
  • We used Python 3.9.13
  • We recommend using ffmpeg for a lot of functionalities like resizing videos/images, changing fps, extracting images from video and many more...
  • Check the last sections of the report for tests for reducing memory footprint (report.pdf)

Code files that we added

Getting Started

  1. Clone the repo
git clone https://github.com/moaazassali/capstone.git
  1. Creating a new anaconda environment using the provided requirements.txt file
conda create --name droidenv --file requirements.txt
conda activate droidenv
pip install evo --upgrade --no-binary evo
pip install gdown
  1. Compile the extensions (takes about 10 minutes)
python setup.py install
  1. Run demo
./tools/download_sample_data.sh
python demo.py --imagedir=data/abandonedfactory --calib=calib/tartan.txt --stride=2

Running the already existing code in the A1 Cybersecutity Lab Computer

//login to ma5679 user
cd ~/Desktop/DROID-SLAM
conda activate droidenv
python demo.py --imagedir=data/abandonedfactory --calib=calib/tartan.txt --stride=2