Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Please Help! How can I get pixels information from the WebCam?

Author
Message
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 16th Sep 2010 16:01
Please Help! How can I get pixels information from the WebCam (every 1/8 sec. for example)???
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 16th Sep 2010 19:54
You should take a look to these projects by Balagrius, they have source code:

very cheap homemade webcam range finder (LIDAR) in DarkGDK

webcam programmed to 'see' through a cloth [DarkGDK]


It seems perfectly possible to obtain information from the webcam output.
Good luck

Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 16th Sep 2010 20:48
All of that posts useless. First use LIDAR instead of webcam. Second (ttp://rapidshare.com/files/188922128/invcloth.rar) expired!
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 17th Sep 2010 00:12
LIDAR USES a webcam...

[b]
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 17th Sep 2010 18:28 Edited at: 17th Sep 2010 19:11
Ups... That program all time save .jpg file, load .jpg anв after delete it. Stupid...
It's not a way!
haliop
User Banned
Posted: 17th Sep 2010 20:22
if you have a webcam opened, you need to "get" the current image or current frame.. no matter what you'll end up with , you will have to examine each frame alone, it dosent mean that you need to save or load the file.. but that maybe a quick temporary for calculation .

can you load the webcam from within the DarkGDK window , or another window while running DarkGDK?

what do you have so far?
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 17th Sep 2010 21:03 Edited at: 17th Sep 2010 21:13
All I need to know, how to get image from camera to use it...???
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 18th Sep 2010 13:10
http://msdn.microsoft.com/en-us/library/dd757692.aspx

AVICap is part of the windows API, documented there. You can get realtime video data in a very simple format using only those functions. (I have used this API in the past successfully)

[b]
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 20th Sep 2010 19:05
Thanks, but it little bit hard to understand what functions I need...
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 23rd Sep 2010 16:00
Please guys!

Login to post a reply

Server time is: 2024-07-02 08:39:11
Your offset time is: 2024-07-02 08:39:11