Skip to content

sparky-abhik06/Image-watermark-overlay-on-Video

Repository files navigation

Advertisement Insertion with Occlusion Handling

Output Frame

Overview

Anantadi Advertisement Insertion with Occlusion Handling is an advanced computer vision project designed to seamlessly insert a specified advertisement image into a given video while gracefully handling occlusions.

Key Features

  • Occlusion Handling: Utilizes effective real-time strategies for dynamic occlusion management during video processing.
  • User Interaction: Provides an intuitive interface for selecting Regions of Interest (ROIs) during occlusion handling.
  • Real-Time Processing: Optimized algorithms ensure efficient real-time video processing capabilities.
  • Versatile Advertisement Insertion: Capable of inserting advertisements into videos with diverse content and complex occlusion scenarios.

Getting Started

Prerequisites

  • Python 3.x
  • OpenCV
  • NumPy
  • Jupyter Notebook

Installation

  1. Clone the repository:
    git clone https://github.com/sparky-abhik06/Image-watermark-overlay-on-Video
  2. Navigate to the project directory:
    cd Image-watermark-overlay-on-Video
  3. Install the required dependencies:
    pip install -r requirements.txt

Usage

  1. Load your video and advertisement image.
  2. Run the notebook cells to process the video with occlusion handling and advertisement insertion.
  3. View the processed frames and video output.

Challenges Faced

  1. Real-Time Processing and Display Optimization: Achieving a balance between computational efficiency and visual performance for real-time video processing.

  2. Dynamic Occlusion Handling Strategies: Creating effective strategies to handle dynamic occlusions, considering varying shapes and sizes of occluded areas.

  3. User Interaction and Intuitive ROI Selection: Implementing a user-friendly interface for selecting the Region of Interest during occlusion handling.

  4. Striking a Balance in Video Output Quality: Optimizing video output quality while maintaining processing speed.

  5. Ensuring Code Robustness Across Various Scenarios: Ensuring the code's robustness to handle different video formats, sizes, and advertisement images.

Insights Gained

The iterative development process involved continuous testing, parameter adjustments, and code refinements. The resulting solution is designed to deliver a robust, efficient, and visually appealing advertisement insertion into videos under varying conditions.

About

This is an assignment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published