Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

warpPerspective With two cams

Hello to all, I'm here to ask for advice. I have two cams that resume the same thing. A cam has a filter that only passes light ir. The other cam is a normal cam that does not pass the light ir. I use this last cam (normal cam) to detect four balls (The four balls are projected onto a wall). These four balls are the vertices of a rectangle. When I find these four points I calculate the matrix H and apply findHomography() to fix the perspective. I would like to calculate this matrix H also for the IR cam but it cant see these 4 balls. How can I calculate matrix H for this new cam? I know the distance to which the two cams are placed Can anybody give me some advice?