Skip to content

Winter-1314/dataprivacy-team7-Privacy-Preserving-Sharing-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trimmer.py is the project file

Reconmended 16+gb RAM and a few cores 

commands to run code
python3 trimmer.py footage.mp4 color endtimestamp 

example command to run code 

    python ./trimmer.py 2024-04-17-06-30-02.mp4 red "2024-04-17-06-30-04"

    -filename acts as the start timestamp and the last arugment is the ending timestamp.
    -timestamps need to follow the same format as above with hyphens inbetween integers in         year-month-day-hour-minute-second format. 
    -this example input will return all frames between the start and stop timestamp with cars that are red

analysis.jpg is the current frame the model is viewing

Built with python3 and opencv If error occur try the pips below and if they continue consult the FastSAM setup guide

    pip install opencv-python 
    pip install torch 
    pip install numpy

Pre-traine models from: https://github.com/jitendrasb24/Car-Detection-OpenCV https://github.com/CASIA-IVA-Lab/FastSAM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages