Giter Club home page Giter Club logo

horse-tracker-cvlab's Introduction

Lab course Horse detection

Usage

Run python horsinaround.py with the following arguments:

usage: horsinaround.py [-h] [--skip [SKIP]] [--single] [--multiple]
                       [--mode [MODE]]
                       input output frames
  • skip should be the amount of frames you want to skip at the beginning at the video (defaults to 0).
  • --single should be passed without parameter if a single horse should be tracked
  • --multiple should be passed without parameter if multiple horses should be tracked
  • --mode is the horse detection mode. Can be one of tinyyolo, yolo and background
  • input is the input video file path
  • output is the path for the video output. The .avi extension will automatically be appended, so only the filename needs to be given here
  • frames is the amount of frames that should be processed. 0 to go to end of file

Dependencies

  • Global
    • libopencv-dev
    • python-opencv
  • Python (3.6.9)
    • tensorflow (1.6.0)
    • keras (2.1.5)
    • numpy
    • imutils
    • opencv-python
    • Pillow
    • matplotlib
    • h5py
    • cvutils
    • opencv-contrib-python (4.0.0.21)
    • progress
    • filterpy

Aufbau

cropper

  • takes a frame and gives back a cropped out part in the correct aspect ratio

smoother

  • takes x,y,h and gives back smoothed versions of them
  • uses the last 50 frames

reader

  • read
  • skipframes

detector

  • uses box detector
  • gives back box

tracker

writer

horsinaround

  • main
  • argparse

horse-tracker-cvlab's People

Contributors

jschiefner avatar theneedforsleep 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.