PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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.
You have the ability to save this video sequence or a photo of this video sequence.

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".
  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.
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): 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
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.
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 version required
  • Version 9
This page is also available for…
Comments
Video Camera
https://youtu.be/02QKvPhX4Os
amarildo
18 Mar. 2019