Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions common/hal_interfaces/hal_interfaces/general/classnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ def __init__(self):
self.net = cv2.dnn.readNetFromTensorflow(FROZEN_GRAPH, PB_TXT)

def detect(self, img):
rows = img.shape[0]
cols = img.shape[1]
self.net.setInput(
cv2.dnn.blobFromImage(
img,
Expand All @@ -238,8 +236,6 @@ def detect(self, img):

# Get bounding boxes function
def getBoundingBoxes(self, img):
rows = img.shape[0]
cols = img.shape[1]
detections = self.detect(img)
bounding_boxes = []

Expand Down
1 change: 0 additions & 1 deletion exercises/follow_line/python_template/lap.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def __init__(self, pose3d):
# Function to check for threshold
# And incrementing the running time
def check_threshold(self):
pose3d = self.pose3d.getPose3d()

# Variable for pause
if self.pause_condition == False:
Expand Down