Download IQEYE Reference Manual

Transcript
13.2. HTTP Requests
13.2.1. Single JPEG Image
The simplest method to get a single frame of data is to use an http request to get an image. The basic URL
used to request a single JPEG image is:
http://<camera_ip>/now.jpg
This http request can be issued in a number of ways:
•
Using a browser.
•
Using WinInet calls on a Win32 platform. Please see http://msdn.microsoft.com and search for
WinInet for an overview of the provided functionality and interfaces.
•
Using PERL scripting. For talking over the web with Perl, the defacto standard is the LWP set of
modules. (LWP stands for "Library for WWW in Perl") Please see http://www.cpan.org/ for LWP
documentation and examples.
•
Using direct TCP connection requests
Regardless of the mechanism used to issue the http request, the camera will return the specified image as a
JPEG formatted response.
Page 143 of 190