Giter Site home page Giter Site logo

haylahav / video-processing-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 67.66 MB

This project involved implementing a comprehensive video processing pipeline, including stabilization, background subtraction, matting, and object tracking,

Python 100.00%

video-processing-project's Introduction

Video-Processing-Project

This project, as part of the Tel Aviv University Video Processing course, involved implementing a comprehensive video processing pipeline, including stabilization, background subtraction, matting, and object tracking,

image

In this project, we aimed to develop a robust video processing pipeline encompassing multiple stages. The initial phase involved preprocessing by converting RGB frames to the HSV color space, identifying the object's bounding box, and cropping frames to enhance the efficiency of subsequent computationally expensive functions. Following this, creating scribbles involved generating foreground and background masks based on binary frames, further refined using morphological operations.

The next key steps included creating probability maps for the object and background using Gaussian Kernel Density Estimation (KDE), calculating geodesic distance maps, and generating a narrow band and alpha trimap. The opacity map was computed by assigning weights to pixels in the narrow band based on KDE probabilities and geodesic distances. Finally, the object was seamlessly composited onto a new background using the calculated opacity map.

The tracking phase utilized two approaches: a binary mask for precise boundary tracking and a particle filter for handling body part occlusions. These methods were employed interchangeably based on the binary parameter. Overall, the project optimized runtime efficiency, resulting in a well-rounded video processing system with stable stabilization, accurate object segmentation, and reliable tracking.

video-processing-project's People

Contributors

haylahav avatar

Stargazers

 avatar

Watchers

 avatar

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.