Click here to Skip to main content
15,917,795 members
Articles / Artificial Intelligence / Machine Learning

Custom Model Object Detection with OpenCV and ImageAI

Rate me:
Please Sign up or sign in to vote.
5.00/5 (12 votes)
11 Jun 2020CPOL4 min read 25.6K   309   18  
This article gives you a good starting point for your own object detection projects.
Here we'll look at using the trained model. We define our custom detection model, we create two detectors (one to detect all people, and one to detect people wearing hardhats), we compare the number of detections in each image to see if we caught someone not wearing a hardhat, and finally we briefly look at some other options ImageAI provides to improve the usability of the model.


Daily Counts


Weekly Counts

This article is part of the series 'Workplace Safety with OpenCV View All


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
United States United States
Hi! I'm a Solution Architect, planning and designing systems based in Denver, Colorado. I also occasionally develop web applications and games, as well as write. My blog has articles, tutorials and general thoughts based on more than twenty years of misadventures in IT.

Comments and Discussions