Skip to content

An implementation of online robust PCA (ORPCA) described in the paper: Online Robust PCA via Stochastic Optimization by Feng et al. [NIPS 2013]

Notifications You must be signed in to change notification settings

young-hwanlee/online_robust_PCA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Robust PCA

An implementation of online robust PCA (ORPCA) described in the paper:

However, it is modified slightly since missing data points cannot be reconstructed in this paper. (The reconstruction of missing data were not performed here, but it can be performed by chaning the missing percentage parameter 'perc_miss' in the m-file 'main_orpca.m'.)

Dataset

VIRAT Video Dataset was used here (not in the paper), which is designed to be realistic, natural and challenging for video surveillance domains in terms of its resolution, background clutter, diversity in scenes, and human activity/event categories than existing action recognition datasets. It has become a benchmark dataset for the computer vision community.

Original Frame Size

Since the frame size of the original video files is large, they were cropped when running the simulation. The original and gray frame are shown below:

Original frame Gray frame
original_figure gray_figure

Results

Foreground and Background

After running the algorithm, the results (original, background, and foreground frames) are displayed below, where

  • Foreground: moving object is captured by the sparse matrix E
  • Background: non-moving object is captred by the low rank matrix X

(If fine-tuning the parameters, running more frames (or increasing the epoch), the sparse matrix E may capture only the moving object (not the background.))

Original 1 Original 2 Original 3 Original 4
data_Z_1 data_Z_2 data_Z_3 data_Z_4
Background 1 Background 2 Background 3 Background 4
low_rank_X_1 low_rank_X_2 low_rank_X_3 low_rank_X_4
Foreground 1 Foreground 2 Foreground 3 Foreground 4
sparse_E_1 sparse_E_2 sparse_E_3 sparse_E_4

About

An implementation of online robust PCA (ORPCA) described in the paper: Online Robust PCA via Stochastic Optimization by Feng et al. [NIPS 2013]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published