Delphi +网络摄像头 [英] Delphi + webcam
问题描述
由于某种原因,我无法使用TWAIN驱动程序,因此我正在寻找一种在delphi中使用网络摄像头(主要用于捕获图片)的方法.
I am looking for a way to use my webcam in delp primary for grabbing a picture, by some reason I cannot use TWAIN drivers.
推荐答案
尝试这些资源
DSPack是使用MS Direct Show和DirectX技术编写多媒体应用程序的一组组件和类. DSPack 2.3旨在与使用Delphi 5,6,7和BCB6的Win9X,ME,2000和Windows XP操作系统上的DirectX 9配合使用.
DSPack is a set of Components and class to write Multimedia Applications using MS Direct Show and DirectX technologies. DSPack 2.3 is designed to work with DirectX 9 on Win9X, ME, 2000, and Windows XP operating systems using Delphi 5,6,7 and BCB6.
或
capCreateCaptureWindow函数 (示例代码)
capCreateCaptureWindow函数创建一个捕获窗口.
The capCreateCaptureWindow function creates a capture window.
语法 C ++
Syntax C++
HWND VFWAPI capCreateCaptureWindow(
LPCTSTR lpszWindowName,
DWORD dwStyle,
int x,
int y,
int nWidth,
int nHeight,
HWND hWnd,
int nID
);
这篇关于Delphi +网络摄像头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!