auto focus function for JPG
This project received 7 bids from talented freelancers with an average bid price of $301 USD.Get free quotes for a project like this
Project Budget$30 - $250 USD
I need an auto focus function that inputs a JPG file and a X,Y coordinate. This coordinate tells what spot I want to focus on in the JPG image.
The function will output something like [positive value, 0, negative value] telling me which way I should change the current focus in order to achieve focus at X,Y of the JPG.
The output of a positive value means the camera needs to refocus forward by that much to achieve focus.
The output of a negative value means the camera needs to refocus backward by that amount to achieve focus.
The output of 0, means the X,Y coordinate is in focus.
The function will be called over and over many times, each time I will supply a new JPG and X,Y. The function will return those values above until it returns a 0 means stop because its now in focus.
This is the basic requirement, the function must be written in C language, and use something like libjpeg in order to process the JPG image.
I think there are several open source packages out there you can use, but it must not be too big since it will be ported to MAC and iOS (iPad, iPhone)
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online