Grab image from webcam?

BlitzMax Forums/BlitzMax Beginners Area/Grab image from webcam?

QuickSilva(Posted 2009) [#1]
Is there a simple way to grab a still image (+ video possibly) from a webcam using BMax? I`ve had a quick look around in the archives but most of the things that I saw were a little over my head.

Any help would be greatly appreciated.

Jason.


degac(Posted 2009) [#2]
http://blitzbasic.com/codearcs/codearcs.php?code=1437

http://www.blitzbasic.com/codearcs/codearcs.php?code=1899 (based on Escapi 2.0)

http://www.blitzbasic.com/Community/posts.php?topic=66505

Win32 only (I think, I dont' know if anyone ported it on other platforms)


Brucey(Posted 2009) [#3]
If you wrap OpenCV, that should sort you out :-)


QuickSilva(Posted 2009) [#4]
Thanks for the links degac.

Brucey, is there any chance that in the future you could write a small tutorial on how to wrap things like this in BMax? I`m sure that it would prove most useful to many people here.

Jason.


*(Posted 2009) [#5]

Brucey, is there any chance that in the future you could write a small tutorial on how to wrap things like this in BMax? I`m sure that it would prove most useful to many people here.


second that

Also as they are ALL Win32 is there a way to do this cross platform


QuickSilva(Posted 2009) [#6]
OK I`ve had a little look at the Escapi 2.0 code but I`m really after something cross platform. Brucey, you mention OpenCV and that looks cross platform so that would be ideal trouble is I haven`t a clue as to how to wrap it. Could you help me out a little?

Jason.