clone the repository using git clone https://github.com/c1ph3r-fsocitey/Apple_Detection
Download the testing data and yoloV3 file from this link
make sure to put the downloaded files in the same folder (Apple_Detection)
use the following command to run the program for image apple detection
python apple_detection_from_photo.py -i apple_tree_images_and_vids/apple-1.jpg -c yolov3.cfg -cl yolov3.txt -w yolov3.weights
use the following command to run the program for video apple detection
python apple_detection_from_video.py -v apple_tree_images_and_vids/apple_vid.mp4 -c yolov3.cfg -cl yolov3.txt -w yolov3.weights