Re: Read info from webcam video [message #181882 is a reply to message #181853] |
Thu, 20 June 2013 23:14 |
Norman Peelman
Messages: 126 Registered: September 2010
Karma:
|
Senior Member |
|
|
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.
--
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-
|
|
|