PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview of the Camera control
  • Window control
  • Creating a Camera control in a WINDEV window
  • Viewing a video sequence
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview of the Camera control

Window control

The Camera control is used to:
  • Windows view the video sequence captured by a camera connected to the current computer.
  • Versions 16 and later
    AndroidiPhone/iPadIOS WidgetMac Catalyst view the video captured by the camera of an Android or iOS device.
    New in version 16
    AndroidiPhone/iPadIOS WidgetMac Catalyst view the video captured by the camera of an Android or iOS device.
    AndroidiPhone/iPadIOS WidgetMac Catalyst view the video captured by the camera of an Android or iOS device.
  • Versions 21 and later
    AndroidiPhone/iPadIOS WidgetMac Catalyst read and decode the bar codes. For more details, see Camera control: decoding the bar codes.
    New in version 21
    AndroidiPhone/iPadIOS WidgetMac Catalyst read and decode the bar codes. For more details, see Camera control: decoding the bar codes.
    AndroidiPhone/iPadIOS WidgetMac Catalyst read and decode the bar codes. For more details, see Camera control: decoding the bar codes.
You can save this video or save a video snapshot.
This help page presents the use of the Camera control in a WINDEV window. For WINDEV Mobile, see Camera control (mobile application).
Versions 16 and later
Android This control is now available for Android applications.
New in version 16
Android This control is now available for Android applications.
Android This control is now available for Android applications.
Versions 21 and later
AndroidiPhone/iPad The Video control can now decode bar codes in Android and iPhone/iPad applications.
New in version 21
AndroidiPhone/iPad The Video control can now decode bar codes in Android and iPhone/iPad applications.
AndroidiPhone/iPad The Video control can now decode bar codes in Android and iPhone/iPad applications.

Creating a Camera control in a WINDEV window

To create a Camera control:
  1. On the "Creation" tab, in the "Graphic controls" group, expand "Video and capture" and select "Camera".
  2. Click at the desired location to create the control. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu.
The Camera control can be handled through programming via the Camera functions.
Versions 23 and later
Remark: These functions are also available with a prefix syntax. For more details, see Calendar functions (Prefix syntax).
New in version 23
Remark: These functions are also available with a prefix syntax. For more details, see Calendar functions (Prefix syntax).
Remark: These functions are also available with a prefix syntax. For more details, see Calendar functions (Prefix syntax).
Remarks:
  • The Camera control operates with all the Windows versions, regardless of the driver installed, via the DirectShow technology. The behavior of the previous versions can be restored by selecting the "Use the former 'Video for Windows' APIs (compatibility)" option.
    Remark: A Camera control that uses the DirectShow technology and a compatible Camera control should not be used in the same window.
  • To retrieve an image transmitted by a Camera, specify the video driver used ("General" tab in the control description window). This driver can be defined programmatically with the Driver property or the CameraChangeDriver function.
Viewing a video sequence
Only the video being captured can be viewed in a Camera control.
To view:
Related Examples:
WD WebCam Complete examples (WINDEV): WD WebCam
[ + ] This example explains how to include a WebCam in a WINDEV application.
The following topics will be presented in this example:
1/ Camera control
2/ Use of the video functions

Summary of the example supplied with WINDEV:
This example explains how a WebCam can be included in a WINDEV window.
You have the ability to view the image captured by the camera, to perform an instant capture and to film the scene broadcasted as a Windows animation (AVI).
The Camera control Unit examples (WINDEV Mobile): The Camera control
[ + ] Using the Camera control in a WINDEV Mobile application.
The control is used to capture photos and videos.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment