Analyze a Soccer game using Tensorflow Object Detection and OpenCV
The API provides pre-trained object detection models that have been trained on the COCO dataset. COCO dataset is a set of 90 commonly found objects. See image below of objects that are part of COCO dataset. In this case we care about classes -- persons and soccer ball which are both part of COCO dataset. The API also has a big set of models it supports. See table below for reference. The models have a trade off between speed and accuracy. Since I was interested in real time analysis, I chose SSDLite mobilenet v2. Once we identify the players using the object detection API, to predict which team they are in we can use OpenCV which is powerful library for image processing.
Feb-23-2020, 01:01:42 GMT