fix error in run_detect

video
Cole Deck 5 years ago
parent cbda6a6cab
commit 4cd3bfc514

@ -1,9 +1,7 @@
#!/usr/bin/python
import detect
import sort
import timeit
import cv2
import control_motor
import socket
import time
@ -28,8 +26,8 @@ def go():
break
if valid:
print("Found " + itema)
selectedBin = sort.sort(itema)
control_motor.goToBin(selectedBin)
#selectedBin = sort.sort(itema)
#control_motor.goToBin(selectedBin)
if not video:
elapsed_time = timeit.timeit(go, number=1)/1

Loading…
Cancel
Save