Git Product home page Git Product logo

pytorch-kp2d-feature-tracking's Introduction

Pytorch-KP2D-Feature-Tracking

Python scripts for performing 2D feature detection and tracking using the KP2D model in Pytorch

KP2D 2D Feature matching Original images:https://github.com/liruoteng/OpticalFlowToolkit/blob/master/data/example/KITTI/

Requirements

  • Check the requirements.txt file.
  • For Pytorch, check the official website to install the version matching your machine: https://pytorch.org/
  • Additionally, pafy and youtube-dl are required for youtube video inference.

Installation (Except Pytorch)

pip install -r requirements.txt
pip install pafy youtube_dl=>2021.12.17

Pretrained model

Download the original models KeypointNet and KeypointResnet and extract them into the models folder.

Original Repository

The original repository contains additional code to train the models in Pytorch. This repository uses part of that code to make it easier to use the model in videos, images and webcamera.

Examples

  • Image Feature Matching:
python image_feature_matching.py
  • Image Feature Detection Confidence:
python image_feature_detection_conf.py
  • Video Feature tracking:
python video_feature_tracking.py
  • Webcam Feature Tracking:
python webcam_feature_tracking.py

Inference video Example: https://youtu.be/IeeRWMhpyc0

KP2D 2D Feature tracking drone

Original video: https://youtu.be/zP-gTCp5Kac

References:

pytorch-kp2d-feature-tracking's People

Contributors

ibaigorordo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pytorch-kp2d-feature-tracking's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.