Open yichuan1998 opened 1 year ago
Hello, I'm not sure if you're still having this issue, but it's hard to diagnose from this alone. Could you post some sample videos to help debug? Thank you
Could you try with the latest version of aniposelib (0.6.0 as of this writing) ? Also, could you try with CharucoBoard(10, 7, ...) instead of CharucoBoard(7, 10, ...) to see if that works?
Hi, I am still having this issue. My code:
def cali():
vidnames = [[r'D:\my_work\Only_test\video\0\video_152122079464.mp4'],
[r'D:\my_work\Only_test\video\1\video_104422070017.mp4']]
cam_names = ['A', 'B']
n_cams = len(vidnames)
board = CharucoBoard(4, 5,
square_length=14, # here, in mm but any unit works
marker_length=10,
marker_bits=4, dict_size=50)
# the videos provided are fisheye, so we need the fisheye option
cgroup = CameraGroup.from_names(cam_names, fisheye=False)
cgroup.calibrate_videos(vidnames, board)
cgroup.dump('calibration.toml')
I'm sure the CharucoBoard parameters are right, here are my charuco board and the recorded videos. video_104422070017.zip
Hi, thanks for your great job. I followed the steps in aniposelib tutorial but got error: 0 boards detected. Could help me with that? Thanks!
vidnames = [['output0.avi'], ['output1.avi'], ['output2.avi']]
cam_names = ['A', 'B', 'C']
n_cams = len(vidnames)
board = CharucoBoard(7, 10, square_length=25, # here, in mm but any unit works marker_length=18.75, marker_bits=4, dict_size=50)
cgroup = CameraGroup.from_names(cam_names, fisheye=False) cgroup.calibrate_videos(vidnames, board) cgroup.dump('calibration.toml')