Commit 536e3a88 authored by Malte Schmitz's avatar Malte Schmitz
Browse files

Add comments

parent b72cd541
......@@ -45,8 +45,7 @@ greenUpper = (64, 255, 255)
#cv2.namedWindow('Depth')
cv2.namedWindow('Video')
cv2.namedWindow('Depth')
print('Press ESC in window to stop')
......@@ -106,7 +105,7 @@ def trackDepth():
print(target_x)
goto(target_x)
return video
return rgb #video or rgb(for depth)
def track():
# resize the frame, blur it, and convert it to the HSV
......@@ -153,7 +152,7 @@ def track():
while 1:
#cv2.imshow('Depth', get_depth())
cv2.imshow('Video', trackDepth())
#cv2.imshow('Depth', get_depth()) #Nur anzeigen
cv2.imshow('Depth', trackDepth())
if cv2.waitKey(10) == 27:
break
Markdown is supported
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