Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

alpaca: 0.9751 alpaca: 0.7989 alpaca: 0.

8012

Convolutional
Neural
Networks
alpaca: 0.8835 alpaca: 0.9555 alpaca: 0.7884
for
Image
Classification

alpaca: 0.8654 alpaca: 0.8532 alpaca: 0.9001

Detect &
Classify
in Real Time

Combine: Detection & Classification in Real Time by camera


“Apply simple object detection by colour thresholding in Real Time.
Classify detected fragment in Real Time.”

Step 1: download code files from Resources


Navigate to Resources of the lecture ‘Combine: Detection & Classification in Real Time by
camera’ and download four ‘py’ files.

Table 1. Download code files from Resources


Filename Description

detect_and_classify_custom_model_in_real_time.py Detects & Classifies with trained custom model

detect_and_classify_cifar10_model_in_real_time.py Detects & Classifies with trained CIFAR-10 model

detect_and_classify_mnist_model_in_real_time.py Detects & Classifies with trained MNIST model

Detects & Classifies with trained Traffic Signs


detect_and_classify_ts_model_in_real_time.py
model
Detect & Classify in Real Time by camera
Step 2: place code files into ‘Section6’
Place downloaded code files into folder ‘Section6’. You should have following hierarchy.

Page 2
Detect & Classify in Real Time by camera
Step 3: run code files one-by-one
Open PyCharm or any other programming environment you have. Implement testing by
running code files one-by-one.

Links:
Check out additional links with extra information for further readings

✓ Simple object detection by colour thresholding


✓ Function 'cv2.findContours'
✓ Contour retrieval mode, Contour approximation method, hierarchy
✓ Function 'cv2.boundingRect'

Page 3

You might also like