Skip to content

A programme that allows you to play around with different blurs and filters to create various pixelation effects. Streamlit and OpenCV are integrated into Python.

Notifications You must be signed in to change notification settings

adarshsankarrs/Pixelate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A programme that allows you to play around with different blurs and filters to create various pixelation effects. Streamlit and OpenCV are integrated into Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages