Live-Feed Image Processor

Laptop webcam image processor, allowing user to stack filters to see combined post-proccessing results.

Related Tags...

PythonOpenCVWebcam ProcessingInteractive
3

Screenshot Gallery...

Graphical Interface

The application includes a button bank, where each filter includes 3 options. The user is able to

  1. Add a filter to of this kind queue
  2. Remove most recently added filter of this kind
  3. Remove all filters of this kind

Reading & Displaying Webcam

There exists two classes in this program, one for reading the webcam and one for displaying then filtered result. These two classes work in tandem, using threading in python. Both share a common frame-queue, where the VideoReader loads frames and VideoShower pulls them. The VideoShower then send the loaded frame into a FrameFilter class (initialized at program-launch)

Filtering Image

The FrameFilter class is a locally implemented queue class, which stores the filters for each frame to pass through. All possible filters are stored as functions within this class. These include...


Threshold
Sharpen
Emboss
Edge detection (canny)
Blur (Normal/Median/Gaussian)
Lighten
Darken

Adjusting Blur Setting

here exists 8 radio-buttons, where the user can choose one of 5 kernel sizes from...

1
3
5
7
9
and 3 where the user can choose Normal, Median, or Gaussian blur methods

Intention is to add further adjustments for each filter