Fix formatting change in http.py

This commit is contained in:
Nick Mowen 2022-01-13 18:34:45 -07:00
parent d26ce928a9
commit c7a414cfaa

View File

@ -396,13 +396,7 @@ def best(camera_name, label):
box_size = 300
box = best_object.get("box", (0, 0, box_size, box_size))
region = calculate_region(
best_frame.shape,
box[0],
box[1],
box[2],
box[3],
box_size,
multiplier=1.1,
best_frame.shape, box[0], box[1], box[2], box[3], box_size, multiplier=1.1,
)
best_frame = best_frame[region[1] : region[3], region[0] : region[2]]