Webcam OpenCV Element

Modified on 2018/08/03 00:18 by Administrator — Categorized as: Base Elements, Elements, Monitoring

Summary

Element Icon Webcam OpenCV
Info
Category: Monitoring AddIn: Base Layer
Creator: OkazoLab Scope: Experiment
Owns Snippets: None Usage: Snippets

Properties

NameDescription                              ConstraintsTypeOn
runtime
change
Settings
Camera                         String         
Custom Settings
Resolution        Define the resolution of a captured video. The video frames can be scaled to any size in rendering, but choosing a larger resolution improves rendering quality with some cost in performance.                clSize         
Frame Rate        Define the framerate of video capturing, in frames per second                Int32         
Runtime Status
XAML Video Viewport        Returns a live XAML control that renders the captured video. The control can be used for data binding to the Content property of the XAML ContentControl element, e.g. . The ContentControl can be added to the status screen or to the GUI Layout element.                UIElem..         
Control
Is Enabled        If set to false the element is completely omitted when the experiment is run                Boolean         
Title        Title of the element                String         

Webcam Element is capable of capturing output of computer video devices, e.g. web-cameras, at the background of a running experiment. The captured video can be then rendered on the stimulus or status screen, using a custom XAML control. On the majority of modern computers a work of the element should not cause an impact on timing accuracy in an experiment, however, you should check timing accuracy on your setup, when the Webcam element is used.

Description

...

Snapshots

Snapshot 1

Snapshot 1

Snapshot 2

Snapshot 2

Practical Use

...

Technique 1

  1. Step 1
  2. Step 2
    ...
    === Technique 2 ===
  3. Step 1
  4. Step 2
    ...

     // Check the trial outcome. Result and RT just other user variables
    
    // insert code snippet here..
               
    ...
    == Notes ==
    ...
  5. Insert Notes here..
  6. Insert Notes here..