Click here to Skip to main content
15,880,725 members
Articles / Artificial Intelligence / Machine Learning

Preparing Images for Object Detection With OpenCV and ImageAI

Rate me:
Please Sign up or sign in to vote.
5.00/5 (8 votes)
9 Jun 2020CPOL5 min read 20.4K   791   7  
In this article, we train our own custom model to detect if people are wearing hardhats.
Here we'll look at: Cleaning data, spliting our dataset in two (one for training the model, the other for validating our trained model), then when we have our training data, we annotate the images.

Views

Daily Counts

Downloads

Weekly Counts

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

License

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


Written By
Architect
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