Detecting objects with the YOLO algorithm