def detected_objects(img, detections):
    """Here we make a list of 
    all the objects detected in the image"""
    detected_objects = []
    for i in range(len(detections)):
        detected_objects.append(detections[i]['name'])
    return detected_objects
