Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 166: | Line 166: | ||
Connect the camera via USB and run the script ''focus-snap.py'': |
Connect the camera via USB and run the script ''focus-snap.py'': |
||
python focus-snap.py |
python focus-snap.py |
||
β | It will display a live preview. If you want to change settings, close the window, press the Live View button on the camera (while it's still connected to USB) and you can change shooting settings. Put a short exposure time, like 1/250, 1/500, to avoid motion blur |
+ | It will display a live preview. If you want to change settings, close the window, press the Live View button on the camera (while it's still connected to USB) and you can change shooting settings. Put a short exposure time, like 1/250, 1/500, to avoid motion blur. |
Look at the title bar of the preview window. It should display "Looking for focus peak". Now point the camera at some object and rotate the focus ring. The object will be focused; turn the ring a bit farther, and the object will become blurred. The title bar will say "Focus peak found". Now turn the focus ring back ''sloooooooowly'' and camera will take a picture when the object will come back into focus. |
Look at the title bar of the preview window. It should display "Looking for focus peak". Now point the camera at some object and rotate the focus ring. The object will be focused; turn the ring a bit farther, and the object will become blurred. The title bar will say "Focus peak found". Now turn the focus ring back ''sloooooooowly'' and camera will take a picture when the object will come back into focus. |
||
β | |||
==How it works== |
==How it works== |
||
My implementation estimates the amount of focus on the live preview image, and takes a picture when it detects a peak (well, almost). |
My implementation estimates the amount of focus on the live preview image, and takes a picture when it detects a peak (well, almost). |