Skip to content
Snippets Groups Projects
Commit d675a81f authored by Zhiying Li's avatar Zhiying Li
Browse files

add #1 and #6 into AT_greenball code

parent 1e434876
No related merge requests found
......@@ -11,9 +11,8 @@ import cv2
if __name__ == "__main__":
url1 = 'http://192.168.0.230/cam-hi.jpg'
url2 = 'http://192.168.0.204/cam-hi.jpg'
url_AT = 'http://10.0.0.9/cam-hi.jpg' #6
url_gb = 'http://10.0.0.5/cam-hi.jpg' #1
tid,tx,ty,tz,rx,ry,rz = 0,0,0,0,0,0,0
......@@ -28,9 +27,9 @@ if __name__ == "__main__":
while True:
tid,tx,ty,tz,rx,ry,rz = get_AT_6DOF_info(url1)
tid,tx,ty,tz,rx,ry,rz = get_AT_6DOF_info(url_AT)
gbx, gby, gb_dist = ball_detection.detectLive(model, minDetectionScore, showSight = True)
# gbx, gby, gb_dist = ball_detection.detectLive(url_gb, model, minDetectionScore, showSight = True)
key=cv2.waitKey(5)
if key==ord('q'):
......
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