From 4cd3bfc5148172bae73f67cbb93ceb4edee566b8 Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Fri, 21 Feb 2020 13:25:41 -0600 Subject: [PATCH] fix error in run_detect --- run_detect.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/run_detect.py b/run_detect.py index 255cd4f..f01c88a 100755 --- a/run_detect.py +++ b/run_detect.py @@ -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