Skip to content

drhalftone/Qt-OpenCV-OpenGL-FFMPEG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the Qt-OpenCV-OpenGL wiki! This is a Qt application that displays live video from your webcam, and applies various video processing routines, namely OpenCV filters. However, unlike OpenCV which is CUDA centric, this project makes use of OpenGL shaders to replace as much of the CPU-based OpenCV filters. Users should see this project as a teaching tool for building their own filters. It should be noted that all of these filters run at 30 fps.

Here is an example of displaying raw video:

Here is an example of facial feature tracking. For this to work, you will need to also download the pre-trained face detector model (https://github.com/opencv/opencv/blob/master/data/haarcascades/haarcascade_frontalface_alt2.xml) and the pre-trained facial feature point model (https://github.com/kurnianggoro/GSOC2017/blob/master/data/lbfmodel.yaml). You will be prompted by a file dialog to locate these files on you system.

Here is an example of Harris feature detection:

Here is an example of Sobel edge detection:

Here is an example of randomly swapping pixels around (please note this takes a long time to launch). This purpose of this filter is to create a way to visualize the video frames color histogram without the psycho-visual effects of the scene. So on the left, you have the raw video. On the right, I'm using a psuedo-random permutation/swapping of pixels from the raw video.

About

Qt application for testing OpenCV filters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published