/incident-manager

Intelligent Incident manager project with integration with slack and outlook

Primary LanguagePython

incident-manager

Note: This is for educational purposes only, this may not be efficient or bug-free. Also, this is just a demo on how JS and Python can be used to interact together

General Dependenices

  • Python
  • NodeJS
  • electron.js

Specific Dependencies

  • javascript module:

    • requests

    Usage

    • Clone the repo, and then
    • cd incident-manager
    • npm install electron
    • npm install bootstrap
    • npm install jquery
  • npm install python-shell

  • npm install path

  • pip install slackclient

  • pip install pandas

  • npm install popper

    • For running the application, 'npm start'

Face Recognition

Face Recognition using OpenCV in Python

Youtube Tutorial

https://youtu.be/h21wMKGs0qs

Prerequisites

Numpy
OpenCV

Note: Please install opencv-contrib-python package instead of opencv-contrib as it contains the main modules and also contrib modules.

Installing

Install Numpy via anaconda: conda install numpy

Install OpenCV via anaconda: conda install -c menpo opencv

Running the tests

Run Tester.py script on commandline to train recognizer on training images and also predict test_img:

python tester.py

1.Place some test images in TestImages folder that you want to predict in tester.py file
2.Place Images for training the classifier in trainingImages folder.If you want to train clasifier to recognize multiple people then add each persons folder in separate label markes as 0,1,2,etc and then add their names along with labels in tester.py/videoTester.py file in 'name' variable.
3.To generate test images for training classifier use videoimg.py file.
4.To do test run via tester.py give the path of image in test_img variable
5.Use "videoTester.py" script for predicting faces realtime via your webcam.(But ensure that you run tester.py first since it generates training.yml file that is being used in "videoTester.py" script.

Acknowledgments