PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
This content has been translated automatically. Click here to view the French version.
  • Overview of Camera control
  • Window control
  • Creating a Camera control
  • Viewing a video sequence
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview of Camera control

Window control

The Camera control is used to:
  • Windows view the video sequence currently broadcasted by a camera connected to the current computer.
  • Windows Mobile view the video sequence currently broadcasted by the camera found on a mobile device ( Pocket PC or on a Smartphone).
  • Versions 16 and later
    AndroidiPhone/iPad view the video sequence currently broadcasted by the camera found on an Android device.
    New in version 16
    AndroidiPhone/iPad view the video sequence currently broadcasted by the camera found on an Android device.
    AndroidiPhone/iPad view the video sequence currently broadcasted by the camera found on an Android device.
  • Versions 21 and later
    AndroidiPhone/iPad read and decode the bar codes. See Camera control: decoding the bar codes for more details.
    New in version 21
    AndroidiPhone/iPad read and decode the bar codes. See Camera control: decoding the bar codes for more details.
    AndroidiPhone/iPad read and decode the bar codes. See Camera control: decoding the bar codes for more details.
You have the ability to save this video sequence or a photo of this video sequence.
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 be used to decode the bar codes in the Android applications and in the iPhone/iPad applications.
New in version 21
AndroidiPhone/iPad The Video control can now be used to decode the bar codes in the Android applications and in the iPhone/iPad applications.
AndroidiPhone/iPad The Video control can now be used to decode the bar codes in the Android applications and in the iPhone/iPad applications.

Creating a Camera control

To create a Camera control:
  1. On the "Creation" pane, in the "Graphic controls" group:
    • WINDEV expand "Video and Capture" and select "Camera".
    • WINDEV Mobile click "Camera".
  2. Click at the desired location to create the control. The control appears in the editor.
To view the control characteristics, select "Description" in the popup menu of the control.
The Camera control can be handled by programming via the Camera functions.
Versions 23 and later
Remark: These functions are also available with an prefixed syntax. See Calendar functions (Prefixed syntax) for more details.
New in version 23
Remark: These functions are also available with an prefixed syntax. See Calendar functions (Prefixed syntax) for more details.
Remark: These functions are also available with an prefixed syntax. See Calendar functions (Prefixed syntax) for more details.
Remarks:
  • Versions 19 and later
    WINDEV 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.
    New in version 19
    WINDEV 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.
    WINDEV 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.
  • Windows 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 by programming with ..Driver or with CameraChangeDriver.
  • AndroidiPhone/iPad A single Camera control can be used in a window.
  • Versions 17 and later
    AndroidiPhone/iPad When taking the photo:
    • the auto-focus is taken into account if it is enabled.
    • the orientation of the camera is taken into account for the final orientation of the photo.
    New in version 17
    AndroidiPhone/iPad When taking the photo:
    • the auto-focus is taken into account if it is enabled.
    • the orientation of the camera is taken into account for the final orientation of the photo.
    AndroidiPhone/iPad When taking the photo:
    • the auto-focus is taken into account if it is enabled.
    • the orientation of the camera is taken into account for the final orientation of the photo.
  • Versions 17 and later
    AndroidiPhone/iPad The click code on the Camera control allows you to trigger the photo capture or to start recording a clip (and to stop).
    New in version 17
    AndroidiPhone/iPad The click code on the Camera control allows you to trigger the photo capture or to start recording a clip (and to stop).
    AndroidiPhone/iPad The click code on the Camera control allows you to trigger the photo capture or to start recording a clip (and to stop).
Viewing a video sequence
Only the video sequence currently broadcasted 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.
The Camera functions Unit examples (WINDEV Mobile): The Camera functions
[ + ] Using the WLanguage "Camera" functions to start the native video camera application of the device in order to record a video or to take a photo.
Minimum version required
  • Version 9
This page is also available for…
Comments
Video Camera
https://youtu.be/02QKvPhX4Os
amarildo
18 Mar. 2019