Simple OpenCV video input/output sample

This short piece of code below captures a frame from a web cam and shows it in a window. Some simple transformations can be applied.

The code is simply compiled with:

gcc -Wall highgui_test.c -o highgui_test -lcv -I /usr/include/opencv/ -lhighgui

 

Leave a Reply

Your email address will not be published. Required fields are marked *


Notice: Undefined index: rerror in /var/www/manuelbaumann.com/htdocs/wp-content/plugins/wp-recaptcha/recaptcha.php on line 291