hi!
I am looking for a way to use my webcam in delphi, primary for grabbing a picture, by some reason I cannot use TWAIN drivers.
hi!
I am looking for a way to use my webcam in delphi, primary for grabbing a picture, by some reason I cannot use TWAIN drivers.
Hi,
Try these resources
http://sourceforge.net/projects/dspack/
or
http://msdn.microsoft.com/en-us/library/dd756879%28VS.85%29.aspx (sample code http://www.portugal-a-programar.org/forum/index.php/topic,4474.msg284375.html?PHPSESSID=7b25d5cf0cd5fcc39043d8c65741d077#msg284375 )
God bless you!
See this question on SO and my answer with some working code.
See if it works for you...
I was typing this in a comment to Trinidad's answer, but the message became to long.
2 years ago I've tried all of the Delphi solutions that I could find to grab video.
My requirements were:
To tell the truth, the overall results were disappointing. None of the solutions met all of the above the requirements.
DsPack scored the best on all points, but I could only make it work in Delphi7, until I found an "unofficial" port on this page: http://www.songbeamer.com/delphi/
Nowadays it works like a charm, in Delphi 2010.
I'm a very happy user, so let me take this opportunity to thank the creators of dsPack and Sebastian Zierer who ported the code to the modern Delphi's!
See http://www.bobswart.nl/coderageII/ for a video, and http://www.bobswart.nl/coderageII/source.zip for the source code of my Delphi webcam code that I've been using for years.