Welcome to this lab in the computer vision course TEK5030 at the University of Oslo. In this lab we will experiment with real time image segmentation on image streams from a camera or a prerecorded video.
Start by cloning this repository on your machine.
If you want to use prerecorded video, you can download the videos (259MB) and unzip them somewhere convenient on your computer*.
Then open the lab project in CLion using the cmake-file in the base directory: lab-segmentation/CMakeLists.txt.
If you are uncertain about how this is done, please take a look at the intro lab.
The lab is carried out by following these steps:
You will find our proposed solution at https://github.com/tek5030/solution-segmentation, but please try to solve the lab with help from others instead of just jumping straight to the solution ;)
Start the lab by going to the first step.
-
OpenCV must be installed on your system. If you are on a lab computer, you are all set.
If you are on Ubuntu, but not on a lab computer, the following should be sufficient for this lab.
sudo apt update sudo apt install libopencv-dev
-
We refer to setup_scripts and the intro lab as a general getting started-guide for the C++ labs on Ubuntu 22.04.
wget https://www.uio.no/studier/emner/matnat/its/TEK5030/v19/resurser/lab_11_videos.zip
unzip lab_11_videos.zip
rm lab_11_videos.zip