Distance to Center [closed]
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
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 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.