WebCam

Example 1: WebCam access with OpenCV

Example 1: WebCam access with OpenCV

Introduction

In this example, we are using the PythonImage module and access your WebCam to show the video in a View2D.

Steps to do

Creating the network to be used for testing

Add the modules to your workspace and connect them as seen below.

Example Network

Example Network

The viewer is empty because the image needs to be set via Python scripting.

Example 2: Face Detection with OpenCV

Example 2: Face Detection with OpenCV

Introduction

This example uses the OpenCV WebCam Python script and adds a basic face detection.

Steps to do

Open Example 1

Add the macro module developed in Example 1 to your workspace.

Example 3: Segment persons in webcam videos

Example 3: Segment persons in webcam videos

Introduction

This tutorial is based on Example 2: Face Detection with OpenCV. You can re-use some of the scripts already developed in the other tutorial.

Steps to do

Add the macro module developed in the previous example to your workspace.

WebCamTest module

WebCamTest module

Open the internal network of the module via middle mouse button Middle Mouse Button / Mouse Wheel and right click Right Mouse Button on the tab of the workspace showing the internal network. Select Show Enclosing Folder.