Dept. of Computer Sc. » Pattern Recognition » Courses » SS 12 » Computer Vision [CV] » Computer Vision Exercises [CV-E]
Computer Vision Exercises [CV-E]
Dates & Rooms:
Tuesday, 14:15 - 15:45; Room: 02.133-113
In the exercises, we will have theoretical and practical assignments. The theoretical assignments aim at a deeper understanding of the principles tought in the lecture. The practical part offers hands-on examples to the participants, with the ultimate goal to implement a simple object tracker.
Exercises are not mandatory, but students are strongly encouraged to work through the exercise sheets. Usually we well have one exercise sheet per week, however we will move faster at the beginning due to the shorter semester. Solutions will be discussed in the exercise at the stated due date.
The processing time for each worksheet is two weeks.
Please send your solutions via email with the text "[CV]" included in the message title. If you want to send as an archive, please use tar.gz, tar.bz2 or zip files.
We use C++ and the OpenCV framework in the assignments. You can also hand-in Matlab code or Python code using the OpenCV python bindings.
Have a look at the current OpenCV documentation.
The easiest way is working at the Computer Science CIP-Pools (note there is a brand-new one just next to the lecture room in 02.135). OpenCV is ready to use there.
First, set the following environmental variables:
Then, the compiler flags needed to build with OpenCV should be available through this command:
pkg-config opencv --cflags --libs
You can use the output on the command line on the fly:
g++ `pkg-config opencv --cflags --libs` -o example example.cpp
For more convenience, write a Makefile.
OpenCV in your code
To use OpenCV for basic image operations, this include line is needed:
For file I/O functionality, you also need the "highgui" module:
Some interesting additional ressources are listed here. They are here to foster your pure fun and fascination of computer vision, not as part of the lecture material.
Also check out the weblinks that were collected in the previous year! To use Matlab in the CIP-Pool, execute "addpackage matlab && matlab".