473,789 Members | 2,925 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Webcam - need a solution

MZ
Hello,
I have a webcam connected to the Internet.
I can access the current static picture of the camera using an url link. It
shows the picture with high resolution 1600x1200.

I would like to have a batch program which will do what follows every some
amount of time:
1. save the picture automatically on my local computer (which will be always
running)
2. lower the resolution of the saved picture
3. store it on the FTP in a particular folder.

Is it possible at all?

BR
Mike
Aug 1 '08 #1
7 1831

MZ schreef:
Hello,
I have a webcam connected to the Internet.
I can access the current static picture of the camera using an url link. It
shows the picture with high resolution 1600x1200.

I would like to have a batch program which will do what follows every some
amount of time:
1. save the picture automatically on my local computer (which will be always
running)
2. lower the resolution of the saved picture
3. store it on the FTP in a particular folder.

Is it possible at all?

BR
Mike

Surely that is possible, but Clientside JavaScript is a poor choice as
language for such a task.
Try a serverside solution, eg PHP, Perl, Java, Python, etc.
(Well, you can even use JavaScript as serverside language.)
Serverside makes things a lot easier for you: eg having libs at hand
that resample the picture.

Regards,
Erwin Moller
--
=============== =============
Erwin Moller
Now dropping all postings from googlegroups.
Why? http://improve-usenet.org/
=============== =============
Aug 1 '08 #2
MZ wrote:
[...]
I would like to have a batch program which will do what follows every some
amount of time:
1. save the picture automatically on my local computer (which will be always
running)
2. lower the resolution of the saved picture
3. store it on the FTP in a particular folder.

Is it possible at all?
It is certainly possible, but an ECMAScript implementation would not be my
first choice of language for doing it.
PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
Aug 1 '08 #3
MZ
>>
>
Surely that is possible, but Clientside JavaScript is a poor choice as
language for such a task.
Try a serverside solution, eg PHP, Perl, Java, Python, etc.
(Well, you can even use JavaScript as serverside language.)
Serverside makes things a lot easier for you: eg having libs at hand that
resample the picture.

Regards,
Erwin Moller
Javascript on the serverside means I can do it on the webpage? Would be
great!
Could you point me out some functions in javascript so I can get the idea
how to do it?

Thanks in advance
BR
Mike
Aug 1 '08 #4

MZ schreef:
>Surely that is possible, but Clientside JavaScript is a poor choice as
language for such a task.
Try a serverside solution, eg PHP, Perl, Java, Python, etc.
(Well, you can even use JavaScript as serverside language.)
Serverside makes things a lot easier for you: eg having libs at hand that
resample the picture.

Regards,
Erwin Moller

Javascript on the serverside means I can do it on the webpage? Would be
great!
Hi,

I am not sure we understand each other.
I advised you to use a serverside language for the task (which COULD be
JavaScript, but this is really rare. PHP makes much more sense and
hosting is easy found.)

What you mean by using it on the webpage is not clear to me.
EVERYTHING on your webpage comes from a server (unless you are browsing
local files).

Could you point me out some functions in javascript so I can get the idea
how to do it?
I wouldn't advise you to use Javascript for this task.
You must learn a serverside language.

Hope this is clearer now. ;-)

Regards,
Erwin Moller
>
Thanks in advance
BR
Mike


--
=============== =============
Erwin Moller
Now dropping all postings from googlegroups.
Why? http://improve-usenet.org/
=============== =============
Aug 1 '08 #5
MZ
Hope this is clearer now. ;-)
>
Regards,
Erwin Moller
Yes, it is clear now.
I don't like PHP so I was googling for a solution in javascript.
I would like to have a script which will dynamically create the gallery html
file when the file is opened.
And I have found a prety simple solution.
Please take a look at
http://www.softpedia.com/get/Interne...-Gallery.shtml
JavaScript gallery by Consoriana.
It enumerates the small thumbnail files put it into a table with hyperlinks
to the bigger files and gives you a nice gallery preview with next/previous
in each folder.
This is more or less what I am looking for and it works great!

However I need to modify it a bit.
Can you advise me what to change so I do not need to be dependent of the
file names?
I would like to store a different filenames in folders and I would like to
make it as universal as I can.

I think if we figure out a solution it can be usefull not only for me.
So any help apreciated!

BR
Mike
Aug 6 '08 #6
MZ wrote:
I don't like PHP so I was googling for a solution in javascript.
You did not made a reasonable design decision. While there is no
"javascript " to begin with, chances are much greater that server-side PHP is
supported than that client-side JS and the host-provided interfaces it
relies on is. And ECMAScript implementations like JavaScript or JScript can
also be used server-side. (PHP can also be used client-side, but chances
are low that it is supported in a HTML UA.)
I would like to have a script which will dynamically create the gallery html
file when the file is opened.
Server-side PHP can accomplish this.
And I have found a prety simple solution.
But of course not a good one.
Please take a look at
http://www.softpedia.com/get/Interne...-Gallery.shtml
JavaScript gallery by Consoriana.
[x] done

Especially "No scripting language needed such as PHP and ASP" is hilarious.
What do they think JS are anyway? Markup languages?
[...]
This is more or less what I am looking for and it works great!
You are in no position to assess the quality of this code. However, in this
case neither am I, because all attempts to download it result in a broken
ZIP archive that contains only images and no script files. (And no, I did
not use a download manager and I tried both download locations.)
However I need to modify it a bit.
Can you advise me what to change so I do not need to be dependent of the
file names?
You do not expect anyone knowledgeable here to wade through this code in
their free time for free, even if it was possible, do you? RTFM or ask the
author instead; or get a minimum clue, stop using it, and start using better
code (maybe your own).
I would like to store a different filenames in folders and I would like to
make it as universal as I can.
Good luck.
I think if we figure out a solution it can be usefull not only for me.
You mean there is anyone knowledgeable here appreciating this supposed
reinvention of Wheel 0.7.5 (unstable), given the available alternatives?
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Aug 6 '08 #7
Thomas 'PointedEars' Lahn wrote:
MZ wrote:
>Please take a look at
http://www.softpedia.com/get/Interne...-Gallery.shtml
JavaScript gallery by Consoriana.

[x] done

Especially "No scripting language needed such as PHP and ASP" is hilarious.
What do they think JS are anyway? Markup languages?
>[...]
This is more or less what I am looking for and it works great!

You are in no position to assess the quality of this code. However, in this
case neither am I, because all attempts to download it result in a broken
ZIP archive that contains only images and no script files. (And no, I did
not use a download manager and I tried both download locations.)
Finally, the download worked. A strange thing, though. However, my
suspicions about this script have been confirmed. It is junk, for several
reasons, the least of which are undeclared variables all over the place.
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Aug 6 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
12010
by: Joakim Rylander | last post by:
Hi all, I need to create a public booth where people can look at themselves in a webcam and snap a picture which will be seen on a webpage. The backend is easy, it's the webcam part that I have problems with... Could you recommend the best way to capture a Webcam picture from .NET? Do I need device specific drivers or is there a standardized way to do it? Any recommended brand of Webcam?
0
2238
by: Elp | last post by:
Hi, We have developped an client application in C#. Among other things, this application should display in 4 different windows (or 4 different panels in the same window), 4 webcam streams (web streaming) from different webcams. We would like to set up a Webcam server on which we would connect several webcams (at least 12) and stream the output of each webcam on the web. That way, our client application could choose which webcam streams...
0
2052
by: Steve | last post by:
Hi Can anyone please tell me how to use a webcam on a form. I have done an app that uses a webcam, but I have used the drivers for that webcam. Now I need to use a different camera on a different site and obviously will have to reprogram for those drivers. Is there a generic webcam control that can be used I will only be using USB cameras
10
13807
by: aceto | last post by:
Hi. I'm sorry for my bad english, but it's not my motherlanguage. I need to read data from a webcam and display the images on DOS . So, how can i show this images? i have to translate the data received to a bitmap, to display it on the screen in DOS, mut i don't know how to do....can u give me some help or piece of advices? Thank you very much! Mark
1
2908
by: Mamatha | last post by:
Hi, I have a video capturing with motion detection application in C#.NET.In that application i detected all resources i.e video source and audion source thourgh motion detection,now i want to capture that live video into wmv file.Now i want help from you in the case of how can we detect the video from control like a picture,i used Videopanel control. If a method detect video from control without from webcam,i will be safe.Please give me...
2
4147
by: =?Utf-8?B?d29vZHliZWFy?= | last post by:
I just bought a new Dell, so I'm sorry if this is a stupid question. There is a built-in webcam. Im using the disc provided by Dell (Dell Webcam Software), however during the installation, a pop-up window says to make sure the webcam USB cable is connected to the computer. What does this mean? The webcam is already build-in to the computer? This is preventing the installation of the software. Thank you for you help
1
2597
by: Fleets422 | last post by:
Hi, new kid on the block... Hope I am posting this in the proper forum as it involves HTML, JAVA as well as PHP. A little background... I have been writing PC apps using Borland's C++ Builder for many years and have written a couple WebCam utilities for my model airplane club. My utilities handle all the tasks of acquiring the images, FTPing them to the web site and handling via FTP image renaming replacing etc. What I don't know what I am...
5
2952
by: frakie | last post by:
Hi there, I need a simple and stupid few line source code to access my webcam. I found lots of huge projects (c++ c and other) which are so big that they are impossible to be used. Does somebody know how to manage a webcam from it's basic functions? Where can i find a SIMPLE, VERY SIMPLE example project? Doesn't matter the what is the OS or the language, i just need it is easy portable source code...
2
2340
by: Craig | last post by:
We are trying to create an inhouse ID card system. What we would like to do is to have a webcam feed displayed in a webpage and for a user to be able to click a button to save the currently displayed feed as a jpg (on the local pc which will be uploaded to the server). Currently we are using the webcams own image capture software outside of our web app but this is not proving to be a very successful solution. Does anyone have any...
0
9666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9984
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5418
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3701
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.