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:
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): The Camera control
[ + ] Using the "Web Camera" control to:
- Select the device used
- Capture a video broadcasted by a Web Camera
- Save an image broadcasted by a Web Camera
Minimum version required
  • Version 9
This page is also available for…
Comments
Câmera control read barcode and qrcode
Add control câmera
??
Description
Alter
Read codebar qrcode
All codes
Ok
In code control câmera
Exist return
Info (bc..content)
Close

Zxing is very obsolete
Not use
Exist control câmera ??
Ajust by support ad@pcsoft.fr
Boller
03 Oct. 2024

Last update: 06/22/2023

Send a report | Local help