Skip to content

Latest commit

 

History

History
87 lines (56 loc) · 2.09 KB

README.md

File metadata and controls

87 lines (56 loc) · 2.09 KB

Pixelate

A programme that lets you experiment with different blurs and filters to achieve different styles of pixelation effects. Built in python using OpenCV and Streamlit.

Table of Contents 📑

Features

  • Live previews
  • Cross platform
  • Picture/Video input support
  • Live webcam input support

Filter and Effects available

  • Median filter
  • Gaussian filter
  • Bilateral filter
  • Laplacian
  • Adaptive Thresholding
  • Bilateral filter
  • Detail enhancing filters
  • Erosion
  • Colour Quantisation

Installation

Once the repository is cloned, to install all the python libraries required for pixelate

  cd Pixelate
  pip -r requirements.txt

ffmpeg is also required which can be installed using

  sudo apt-get install ffmpeg

Deployment

To deploy this project run

  streamlit run pixelate.py

Once executed, the project provides a local and network URL that connects it to the port number 8501 which can be used to connect locally through a web browser.

Examples

When an image is given as input

Example input and output

When a video is given as input

Example input and output

Median, Gaussian, Bilateral

Median, Gaussian, Bilateral

Laplacian, Adaptive

Laplacian, Adaptive

With erosion, without erosion

With erosion, without erosion

With color quantization, without color quantization

With color quantization, without

Bilateral, DetailEnhancement

Bilateral, DetailEnhancement

Copyright - ADARSH SANKAR R S