Sofwerx automated intrusion tracking repository
###In order for the person_detection.py script to work, a few things need to be checked.
-
python 2.7 installed
-
tensorflow installed/built
-
opencv installed/build
-
numpy installed
-
pandas installed
-
other dependencies at the top, to be imported, installed
-
Make sure you have the tensorflow models installed and protoc'd, such that you have the directory /tensorflow/models/research/object_detection/ essentially, cd / and then git clone https://github.com/tensorflow/models.git
-
the person_detection.py script is in that directory
-
https://github.com/sofwerx/assault-rifle-detection do this, but instead of the longgun_detection.py, use the person_detection.py
-
Inside the tf_files folder, create two folders: save_image and save_threat image then, you should be able to run the script
how to run:
python switch_n_type.py forw 0.5
### the number is the time in seconds, first arg can be either forw or back