473,396 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

python and webcam??

Hi,
I'd like to know if is it possible to make python communicate with a
webcam. Of course, I think it is possible... but I don't know if there
is a specific module for this kind of work. Can anyone give me a council?

Thanks

Jul 18 '05 #1
5 8483
Mirco wrote:

Hi,
I'd like to know if is it possible to make python communicate with a
webcam. Of course, I think it is possible... but I don't know if there
is a specific module for this kind of work. Can anyone give me a council?


Depends a lot on the type of webcam, but in any case it's a pretty
safe bet that (a) it's possible, and (b) there is no *specific* module
for the task.

That said, there are things like PIL which could be of use in this area,
and at least one specific webcam package (probably using calldll to get
to the library for the device) that has been posted in the past.

-Peter
Jul 18 '05 #2
>
Try this...
http://videocapture.sourceforge.net/


Thanks all, I think this is enought for now :)

Jul 18 '05 #3

"Peter Hansen" <pe***@engcorp.com> schrieb im Newsbeitrag
news:3F***************@engcorp.com...
Mike Kier wrote:
Try this...
http://videocapture.sourceforge.net/


Ah, that's the one. Uses it's own .pyd actually, not calldll as I
thought.

Doesn't work with my webcam though. Might help if the OP could specify
what he has.

Works fine with my lowcost cam (AIPTEK 3M). USB Driver from AIPTEK
installed - no problems with VideoCapture. Have you tried the AMCAP.EXE in
folder AMCAP? This is not Pytthon but checks the same interface...

Kindly
Michael
Jul 18 '05 #4

"Peter Hansen" <pe***@engcorp.com> schrieb im Newsbeitrag
news:3F***************@engcorp.com...
Michael Peuser wrote:

"Peter Hansen" <pe***@engcorp.com> schrieb im Newsbeitrag
news:3F***************@engcorp.com...
Mike Kier wrote:
>

> Try this...
> http://videocapture.sourceforge.net/

Ah, that's the one. Uses it's own .pyd actually, not calldll as I
thought.

Doesn't work with my webcam though. Might help if the OP could specify what he has.


Works fine with my lowcost cam (AIPTEK 3M). USB Driver from AIPTEK
installed - no problems with VideoCapture. Have you tried the AMCAP.EXE in folder AMCAP? This is not Pytthon but checks the same interface...


No point trying. My webcam is an Axis Communications networked camera
which hooks up to Ethernet and responds via HTTP requests. :-)

I *think*, though I'm not certain, that the term "webcam" is still
generic enough that it doesn't automatically mean a particular
kind of camera that is always hooked up through USB and available
via the VideoCapture driver...

As far as I understand it he uses a standard DirectX (8.0) interface
"Device". It is only necessary to provide a proprietary driver which
supports this. Probably no chance for *very* legacy hardware....
Jul 18 '05 #5
Michael Peuser wrote:

As far as I understand it he uses a standard DirectX (8.0) interface
"Device". It is only necessary to provide a proprietary driver which
supports this. Probably no chance for *very* legacy hardware....


Cool... so it works well with perhaps "most" common webcams under
Windows (only). Not bad for a start. We can assume the OP is using
Windows then, unless he comes back with a big stick. <grin>

-Peter
Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kelowna | last post by:
Yes... Its a server os... i kno! i hav xp yea but tis system is for screwing with.. Im sure theres alot of ppl here tat kno tis stuff inside-out! im doing this for educational purposes so dont give...
0
by: Elp | last post by:
Hi, We have developped an client application in C#. Among other things, this application should display in 4 different windows (or 4 different panels in the same window), 4 webcam streams (web...
6
by: dfaber | last post by:
Hi, I have Logitech webcam and I need to grab images on Fedora Core 4 (not my favorite distro). Are there any python modules available for doing this? Any hints or suggestions would be welcome. ...
3
by: derek | last post by:
I m looking for help about python-sane, The follow sample code try to grab the image from the webcam through a /dev/video0 on linux, it works fine for the first 185 times, but it freeze the...
15
by: Thomas W | last post by:
How can I use python to find images that looks quite similar? Thought I'd scale the images down to 32x32 and convert it to use a standard palette of 256 colors then compare the result pixel for...
5
by: Synt4x | last post by:
I'm using VideoCapture in windows to obtain images from my webcam. The thing is, if i want to show a live video from my webcam i have to make an infinite loop and request an image everytime: ...
2
by: Synt4x | last post by:
I'm creating a webcam user interface (to control google earth through my webcam) and I still can't find a good example to how to control the mouse to "click and drag" (not just click and release)....
3
by: DillonCzerny | last post by:
Hello Many times I see a lot of people post webcam videos on google video or youtube. I wonder how do they record it from those people’s webcam? I have a fake webcam and I want to record some...
13
by: Berco Beute | last post by:
I've been trying to access my webcam using Python, but I failed miserably. The camera works fine under Ubuntu (using camora and skype), but I am unable to get WebCamSpy or libfg to access my...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.