Skip to content

About

Image and video analysis with evaluated examples in classification, segmentation and motion tracking.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Vision

Eight labs explore how image and video algorithms behave when a reference answer is available. The image track measures boundaries, digit classes and segmentation masks. The video track measures point displacement, foreground masks and motion classes.

Try a short example

The short examples cover Otsu thresholding and four-neighbour connected components. The two scripts use NumPy. From the repository root, run

python examples/otsu_threshold.py
Track Examples What the output measures
Images Canny edges, HOG with a linear SVM, a convolutional digit classifier and U-Net segmentation Boundary precision and recall, class-wise prediction errors, intersection over union and Dice overlap.
Videos Lucas-Kanade tracking, Farnebäck flow, background subtraction and a 3D convolutional classifier Endpoint error in pixels, the fraction of valid tracks, foreground overlap and motion-class accuracy.

Two examples

A noisy shape has a known outline, so its detected edges can be scored against a boundary with a fixed pixel tolerance. In the tracking lab the scene moves by a known translation, so every proposed displacement has a reference value. Both scenes can be regenerated offline. Edge detection · Sparse tracking

Reference geometry and detected edges

Run a lab

Use Python 3.12. Install the dependencies from the repository root, then run a script or open the corresponding notebook. Keep the gallery folder with the course when downloading it.

python -m pip install -r requirements.txt
python "Videos/01 Lucas-Kanade Tracking/lucas_kanade_tracking.py"

Optical digit recognition uses the 8 × 8 UCI images supplied with scikit-learn and an image-level split. The other scenes and video clips are generated locally. Each example cites the method and describes its evaluation. UCI optical digits · CC BY 4.0 · MIT code licence

About

Image and video analysis with evaluated examples in classification, segmentation and motion tracking.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages