Skip to content

Commit ca4903c

Browse files
author
Tyler Odenthal
committed
Added comments
1 parent 67ef9f4 commit ca4903c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

roboflow/util/prediction.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,10 @@ def create_prediction_group(json_response, image_path, prediction_type):
488488
"""
489489
prediction_list = []
490490

491+
# LOADING PHOTO TAKES TIME - PASS VARIABLES IF POSSIBLE
491492
image_loaded = Image.open(image_path)
492493
dimensions = image_loaded.size
494+
# LOADING PHOTO TAKES TIME - PASS VARIABLES IF POSSIBLE
493495

494496
if prediction_type in [OBJECT_DETECTION_MODEL, INSTANCE_SEGMENTATION_MODEL]:
495497
for prediction in json_response["predictions"]:

0 commit comments

Comments
 (0)