how can i get the closest object distance that will be in focus ? - Script Writing - CHDK Forum

how can i get the closest object distance that will be in focus ?

  • 3 Replies
  • 3010 Views
Advertisements
Hi ,

So i wrote the script that will be able to go from the current object distance to a destination pre define distance .

that can you can easily use and get something like that:

https://www.youtube.com/watch?v=G6789G4gGg0


Is it possible somehow to "scan" a distance lets say from 0 to 5000 and mark the distance that 80% of the frame is in focus ?
basically i need just a function that call tell for a given distance if it is in focus.

I tried to search but did not find.

thanks,

Re: how can i get the closest object distance that will be in focus ?
« Reply #1 on: 06 / February / 2014, 13:24:52 »
In your script, set focus override to a very close value (I think 1mm should work).

Then, read what the focused value actually is (from the sensor or lens).


David

Ported :   A1200    SD940   G10    Powershot N    G16

Re: how can i get the closest object distance that will be in focus ?
« Reply #3 on: 06 / February / 2014, 16:22:38 »
Thanks will upload it soon.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal