-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synthetic benchmark for Aruco/Charuco/chessboard detection #6
Synthetic benchmark for Aruco/Charuco/chessboard detection #6
Conversation
General notes:
|
return rvec, tvec | ||
|
||
|
||
def get_coord(num_rows, num_cols, start_x=0, start_y=0): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what coordinates? please rename.
self.cameraMatrix = np.eye(3, 3, dtype=np.float64) | ||
self.cameraMatrix[0, 0] = img_size[0] | ||
self.cameraMatrix[1, 1] = img_size[0] | ||
self.cameraMatrix[0, 2] = img_size[0] / 2 | ||
self.cameraMatrix[1, 2] = img_size[0] / 2 | ||
self.distCoeffs = np.zeros((4, 1), np.float64) | ||
self.distCoeffs[0] = -0.5012997 | ||
self.distCoeffs[1] = -0.50116057 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I propose to run the camera parameters from file, e.g. xml generated by calibration.
print(folder) | ||
print("detected", res[0]/res[1], "total", res[1], "distance", res[2]/max(res[1], 1), | ||
"detected", res[3]/res[4], "total", res[4], "distance", res[5]/max(res[4], 1),) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's format it as human-readable table.
General notes:
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Remaining items:
|
No description provided.