Skip to content

gumeo/openCVPCAcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PCA on your webcam stream

Small example to do PCA on images in openCV. This was mainly to inspect whether good forground/background segmentation was present in the PCs. Note that you need a webcam for this to work and openCV.

To install go to the source directory and write the following in the terminal:

cmake .
make
./test

You should now see three windows pop up with the three PCs.

The following image shows how my hand on a white background. A good separation is present in the first component, while smaller structures like veins are present in the second component. The PCs are shown, first in top left corner, second in top right corner and third in the bottom right corner.

screen capture from usage

I might add some more functionality in the future.

About

Do PCA on the RGB images from your webcam and visualize the components.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published