Skip to content

The AI of the Beholder (Intro to OpenCV workshop) - BuildingBloCS 2023

Notifications You must be signed in to change notification settings

sawzedong/buildingblocs-opencv

Repository files navigation

The AI of the Beholder: Seeing with Computer Vision 👀

This repository contains all the code we will be using throughout this BuildingBlocs 2023 Workshop.

Navigating files

All the sections are numbered with the corresponding section number and header. Feel free to upload your own images to the img/ folder for testing!

Dependencies

These codes minimally required opencv-python and numpy to run. This workshop uses opencv-python==4.7.0, so it may help to check the version you're using.

Helpful links

OpenCV tutorials: https://docs.opencv.org/4.7.0/d9/df8/tutorial_root.html
OpenCV documentation: https://docs.opencv.org/4.7.0/

S1: Image Processing

S2A: Feature Extraction

S2B: Feature Matching

S3A: Haar-cascade Object Detection

S3B: DNN-based Face Detection

S4: OpenCV GUI and Video

Common issues

1. File loading issues

Issue: ...Can't find required data file... or ...Can't read ONNX file..., etc.

Possible Problem 1: Our code often uses ../<filepath> as we assume it is run from the individual file itself. Solution: You can replace ../ with ./ if you are running from the parent folder (e.g. using VSCode).

Possible Problem 2: Our code uses <directory>/<filepath>.
Solution: If you are on a windows OS, kindly replace all / with \\ instead.

2. Other issues?

Please ask our friendly Tech Facils during the event, or you can look for help online / reach out to your group facils.
You can also try using the Google Colab here instead: https://bit.ly/bbcs23-opencv-colab

About

The AI of the Beholder (Intro to OpenCV workshop) - BuildingBloCS 2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages