Code Monkey home page Code Monkey logo

background_blur's Introduction

The goal of this project is setting a template in the picture(captured from video) with grayscale. And blur the background except template; figuring out how to be filmed the template.

First, mannually setting the window and template. The window(blue) is represeting the range of the template's location changes in all frames (captured from the whole video) and the template(red) is the target object.

The orange is the template.

The left side is the image in some period of frames and the right side is the new representation of image with match_template(). When getting the images from match_template, it was not necessary to use the whole image so that the window of the image is used. The highest value (brightest) point is the location of template. and by saving each of points in each picture would allow us the location change of template.

Comparing each point to the first start point, visualizing the location change of template.

Based on the information, shifting the each of images and combining them.

Except the template(orange), background has been blurred and the image(shape?) of the template is clear than others.

background_blur's People

Contributors

gawun92 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.