In “Deconstructing the Veo Observer Net Camera” I showed a simple program that uses the Veo SDK to grab a snapshot from the camera and store it in a JPG file. Since I posted this information I received numerous requests from people to help them to compile the software and make it work in their environment. I decided to change the tool slightly and post the binary for this updated tool. You can download it here: veo.zip (~ 150 KBytes)
The zip-file contains the veo.exe program plus all required DLLs. The source directory in the zip-file also contains the sources for the tool. A number of command line options are required to configure the snapshot tool. Most importantly the “-i” option will tell the tool where to find the Veo Observer Camera (IP-address or hostname of the camera).
Here are all options:
c:\tmp> veo.exe
Usage: veo -i <veo ip address> [-s <veo port> -u <veo user> -p <veo password>] <output file>
-i specifies the ip-address/hostname of the Veo Observer Camera
-s specifies the port-number for the Veo Observer Camera (default 1600)
-u allows to pass the username for camera access (default 'admin')
-p allows to specify the password for camera access (default 'password')
-v verbose
The output file will hold a 640x480 JPEG snapshot from the camera after successful execution.
If you have questions/comments, please contact tobias-at-kahunaburger.com
c:\tmp>
So, if your Veo is configured for IP-address 192.168.1.200 and you changed the username to “veo” with password “secret”, you would use the following command to get a snapshot in file “snapshot.jpg”:
c:\> veo.exe -i 192.168.1.200 -u veo -p secret snapshot.jpg
Update 6/16/2004: Werner Kraemer is using the executable above to capture images from his Veo camera on a regular basis. Those images then end up for friends/family on his personal web site. He sent the following email to me with some details on how to enhance the qualiy of the Veo snapshots:
Hi Tobias,
I have in the meantime installed an ‘image sharpener’. This may be of interest to you and your website community:
With the image being captured at 640×480 I assume that that everyone agrees that the image is not of the best quality. Driven by this quality issue I looked for command line executable image sharpening routine which I found at www.imagemagick.com. They provide a FREE image manipulation system with many routines including sharpening. The input parameters are convolution kernel radius and sigma (full control over the resulting image sharpness).
With these imagemagick modules stored in the directory of the same name. I constructed a batch file ‘veo.bat’ and collocated it in the same directory (important since the dll references will work in that configuration)
Here are the steps executed in veo.bat:
1) c:\veo\veo.exe -i 192.168.1.103 -u admin -p password c:\a.jpg
I am calling your routine
2) convert.exe -sharpen 3×2 c:\a.jpg c:\a.jpg
then execute the convert routine from ImageMagick with the ’sharpen’
directive
3) convert.exe +raise 10×10 c:\a.jpg c:\a.jpg
and for a little trivia fanciness the image outline is framed
Then I went into the Windows XP scheduler (under the Accessories > Systems
Tools > Scheduled Tasks and generated a scheduled call to the veo.bat file every 10 minutes. On my website (hosted on my home computer) www.wormatia.com I can now display a reasonable looking image to my family in Germany overlooking the view from the back of my house overlooking the valley.
This view has its own problems since the sky is generally brighter than the lower foreground the camera’s imaging sensor saturates and yield a vertically btreaking image in bright sunlight. I will let you know of the results of my next project - designing an inexpensive gradient filter to minimize the sky effect.
I hope this was interesting enough to read.
Best Regards
Werner Kraemer
Thanks Werner!
Update 8/12/2004: Finally I have a perl module that allows capturing the images from the Veo Observer Network Camera on any platform. See this entry.
February 22nd 2004 Posted to
News