FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Read info from webcam video
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Read info from webcam video [message #181885 is a reply to message #181881] Thu, 20 June 2013 23:40 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 6/20/2013 7:08 PM, Norman Peelman wrote:
> On 06/20/2013 09:14 AM, Jerry Stuckle wrote:
>> On 6/20/2013 5:35 AM, 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
>>>
>>
>> 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...
>

It depends on the camera. Some do, some don't (more of the professional
ones like Axis do - consumer grade often do not). But then you also
need to know the command interface to the camera (which may or may not
be public).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: For loop not showing the entire array
Next Topic: deleted primary key can't be reused?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 22:14:32 GMT 2024

Total time taken to generate the page: 0.04299 seconds