PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • 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 the Android applications.
New in version 16
Android This control is now available for the Android applications.
Android This control is now available for the Android applications.
Versions 21 and later
iPhone/iPad This control is now available for 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.
New in version 21
iPhone/iPad This control is now available for 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.
iPhone/iPad This control is now available for 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. In the window editor, click (or select "Insert .. Control .. Camera control").On the "Creation" pane, in the "Graphic controls" group:
    • WINDEV expand "Video and Capture" and select "Camera".
    • WINDEV Mobile click "Camera".
  2. Click the position where the control will be created in the window. The control appears in creation mode.
To display the control characteristics, select "Description" from the popup menu of control.
The Camera control can be handled by programming via the Video functions. The Camera control can be handled by programming via the Camera functions.
Versions 23 and later
Note: These functions are also available with an object syntax. See Calendar functions (Object syntax) for more details.
New in version 23
Note: These functions are also available with an object syntax. See Calendar functions (Object syntax) for more details.
Note: These functions are also available with an object syntax. See Calendar functions (Object syntax) for more details.
Notes:
  • 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.
    Note: A Camera control that is using 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.
    Note: A Camera control that is using 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.
    Note: A Camera control that is using the DirectShow technology and a compatible Camera control should not be used in the same window.
  • Windows To retrieve an image broadcasted by a Camera, specify the video driver used ("General" tab in the description window of control). This driver can be defined by programming with ..Driver or with VideoSetDriver. Windows To retrieve an image broadcasted by a Camera, specify the video driver used ("General" tab in the description window of control). 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 is used to start taking the photo or recording the clip (then to stop it).
    New in version 17
    AndroidiPhone/iPad The click code on the Camera control is used to start taking the photo or recording the clip (then to stop it).
    AndroidiPhone/iPad The click code on the Camera control is used to start taking the photo or recording the clip (then to stop it).
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 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.
Android System Android (WINDEV Mobile): Android System
[ + ] This application is a tutorial example presenting some of the new features of WINDEV Mobile for Android.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- WIFI
- Bluetooth
- Toast
- Progress Bar control
- 9-image mode
- Compass
- Accelerometer
- Camera control
- LED
- Vibrations
- Notifications
- Drawing functions
- Internet
WD Video surveillance Complete examples (WINDEV): WD Video surveillance
[ + ] This example explains how to broadcast images coming from a Web camera via a network (Intranet, Internet).
The following topics are presented in this example:
1/ Web Camera control
2/ Using the Socket functions
3/ Using the Thread function
4/ Detecting movements
Summary of the example supplied with WINDEV:
This example is used to broadcast the images captured by a Web Camera via a network (Intranet, Internet)
This application groups the "Diffusion server" part and the "Monitor" part.
It allows you to:
- broadcast the images of the Web Camera
- select a "monitor"
- analyze the image to detect a movement. In this case, the relevant recipients (or "monitors") can be notified
- connect up to 8 different Web Cameras and enable the detection of movements
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment