analytics

lrslibrary: Video Background Removal

Remove video backgrounds with lrslibrary, a MATLAB toolkit for founders working with video analytics.

From the repo · “Low-Rank and Sparse Tools for Background Modeling and Subtraction in Videos”

888 stars377 forksMATLABGuide quality 8/10 · reviewed Aug 9Updated 11/22/2025100% free · open source
What it does

The lrslibrary tool is used for background modeling and subtraction in videos using low-rank and sparse techniques.

When to use it
  • •When you need to separate the foreground from the background in a video for object detection or tracking
  • •When you want to remove noise or unwanted elements from video footage
  • •When you need to apply background subtraction for surveillance, traffic monitoring, or other video analytics applications
Ready-to-paste prompt
[L, S] = lrs_decomposition(vidFrames, 0.1, 50); imshow(L);
Heads up: The lrslibrary requires the MATLAB environment to be installed and configured properly, and the user needs to have a basic understanding of MATLAB syntax and video processing concepts to use the tool effectively
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/lrslibrary && curl -fsSL https://workflowstacks.com/api/skills/lrslibrary/claude-skill -o ~/.claude/skills/lrslibrary/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

What's inside — free to inspect

No purchase needed

Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.

23
top-level files
7
folders
63.3M
source size
—
license
Key files
README.md
File tree
algorithms/
dataset/
figs/
gui/
libs/
output/
utils/
.gitignore
.gitmodules
algorithms_by_group.png
algorithms_by_speed.png
algorithms.xlsx
demo.m
get_algorithm_info_by_desc.m
get_algorithm_list.m
get_algorithm_name_by_id.m
get_method_id.m
get_method_list.m
get_method_name_by_id.m
hard_threshold.m
load_algorithm_list.m
load_method_list.m
lrs_algorithms.dat
lrs_gui.m
Quick Actions
Details
Creator
andrewssobral
Language
MATLAB
Category
analytics
Published
11/7/2014

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/lrslibrary.svg)](https://workflowstacks.com/skills/lrslibrary?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Ready-to-run pack · one-time $29

Rank Tracker

A weekly email of where you actually rank on Google.

Includes the tested workflow and a written setup playbook. Needs: SerpAPI key (free tier).

See what you get