Created by: Sonam Dargay
Collaborators: 1. Karma Samdrup 2. Rinchen 3. Suraj Mukhia 4. Tawmo
The security cameras installed in various places capture video footage. However the footage is automatically deleted after a certain period of time from the server due to limited storage capacity. Taking the scenario of College of Science and Technology (CST), with the current security system it is difficult to verify whether the person entering through the gate is an authorized individual or an intruder. It also requires human labor (security guards) to monitor and guard. It is also seen that guards tend to slack off on their duty usually falling asleep or not being diligently present on their post. This is one of the major setback in the current security system which can be easily taken advantage of by intruders.
Git Branch for Graphical User Interface(GUI): feature-gui
1. +cascades: for storing haar cascades 2. +dataset: for storing dataset 3. +trainer: for storing trainer.yml 4. +gui: for gui branch 5. --cst_ss_db: for database storage 6. -dataset.py: for creating dataset 7. -trainer.py: trainer code 8. -recogniser.py: recognise code
- Create virtual environment by installing virtualenv a. Instalation:
i. Linux: #python3 -m pip install --user virtualenv ii. windows: #py -m pip install --user virtualenv
b. Create virtual env:
i. Linux: #python3 -m virtualenv env ii. windows: #py -m virtualenv env
- Installing mysql:
#python -m pip install mysql-connector
- Installing tkinter
#sudo apt-get install python3-tk or #sudo apt-get install python3-tkinter
For Error
Traceback (most recent call last): File ".\trainer.py", line 7, in recognizer = cv2.face.LBP AttributeError: module 'cv2.cv2' has no attribute 'face'
You need to install opencv-contrib
#pip install opencv-contrib-pythonOR perform#sudo modprobe bcm2835-v4l2It should work after that.