Object detection with Artificial Intelligence (AI)

Jonathan Waka Simpungwe
2 min readJun 28, 2020

Object detection is a subfield of AI. Object detection algorithms identifies and tracks objects in videos or images. In AI, Object detection infers to the ability of a computer software to recognize an object in a video/image scene.

Application of Object detection In AI

  • Vehicle detection
  • Self-driving cars
  • Face recognition/detection
  • Counting systemes (crowd, pedestrians, fans etc)

I will give a step by step implementation of an object recognition algorithm.

PHASE 1

Install all the deep learning dependencies such as tensorflow-gpu==1.15.0 which are necessary for the implementation.

  • tensorflow-gpu==1.15.0
  • keras
  • imageai (2.0.2 ) etc

PHASE 2

We used the Yolo-tiny.h5 as the model type for a basketball rim scenario detection and obtained the following results:

Basketball detection with an accuracy of 99.99%

PHASE 3

We used the resnet50_coco_best_v2.0.1.h5 as the model type for a car traffic scenario detection and obtained the following results:

Car traffic detection scenario with the highest accuracy of 97.56 %

PHASE 4

We used the Yolo-tiny.h5 as the model type for a basketball scenario detection and obtained the following results:

Basketball detection scenario with an accuracy of 94.74 %

--

--