|
|
|
|
|
Managing videos (broadcasted by a Web Camera) (prefix syntax)
To manage the camera preview stream currently being transmitted by the web camera installed on the current workstation, WINDEV provides: You have the ability to: - view the video transmitted by a Web camera.
- save an image from the transmitted video in an image file (BMP, JPEG, etc.).
- save a section of the transmitted video in a video file.
- ...
To handle the videos: - Create a window containing a Web Camera control.
- Display the description window for this field ("Description" option in the context menu).
- In this window, select the Web Camera to use.
Remark: It is also possible to specify the Web Camera to be used by programming (function <Camera>.SetDriver). - Through programming:
- Display the video sequence being transmitted by the Web camera specified in the Web Camera control (<Camera>.Display).
- Save (if necessary) the video currently transmitted by the specified Web camera as an image (BMP file) or as a video sequence (AVI file) with <Camera>.Capture.
- Modify (if necessary) the Web camera used (<Camera>.SetDriver).
- Configure (if necessary) the video capture driver (<Camera>.Configure).
- List (if necessary) the video capture drivers installed on the current computer (VideoListDriver).
- Return (if necessary) the status of the Web Camera control (<Camera>.Status).
- Stop displaying or saving a video sequence in the Web Camera control (<Camera>.Stop).
Remarks - When the window containing the Web Camera field is opened, the video preview stream from the associated Web Camera is automatically displayed.. In this case, there is no need to use <Camera>.Display.
- If no Web camera was associated with the Web Camera control, <Camera>.Display and/or <Camera>.Capture handle the video sequence transmitted by the default Web camera (on the current computer).
- To save the video currently transmitted by the specified Web camera as an image file, you can use:
Related Examples:
|
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).
|
|
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.
|
|
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
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|