ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Camera control
  • 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 captured by a camera connected to the current computer.
  • AndroidiPhone/iPadIOS WidgetMac Catalyst view the video captured by the camera of an Android or iOS device.
  • AndroidiPhone/iPadIOS WidgetMac Catalyst read and decode the bar codes. For more details, see Camera control: decoding 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).

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 programmatically using the Camera functions.
Remark: These functions are also available with a prefix syntax. For more details, see Camera 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:
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help