Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 03-07-2011, 10:27 PM webcam control
Extreme Talker

Posts: 173
Trades: 0
I would like to use a webcam to take a picture of a product as it rolls off a production line. Rough estimate would be that the webcam would need to capture an image every 5 seconds.

The image would then be saved in a given file and the file name saved in mysql.

Does any one have any sample code are sites to look at?
dgkindy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-09-2011, 09:03 PM Re: webcam control
racer x's Avatar
Ultra Talker

Posts: 457
Name: Randy
Location: Northern Wisconsin
Trades: 0
Why would the file have to be stored in a database?

Usually, webcams are tied in to the ftp and are set to update a certain image at certain intervals. Therefore, all you have to do is code the image url in the html and each time the image is changed it updates.

I use a php time stamp after the image url (?) so that the image would not be cached. Something like images/webcam_image?-then insert time stamp here -> as date('U')
racer x is offline
Reply With Quote
View Public Profile Visit racer x's homepage!
 
Reply     « Reply to webcam control
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.05377 seconds with 12 queries