Re: Read info from webcam video [message #181886 is a reply to message #181882] |
Thu, 20 June 2013 23:44 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 6/20/2013 7:14 PM, Norman Peelman wrote:
> On 06/20/2013 09:23 AM, The Natural Philosopher wrote:
>> On 20/06/13 10:35, dandi(dot)box(at)gmail(dot)com wrote:
>>> I've a video Wi-Fi Cam.
>>>
>>> In the room there is a small light that can be flashing.
>>>
>>> Is there a way for read image using PHP pages and know is this light
>>> is flashing or not?
>>>
>>> Thanks
>> sure,. But an ardinio boards and profram it to sense the voltage across
>> te LED by attaching it to the camera, and send the result down a USB
>> portto a computer running linux, and then write a daemon on C to monitor
>> that and place the state in a temporary file or somewhere where PHP can
>> see it.
>>
>
>
> Ummm, really?!
>
>
>> Though quite why PHP is involved, its hard to say.
>>
>
> As long as he can grab the images from the cam via php (requires that
> the IP camera has an internal server) then it is quite easily done. As
> Jerry's response dictates. Examine the images looking for the tell-tale
> LED.
>
Actually it doesn't require a server on the camera - just an IP stream
he can connect to. Most IP cameras don't contain a server - they just
spit out packets. Of course, PTZ (Pan-Tilt-Zoom) cameras also accept
data from a controller, but again that's typically a stream (of which
there are several non-compatible formats).
Others can accept commands to do things like detect motion in various
zones on the camera (again a camera-specific command format) and similar
functions.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|