first pip install tensorflow set the weights and input video directory paths in script.py run script.py