AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Code-Bibliothek Neuen Beitrag zur Code-Library hinzufügen Delphi einzelnes Bild von der Webcam machen
Thema durchsuchen
Ansicht
Themen-Optionen

einzelnes Bild von der Webcam machen

Ein Thema von smallsmoker · begonnen am 8. Okt 2008 · letzter Beitrag vom 8. Mai 2012
 
hathor
(Gast)

n/a Beiträge
 
#4

AW: einzelnes Bild von der Webcam machen

  Alt 6. Mai 2012, 14:53
Setting the Initial State

The Webcam service supports the Initial State partner. Initial state is used to configure:

Which camera to use, if more than one is supported.
Default is the first camera found.
What frame rate for capture.
Default is the highest supported by the camera.
What size frame to capture.
Default is the largest frame size supported at the highest frame rate.
The file in which to save captured frames.
The default is not to save captured frames.
The quality to save at.
Default is 0.

http://msdn.microsoft.com/en-us/library/bb483096.aspx

Delphi-Quellcode:
Procedure ConnectWebcam(WebcamIndex: integer);
begin
  CaptureWindow := capCreateCaptureWindowA('CaptureWindow', WS_CHILD or
    WS_DISABLED, 0, 0, 0, 0, GetDesktopWindow, 0);
  isConnected := (CaptureWindow <> 0) and
    (SendMessage(CaptureWindow, WM_CAP_DRIVER_CONNECT, WebcamIndex=HIERMUSSDEINECAMERASTEHEN, 0) <> 0)
end;

Geändert von hathor ( 6. Mai 2012 um 15:38 Uhr)
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:36 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz