Ask Your Question
-1

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 -0600

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

Comments

1

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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

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

Raki gravatar image

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

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

Stats

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

Seen: 592 times

Last updated: Aug 03 '17