All Projects → ziliHarvey → Lucas Kanade Tracking And Correlation Filters

ziliHarvey / Lucas Kanade Tracking And Correlation Filters

Licence: mit
An implementation of several tracking algorithms based on Lucas Kanade algorithms

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Lucas Kanade Tracking And Correlation Filters

deep-action-detection
Multi-stream CNN architectures for action detection with actor-centric filtering
Stars: ✭ 24 (+14.29%)
Mutual labels:  optical-flow
Ransac Flow
(ECCV 2020) RANSAC-Flow: generic two-stage image alignment
Stars: ✭ 265 (+1161.9%)
Mutual labels:  optical-flow
Tfoptflow
Optical Flow Prediction with TensorFlow. Implements "PWC-Net: CNNs for Optical Flow Using Pyramid, Warping, and Cost Volume," by Deqing Sun et al. (CVPR 2018)
Stars: ✭ 415 (+1876.19%)
Mutual labels:  optical-flow
Motion-Estimation-using-Speeded-Up-Robust-Features-SURF-and-Oriented-Fast-Rotated-Brief-ORB-
No description or website provided.
Stars: ✭ 25 (+19.05%)
Mutual labels:  optical-flow
Computer-Vision
Cool Vision projects
Stars: ✭ 51 (+142.86%)
Mutual labels:  optical-flow
Toflow
TOFlow: Video Enhancement with Task-Oriented Flow
Stars: ✭ 314 (+1395.24%)
Mutual labels:  optical-flow
flow-io-opencv
Fork and OpenCV wrapper of the optical flow I/O and visualization code provided as part of the Sintel dataset [1].
Stars: ✭ 20 (-4.76%)
Mutual labels:  optical-flow
Vpp
Video++, a C++14 high performance video and image processing library.
Stars: ✭ 655 (+3019.05%)
Mutual labels:  optical-flow
back2future
Unsupervised Learning of Multi-Frame Optical Flow with Occlusions
Stars: ✭ 39 (+85.71%)
Mutual labels:  optical-flow
Flownet2 Tf
FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks
Stars: ✭ 378 (+1700%)
Mutual labels:  optical-flow
briefmatch
BriefMatch real-time GPU optical flow
Stars: ✭ 36 (+71.43%)
Mutual labels:  optical-flow
Real-Time-Abnormal-Events-Detection-and-Tracking-in-Surveillance-System
The main abnormal behaviors that this project can detect are: Violence, covering camera, Choking, lying down, Running, Motion in restricted areas. It provides much flexibility by allowing users to choose the abnormal behaviors they want to be detected and keeps track of every abnormal event to be reviewed. We used three methods to detect abnorma…
Stars: ✭ 35 (+66.67%)
Mutual labels:  optical-flow
Selflow
SelFlow: Self-Supervised Learning of Optical Flow
Stars: ✭ 319 (+1419.05%)
Mutual labels:  optical-flow
pwcnet
PWC-Network with TensorFlow
Stars: ✭ 72 (+242.86%)
Mutual labels:  optical-flow
Liteflownet
LiteFlowNet: A Lightweight Convolutional Neural Network for Optical Flow Estimation, CVPR 2018 (Spotlight paper, 6.6%)
Stars: ✭ 474 (+2157.14%)
Mutual labels:  optical-flow
Voof
Visual odometry using optical flow and neural networks
Stars: ✭ 59 (+180.95%)
Mutual labels:  optical-flow
Fastmot
High-performance multiple object tracking based on YOLO, Deep SORT, and optical flow
Stars: ✭ 284 (+1252.38%)
Mutual labels:  optical-flow
Flownet2
FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks
Stars: ✭ 938 (+4366.67%)
Mutual labels:  optical-flow
Pyflow
Fast, accurate and easy to run dense optical flow with python wrapper
Stars: ✭ 564 (+2585.71%)
Mutual labels:  optical-flow
Cc
Competitive Collaboration: Joint Unsupervised Learning of Depth, Camera Motion, Optical Flow and Motion Segmentation
Stars: ✭ 348 (+1557.14%)
Mutual labels:  optical-flow

Lucas-Kanade-tracking-and-Correlation-Filters

This repository contains implementation of Lucas-Kanade algorithm proposed by Lucas and Kanade. Lucas-Kanade algorithm can be used for sparse optical flow (associate feature points across frames) and tracking (associate image patch cross frames). This repo implements the algorithm for tracking a single template across 400 frames video.
Please unzip data.zip and then follow the instructions below.

Lucas Kanade Tracking with one single template

The "vanilla" algorithm for tracking. Detailed derivation can be referred to Lucas-Kanade 20 Years On: A Unifying Framework. This tracker runs around 36 Hz on my local machine.
Files included:
/data/carseq.npy
/src/LucasKanade.py
/src/testCarSequence.py
Run

python testCarSequence.py

Sample results

/src/carseqrects.npy stores the vertices coordinates of bounding box in each frame.

Lucas Kanade Tracking with template correction

The upgraded version of the first algorithm, which mitigates template drifting problem. The template can be updated every frame, but it must be re-aligned to the original template to remove drift. Detailed derivation can be referred to The Template Update Problem. This tracker runs around 18 Hz on my local machine.
FIles included:
/data/carseq.npy
/src/LucasKanade.py
/src/TemplateCorrection.py
/src/testCarSequenceWithTemplateCorrection.py
Run

python testCarSequenceWithTemplateCorrection.py

Sample results
Blue bbox: with template correction | Red bbox: without template correction

Lucas Kanade Tracking with appearance basis

The former 2 algorithms may not suffice for real life challenges with drastic appearance variance. Through analyzing historical data collected, we can use an eigen-space approach to produce a principal template at each frame. This tracker runs around 39 Hz on my local machine.
Files included:
/data/sylvseq.npy
/data/sylvbbases.npy
/src/LucasKanade.py
/src/TemplateCorrection.py
/src/LucasKanadeBasis.py
/src/testSylvSequence.py
Run

python testSylvSequence.py

Sample results
Blue bbox: with appearance bases | Red bbox: without appearance bases

Lucas Kanade Tracking with dominant affine motion

This algorithm works on non-stationary camera video. This tracker runs around 23 Hz on my local machine.
Files included
/data/aerialseq.npy
/src/LucasKanadeAffine.py
/src/SubtractDominantMotion.py
/src/InverseCompositionAffine.py
/src/testAerialSequence.py
Run

python testAerialSequence.py

Sample results

Correlation Filters

The paper of correlation filters can be found hereVisual Object Tracking using Adaptive Correlation Filters
Files included
/src/Corr-Filters/lena.npy
/src/Corr-FIlters/example.py
Run

python example.py

Sample results

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].