Distance to Center [closed]

asked 2020-03-12 04:09:34 -0600

alus gravatar image

Hello everyone,

I am trying to learn opencv python, digging into some online courses I found. But for my business needs I came along with a problem which I need to find the objects distance to vertical center point. I want to draw a vertical center line to the real time camera stream and as the object passing in front of the camera, I want to know how far is my ROI of the object to this center line. I would like to convert this pixel measurement to millimeters. I would be happy if someone provides useful code for this problem. Thanks in advance. Best Regards

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by LBerger
close date 2020-03-12 06:02:41.285128

Comments

1

If you want ready-made code for your needs, you should hire someone to write it. This is not code automat.

But as you are eager for learning... you need to divide the problem into parts: reading a camera stream, detecting objects, drawing lines... There are LOTS of documents, tutorials and examples of everything.

mvuori gravatar imagemvuori ( 2020-03-12 05:42:04 -0600 )edit
1

mvuori I am not asking for entire code either I am not asking you to answer. You keep your knowledge with you and don’t share with anyone. I hope someone would help for a solution. Take care you selfish boy.

alus gravatar imagealus ( 2020-03-12 05:47:03 -0600 )edit