Skip to content
Snippets Groups Projects
Commit 90c817ab authored by Zhaoliang Zheng's avatar Zhaoliang Zheng
Browse files

fix the bug

parent 5d9ac7e6
No related merge requests found
......@@ -19,8 +19,8 @@ if __name__ == "__main__":
#IP shown in the Serial monitor of Arduino code
# url='http://192.168.4.1/cam-hi.jpg'
# url='http://192.168.1.107/cam-hi.jpg'
url='http://192.168.4.1/cam-mid.jpg'
url = 'http://192.168.1.118/cam-hi.jpg'
url='http://192.168.4.1/cam-hi.jpg'
# url = 'http://192.168.1.118/cam-hi.jpg'
# cv2.namedWindow("live transmission", cv2.WINDOW_AUTOSIZE)
......@@ -57,8 +57,8 @@ if __name__ == "__main__":
fx, fy, cx, cy are given in Pixels in Computer Vision ( and openCV)
but e.g. in Photogrammetry you often use mm
"""
fx = 600
fy = 800
fx = 800
fy = 600
cx = 0
cy = 0
results = detector.detect(gray_image,estimate_tag_pose=True,camera_params=[fx, fy, cx, cy],tag_size=0.16)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment