6 rows · get_focus may also be used directly in an expression where its numerical value might fit. Enabling CHDK Manual Focus 1) Can CHDK manually focus with no changes to the Canon setting? To test this . If this works, you are done. 2) Does your camera natively support manual focus using the Canon menus? If so.. 3) Will your camera allow CHDK to manually focus only when it is Canon AFL. DISPLAY_MODE) == mode then return false else click "display" return true end end -- switch to autofocus mode, pre-focus, then go to manual focus mode function pre_focus local focused = false local try = 1 while not focused and try lt;= 5 do print ("Pre-focus attempt ".. try) press ("shoot_half") sleep () if get_prop (67) gt; 0 then focused = true set_aflock (1) end .
In manual focus mode, (Select MF, then mode) Up - Set MF to infinity Down - to set MF distance to hyperfocal distance (based on f/stop and zoom focal-length). Left - Decrease Value Factor, Right - Increase Value Factor. On the IXUS series the DISP. button is used to instantly set MF (manual focus) distance to infinity. set_aflock() causes the camera to focus and then lock the resulting focus setting such that it won't attempt to refocus on subsequent shots. set_mf() is used to enable Canon's built-in manual focus (MF) mode so that the set_focus() function will work. It's not needed for all cameras - the get_sd_over_modes() function can be used to figure it out for a specific camera. To set manual focus in a Canon PowerShot (point and shoot) camera*Both methods require CHDK installed on your cameraHow to install Chdk on your canon camera.
In manual focus mode - (with) Up – Set MF to infinity Down – to set MF distance to hyperfocal distance (based on f /stop and zoom focal-length). Left – Decrease Value Factor, Right – Increase Value Factor. Zoom-in / Zoom-out – can be assigned to manual focus in Main Menu Miscellaneous stuff. get_focus may also be used directly in an expression where its numerical value might fit: set_focus ((3 * get_focus) / 2) would set a new focus distance X farther than the current distance. LUA Syntax: set_focus(x) x=get_focus() Range: x = 0 to (millimeters) Many Canon PS cameras will focus using just the set_focus command. HAPPy CHDK Intervalometer. This script will configure your Canon camera to auto-focus, take a photo every x seconds and will also record the temperature of the lens, CCD and battery to a log file. The script can be run in Endless mode until the battery or storage space runs out. By Greg Lawler, based on work by Fraser McCrossan.
0コメント