Giter VIP home page Giter VIP logo

daphtrack's Introduction

daphTrack

A simple thresholding and contour finding program I used for identifying and tracking daphnia and copepods in videos. The videos in the img folder are ones I took myself, and the additional markings added by the code are shown in the output folder. The multi_tracking file tracks multiple objects given HSV thresholds and contour size bounds (see output/copepods_resized.avi), while the single_tracking file does the same thing except for a single object and with the option to draw a trail behind the object (see output/trail_tiny_daphnia.avi).

SbSComp

Additionally, the velocity file tracks a single object and displays velocity vectors for the object in motion (components and resultant). It also optionally writes the x-y positions and times for the object to a text file. This text file may then be placed in the analysis folder and accessed via the plt_speeds file to display plots of position vs. time, speed vs. time, acceleration vs. time, and x and y velocity vs. time. An example of the x-y velocity plot is shown below.

xyVel

Notably, the videos in the output folder are resized to meet GitHub maximum file size requirements, and so the picture quality is lower than usual. All videos and their corresponding outputs can be found here in their original quality: https://www.dropbox.com/sh/m4zcdxxtna5e8ql/AADDuuqyNqDyJvgGp4dEO86Oa?dl=0.

In terms of equipment, I used a compound light microscope with a digital imager to take video, as well as a digital camera on macro settings. The copeopods and daphnia were collected from the Dufferin Marsh in Schomberg, ON.

Dependencies

daphtrack's People

Contributors

haydengunraj avatar

Stargazers

Alice de Sampaio Kalkuhl avatar

Watchers

James Cloos avatar  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.