Difference between revisions of "PHP Examples"
Line 6: | Line 6: | ||
==Configure the sensor and get a JPEG/JP4 image== | ==Configure the sensor and get a JPEG/JP4 image== | ||
[http://elphel.cvs.sourceforge.net/elphel/elphel353-7.1/packages/web/353/php_top/camera_demo.php?view=markup camera_demo.php] - This script is an example of how to reset / set sensor parameters and access download an image from the camera, this script can be accessed by a browser or automated with wget / curl running on the camera or on a remote PC. | [http://elphel.cvs.sourceforge.net/elphel/elphel353-7.1/packages/web/353/php_top/camera_demo.php?view=markup camera_demo.php] - This script is an example of how to reset / set sensor parameters and access download an image from the camera, this script can be accessed by a browser or automated with wget / curl running on the camera or on a remote PC. | ||
+ | |||
+ | ==Adjust white balance== | ||
+ | [http://elphel.cvs.sourceforge.net/elphel/elphel353-7.1/packages/web/353/php_top/whitebalance.php?view=markup whitebalance.php] - Demo script to automatically adjust white balance. | ||
==Get RAW image== | ==Get RAW image== |
Revision as of 13:57, 21 August 2008
This page list several PHP examples demonstrating Elphel camera capabilities.
All this examples are accessible on the camera's web server in the root directory, http://192.168.0.9/ if you have not changed the default address.
Contents
Set sensor parameters and get an image
Configure the sensor and get a JPEG/JP4 image
camera_demo.php - This script is an example of how to reset / set sensor parameters and access download an image from the camera, this script can be accessed by a browser or automated with wget / curl running on the camera or on a remote PC.
Adjust white balance
whitebalance.php - Demo script to automatically adjust white balance.
Get RAW image
raw.php - Run the compressor, acquire single frame and download an image.raw file.
GEO tagging
KML demo
kml.php - Example of KML live generation on the geotagged model of NC353L. Open this URL in Google Earth and you will see your position updated.