1Sample snippets for programmatic camera usage. 2 3This directory contains sample snippets for your C/C++ program accessing 4cameras for various purposes. 5 6Files with helper routines: 7 autodetect.c: Auto detecting multiple cameras and initializing 8 specific cameras. 9 10 config.c: Querying and setting configuration values. 11 12 context.c: Handling of GPContext for error reporting and so on. 13 14 samples.h: Header file for above helper files. 15 16Files with samples: 17 sample-autodetect.c: Simple camera autodetection and simple API 18 calls. 19 20 sample-multi-detect.c: Same as above, but autodetect and use all 21 cameras. 22 23 sample-owner.c: Gets or Sets the Camera Owner. Demonstrates string 24 variable configuration handling. 25 26 sample-capture.c: Minimalistic remote capture sample. 27 28 sample-trigger-capture.c: New capture trigger and then loop example. 29 30 lunkwill-canon-capture.c: A simple capture program that captures 31 a single image, retrieves it to disk, 32 and removes it from the camera. 33 (Despite the Canon comments this likely 34 works on all capture cameras.) 35 36 preview.c: A sample preview loop, it will get 100 previews in 37 1 row as fast as possible. 38 39 40If you find a common thing to do missing, please report them (or do them 41yourselves and send patches). 42 43Please do not keep good sample code for yourself. 44 45Marcus Meissner <marcus@jet.franken.de> 46