Originally I used the '-t 0' option to raspistill so it would take a frame in about 1 second instead of 5 seconds, but that doesn't allow time for the exposure AGC to work. When the room light was on it was still OK, but with the light off, the image went completely black, even though the red LED display on the meter is always bright and is well visible in the images under any lighting taken without the '-t 0' option.
Example image from R-Pi wifi-cam (image is scaled down here)
Code: Select all
cd /home/pi/pics raspistill -vf -w 960 -h 448 -q 80 -o capture.jpg date | perl -0777 -pe 's/\n$//' | convert -size 345x30 -gravity South \ -background maroon -fill MistyRose4 label:@- date.png composite -gravity SouthWest date.png capture.jpg now.jpg /usr/bin/curl -T now.jpg ftp://mywebsite.com --user myusername:mypassword
Above: self-contained wifi webcam, just add power! Quick camera mount: camera vertical tilt angle is adjusted by slipping the flex cable forward or back under the 2nd rubber band