This is the whole Code for Person Detection using Aerial surveillance for Human Rescue. In this you can count no of person in an Image or saved video or using webcam. If you are using python idle then first install opencv using command 'pip install opencv-python'. Then install tensorflow using 'pip install tensorflow'. Then install imutils using 'pip install imutils'. Then download coco.names,yolov3.cfg and project.py file. To download yolov3.weights click https://pjreddie.com/media/files/yolov3.weights and download. After downloading make sure that file coco.names should be names as coco, yolov3.cfg should be named as yolov3 and yolov3.weights should also be named as yolov3. You can run the whole program using any image or video.
ENJOY CODING