Skip to content

tolgakurtuluss/running-assistant-opencv-yolo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

🏃 Building an AI Running Assistant using OpenCV, YOLOv2, and OpenWeatherMap

This project aims to develop an AI Running Assistant that provides recommendations for optimum walking/running conditions. The solution includes three main steps: counting the number of people on the walking trail using OpenCV and YOLOv2, retrieving weather data using OpenWeatherMap, and deciding whether or not to go out for a walk/run based on the gathered data.

Open in colab

To solve the problem of whether or not to go out for a walk/run, the project uses a pre-trained "lightweight" model known for its speed and relative accuracy, YOLOv2 in Darkflow (the Tensorflow implementation of YOLO in Darknet), to count the number of people on the walking trail per minute. The model is used in conjunction with OpenCV to analyze the streaming video source of Bahcelievler Belediyesi Kuleli live webcam, which is accessible to everyone.

To gather weather data for the exact location of the park with the walking trail, OpenWeatherMap's one-time call API is used.

The final decision on whether or not to go for a walk/run is based on two main factors: the number of people per minute and the "live feeling" weather. If the people per minute is greater than 15 and the live feeling weather is less than 5°C, it is not recommended to walk/run.

Credits;

About

The project is aimed at building an AI Running Assistant to provide recommendations for optimal walking or running conditions using OpenCV, YOLOv2, and OpenWeatherMap.

Topics

Resources

Stars

Watchers

Forks