- #1
assafMOCAP
- 2
- 0
Hi guys,
I am working on an computer vision project.
the project uses two cameras to triangulate an object in front of the cameras.
Express the object's location in 3d coordinates relative to the cameras.
From the software i can get two line equations.
The line equations are for lines going through the centers of the lens and the center of the object itself
1: a1x1+b1y1+c1=0
2: a2x2+b2y2+c2=0
Known parameters are the a1,a2,b1,b2,c1,c2
Also know is the relation between the two cameras (The Fundamental matrix 3X3)
Also, the object coordinates in 2d on a projection plane from each camera is known (i.e. x1,y1 and x2,y2 )
Sadly, the lines do not meet, so its also needed to calculate the shortest line that connects both lines and treat its middle as the object's center.
how to calculate a vector that originates from the middle of the two cameras, to the object.
I am working on an computer vision project.
the project uses two cameras to triangulate an object in front of the cameras.
Homework Statement
Express the object's location in 3d coordinates relative to the cameras.
Homework Equations
From the software i can get two line equations.
The line equations are for lines going through the centers of the lens and the center of the object itself
1: a1x1+b1y1+c1=0
2: a2x2+b2y2+c2=0
Known parameters are the a1,a2,b1,b2,c1,c2
Also know is the relation between the two cameras (The Fundamental matrix 3X3)
Also, the object coordinates in 2d on a projection plane from each camera is known (i.e. x1,y1 and x2,y2 )
Sadly, the lines do not meet, so its also needed to calculate the shortest line that connects both lines and treat its middle as the object's center.
The Attempt at a Solution
how to calculate a vector that originates from the middle of the two cameras, to the object.