Git Product home page Git Product logo

multi_objective_surveillance_system's Introduction

Conda (Recommended)

# Tensorflow CPU
conda env create -f conda-cpu.yml
conda activate yolov4-cpu

# Tensorflow GPU
conda env create -f conda-gpu.yml
conda activate yolov4-gpu

Pip

(TensorFlow 2 packages require a pip version >19.0.)

TensorFlow CPU

pip install -r requirements.txt

TensorFlow GPU

pip install -r requirements-gpu.txt

Convert darknet weights to tensorflow model

python save_model.py --model yolov4

Run yolov4 deep sort object tracker on video

python object_tracker.py --video ./data/video/test.mp4 --output ./outputs/demo.avi --model yolov4

Run yolov4 deep sort object tracker on webcam (set video flag to 0)

python object_tracker.py --video 0 --output ./outputs/webcam.avi --model yolov4

save yolov4-tiny model

python save_model.py --weights ./data/yolov4-tiny.weights --output ./checkpoints/yolov4-tiny-416 --model yolov4 --tiny

Run yolov4-tiny object tracker

python object_tracker.py --weights ./checkpoints/yolov4-tiny-416 --model yolov4 --video ./data/video/test.mp4 --output ./outputs/tiny.avi --tiny

Run image registration object tracking

python image_registration_object_tracking.py --reference_images outputs\tracking_4\reference --video .\outputs\tracking_4\sample_video.mp4 --output .\outputs\tracking_4\output_video.mp4 --thresold 0.38 --output_frames .\outputs\tracking_4\output_frames_1\

multi_objective_surveillance_system's People

Contributors

max-keviv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.