Open nishbo opened 1 month ago
I have recreated the same approach with a different dataset utilizing both Jarvis triangulation and a different one (https://github.com/CMGreenspon/NCams), both using OpenCV, but in a slightly different form:
I got the same shift, albeit smaller, possibly due to a larger number of cameras and slightly better quality of both cameras and triangulation. From here I will assume that this is a generic problem of the OpenCV methods of triangulation, please tell me if anyone has any better approaches or ideas on how to solve it for high-precision tracking of fingers.
We have noticed that the reprojection of some points is off when looking from the other cameras, e.g., when labeling the tip of the index finger (I am showing 3/4 cameras, the first two were labeled, the third one - reprojected): The calibrations showed errors <<1px, and the debug images look very good.
For testing, I have written my own script based on the reprojection methods in Jarvis, and I get the following: The red cross is the manual label on the image, green circles - reprojections involving the camera, blue circles - reprojections from a pair of other cameras, purple star - centroid of all of them. As you can see, it can be off by a significant distance, more than half a cm, and in reprojection terms, green circles (using the same camera) deviate from the point by ~5px (which is already a lot for self-repro), while blue ones by ~20px.
I will be looking further into this issue using a different reprojection method, but please advise if there is something I might have missed. I have attached a script that I wrote if you want to try it on some data that you have.