If you want to perform object detection in a static image file,
python yolo.py --image=True --image_path="folder/imagename.jpg"
If you want to perform object detection in a video,
python yolo.py --play_video=True --video_path='folder/video.mp4"
If you want to start the webcam and perform real-time object detection,
python yolo.py --webcam=True