camera start - part-cw/lambdanative GitHub Wiki

(camera-start jpegfile)

camera-start launches the camera viewfinder and saves a photo taken to the specified file in jpeg format. The file is created atomically, so the application can use the existence and/or timestamp of the file to trigger actions.

Parameter Description
jpegfile filename of jpeg photo

Example

Example 1: Take a photo with the camera

(camera-start (string-append (system-directory) (system-pathseparator) "test.jpg"))