Camshot is a unique command line utility that allows you to take pictures from the front or rear facing camera on a jailbroken iOS device. Camshot can be used in mobileterminal or over ssh. It was recently featured on the top jailbreak tweaks of July list in iDownloadblog’s video review.
Camshot is available free from the BigBoss repository on Cydia
Source code for this project can be found on github
Usage: camshot [-front|-back] output.jpg
Example: camshot -front test.jpg
We can use this in bash scripts as well. An example of using camshot is scripts is this one line bash script will take a photo every 3 seconds, 10 times
x=0;while [ “$x” -lt “10” ]; do let x=$x+1; camshot -front $x.jpg; sleep 3; done
Below is a video demonstrated by iDownloadblog of camshot in action.