Skip to content

IamPhytan/haar-cascade-creation

Repository files navigation

Haar Cascade Creation

Creation of custom Haar Cascade Classifiers

GitHub release GitHub Issues Downloads License

Motivation

This script downloads the data and creates the files needed for the training of your own Haar Cascade Classifiers with OpenCV.

This script is made for Python3 and is based on a tutorial made by @Sentdex.

Please refer to version 1.0.0 for a version without email notification.

Installation

The following steps explain how to configure the script before running it:

  1. Clone the repo: git clone https://github.com/IamPhytan/haar-cascade-creation.git
  2. Download the requirements (or create a virtualenv before) : pip3 install -r requirements.txt
  3. In wnids-image-net.txt, choose the WordNet Ids that will be used in your request to ImageNet. Insert them with appropriate keywords in wnids-request.txt.
  4. Create an e-mail address that will be used to send emails notifications through Python
  5. Edit the configuration file with your e-mail info and the email that will send notifications. Informations about SMTP E-mail servers can be found here
  6. Add your requests to the configuration_file. The keywords that are used in the request are those that have been inserted in wnids-request.txt
  7. Run script: python3 main.py

License

MIT