Closed bin851007 closed 2 years ago
Hi,
Calibration is the most difficult part to define in the code, because there are so many ways to do it, and so many ways it could go wrong. Hence, it is hard to tell you what's wrong in your calibration. As a consequence, if you have the chance to use a marker-based calibration, it's much easier to just convert it.
Can you tell me what your error is, so that I can see at what point it doesn't work? Did you follow closely these steps, and make sure your folder hierarchy follows what's needed?
An other usual issue occurs when the checkerboard is too small as regards to the image size (or too far from the camera): corner detection then doesn't work well so the calibration is wrong. Also, I would advise you to read and test the OpenCV tutorial, as my calibration code is closely based on it: https://docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.html
Moreover, only 2 cameras is the bare minimum for triangulation and you may not get good results. You'll have to make sure your person is correctly detected by OpenPose at all time by each camera. You will also need to change the minimum number of cameras for triangulation in your Config.toml file. To be fair, two cameras may be a little
I have try to put the images to calib-2d, and use "Pose2Sim.calibrateCams()" , but it doesn't work, output the empty list.
Dear Jack,
I realize I may need to make it clearer in the Readme:
Here, the code doesn't find any folder, so it believes there is no cameras and outputs a calibration file with no cameras.
Other options :
Copied issue to the new repository: https://github.com/perfanalytics/pose2sim/issues/4
Hello , I am currently using Pose2Sim tools but i have some problems that Cameras calibration uses to checkerboard , I will use two cameras to calibration with checkerboard , but i don't know how to use it . Can you give me tutorial video or more detail to me ? If you can help me I will so grateful for all your help.