Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #9832

Re: Read info from webcam video

From Norman Peelman <npeelman@cfl.rr.com>
Newsgroups comp.lang.php
Subject Re: Read info from webcam video
Date 2013-06-20 19:08 -0400
Organization A noiseless patient Spider
Message-ID <kq01nu$uvb$1@dont-email.me> (permalink)
References <5e27f6e2-479b-466d-b819-910dbb58cfb5@googlegroups.com> <kpuutv$ptq$1@dont-email.me>

Show all headers | View raw


On 06/20/2013 09:14 AM, Jerry Stuckle wrote:
> On 6/20/2013 5:35 AM, dandi.box@gmail.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
>>
>
> As Peter said, not easily.  If this is an IP camera, you could connect
> to the camera and read the stream.  Depending on the format of the
> stream (i.e is it H.264?), you may have to decode it.  Then using the gd
> functions, isolate the area containing the light and determine the
> brightness of the pixels.  Repeat for multiple frames and compare the
> results.
>
> As I said - not easy.  It would be much easier to hook into whatever is
> triggering the flashing light and sense that.
>

   I kinda thought that most IP type cameras offered this type of 
operation onboard? I know my AXIS does...

-- 
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Read info from webcam video dandi.box@gmail.com - 2013-06-20 02:35 -0700
  Re: Read info from webcam video "Peter H. Coffin" <hellsop@ninehells.com> - 2013-06-20 07:30 -0500
  Re: Read info from webcam video Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-20 09:14 -0400
    Re: Read info from webcam video Norman Peelman <npeelman@cfl.rr.com> - 2013-06-20 19:08 -0400
      Re: Read info from webcam video Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-20 19:40 -0400
  Re: Read info from webcam video The Natural Philosopher <tnp@invalid.invalid> - 2013-06-20 14:23 +0100
    Re: Read info from webcam video Norman Peelman <npeelman@cfl.rr.com> - 2013-06-20 19:14 -0400
      Re: Read info from webcam video Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-20 19:44 -0400
      Re: Read info from webcam video "Peter H. Coffin" <hellsop@ninehells.com> - 2013-06-20 21:31 -0500
        Re: Read info from webcam video Norman Peelman <npeelman@cfl.rr.com> - 2013-06-21 06:14 -0400
          Re: Read info from webcam video "Peter H. Coffin" <hellsop@ninehells.com> - 2013-06-22 12:52 -0500
        Re: Read info from webcam video Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-21 10:53 -0400
    Re: Read info from webcam video Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-20 19:45 -0400
      Re: Read info from webcam video Denis McMahon <denismfmcmahon@gmail.com> - 2013-06-21 11:37 +0000
        Re: Read info from webcam video The Frog <Mr.frog.to.you@googlemail.com> - 2013-06-23 08:55 +1000

csiph-web