auto focus function for JPG

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)

Skills: C Programming, Computer Graphics

See more: auto focus, what is a function in programming, what is a function in computer programming, programming for mac, order graphics, open source programming language, mac programming language, iphone programming language, focus programming language, focus camera, basic computer programming language, basic computer language, ios programming language, function in c++ programming, focus, auto forward, function order, computer graphics programming, basic language ios, function time, positive ipad, function ios, iphone ipad ios graphics, open function ipad, open function iphone

About the Employer:
( 6 reviews ) United States

Project ID: #4648211

5 freelancers are bidding on average $171 for this job


Image Processing Experts Here! Contact us for more information. SI Team.

$1030 USD in 21 days
(5 Reviews)

I can do this for you, please check PMB.

$100 USD in 5 days
(8 Reviews)

Hello sir...i am very much interested in this project.i have to do my best to get good positive feedback from [url removed, login to view] can believe to get good results from [url removed, login to view] give me one chance to prove. Thank u!

$221 USD in 5 days
(0 Reviews)

I'm an experienced programmer from a top university and working in a software company which is doing the content indexing for data files and images. My source code is almost ready. So reducing the delivery date to 2 d More

$177 USD in 3 days
(0 Reviews)

Ready to supply top quality solution.

$245 USD in 14 days
(0 Reviews)

I have 5 years of programming experience with C and C++ and 1 in graphics design. Please contact me for any additional information.

$83 USD in 3 days
(0 Reviews)

Please see PM.

$250 USD in 5 days
(2 Reviews)