Ask Your Question

Hello every one , i am currently working on a project in android i need to detect an object through phone camera and calculate distance between the camera and that object how should i do this,which libararies should i use and classes?

asked 2017-08-02 14:55:20 -0500

I am working on a project where i have to identify the distance between an object may be that can be a vehical and i have to count distance between the mobile and that object how should i do that?

edit retag flag offensive close merge delete



first, read this please.

(i think, your idea won't work ever, since you need to know the size, to calculate the distance.)

berak gravatar imageberak ( 2017-08-02 19:15:40 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-08-03 05:04:21 -0500

Raki gravatar image

updated 2017-08-03 05:05:17 -0500

If you have only one camera, you need to know the size of the object for sure. Take a look at this. That example estimates the distance to the detected object, given the object size. It is a good starting point for your project I believe.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-08-02 14:55:20 -0500

Seen: 497 times

Last updated: Aug 03 '17