Spaces:
Runtime error
Runtime error
Update app.py
Browse files38 unmodified lines39404142434438 unmodified lines# collect the results in the dictionary:textdic_easyocr = {}for idx in range(len(result)):x_coords = [point[0] for point in pred_coor]y_coords = [point[1] for point in pred_coor]center_x = sum(x_coords) / len(x_coords)38 unmodified lines3940414243444538 unmodified lines# collect the results in the dictionary:textdic_easyocr = {}for idx in range(len(result)):pred_coor = result[idx][0]x_coords = [point[0] for point in pred_coor]y_coords = [point[1] for point in pred_coor]center_x = sum(x_coords) / len(x_coords)
app.py+1