Giter VIP home page Giter VIP logo

biotracker_lucaskanade_deprecated's Introduction

BioTracker Lucas-Kanade

biolk

How to use

Press CTRL + Mouse Click to add a new tracking point. To select an exisiting point, press SHIFT + Mouse Click (the point will be dotted then) and use a normal click to move this point to another position or press d to delete the point.

screenshot_20160326_132927

biotracker_lucaskanade_deprecated's People

Contributors

jutanke avatar nebw avatar walachey avatar timlandgraf avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar andi avatar Hai Nguyen avatar  avatar Tobias von Falkenhausen avatar  avatar

biotracker_lucaskanade_deprecated's Issues

add and serialize data flags for each trajectory position

the biologists need to encode behavior alongside the track. We could use a number of codes that the user can enter via the keyboard (for example numbers 1 to 9) and the trajectory to be serialized contains the characters (or better numbers) that were pressed with the respective frame number. '1' could represent the start of a behavior, and '2' the end.

Sliders cause crash

Windows build:
Using any of the two tracker specific sliders causes an instant crash.

Treat each point indivdually

Point status:
[ ACTIVE (only 1), INACTIVE (n-1), VALID, INVALID]
Invalid points -> Change color, maybe pause video (use options)
Show numbers for each point

[CTRL] click creates a new point
[SHIFT] makes a point active
[KEY] to force-set a point
normal click changes current ACTIVE point position

We must be able to delete specific points

Enable/Disable track

adjust size of circle according to window size

I find it hard to come up with an optimal window size. From looking at the video I know which region should be occupied. It'd be nice to update the circle diameter whenever the window size is changed.

invalid points outside image borders

after advancing the video I sometimes lose the point. zooming out revealed: point is invalid and outside image borders.

going back one frame (without tracking) and re-tracking the point yields a perfect position (object wasnt really moving much)

please investigate

simplify initialization of tracking points

this is what I did:

  1. open video
  2. open tracker
  3. ctrl + lmb

First tracking could not be recorded as some data must be initialized. Please try again.

  1. again ctrl + lmb

First tracking could not be recorded as some data must be initialized. Please try again.

  1. AGAIN ctrl + lmb

let's discuss here whether it should really take three clicks to init a point

;)

Dynamic window size for tracking

At the moment, a fixed window is given to LK to find the next point or to find an ideal point: however, this has the implication that the tracker works differently when videos with different resolutions are used. Id suggest to use an (user-)adaptive window size so that the algorithm works reasonably well with different video sizes and types.

setting a point doesn't work after a sequence of untracked frames

I tracked a point through a numer of frames, deactivated the tracking checkbox, seeked forward a few frames and wanted to set the new position of the object (by left-clicking) but the point won't show up.

As a workaround I skip one frame back and one forward again (with the tracking enabled) and the point appears again.

Disable tracking "removes" tracked points

When tracking is disabled, points disappear and do not reappear when tracking is enabled again. It should be possible to keep old tracking points when disabling tracking though. @timlandgraf Please elaborate what the best solution for the users would be here.

deleting a point works only after selecting an already selected point

After tracking a point through a number of frames it might happen that the user seeks back to delete possibly unwanted positions.

I experienced that deleting a point (by pressing "d") doesn't work on the currently active point unless I select it again (shift + left click).

program crash on video reload

when having tracked a few frames the program crashes on video reload:

void LucasKanadeTracker::updateCurrentPoints( ...

--> assert(positions.size() == m_trackedObjects.size());

frozen video and black screen

I encounter a weird bug that is often happening when i leave the tracker for like a minute or so.

note that I am running the tracker in a virtualbox

when I return from windows to the tracker and advance the video one frame the next frame is displayed correctly, the tracker finds a correct position, but then, for all following frames, nothing happens, the video is frozen.

when I click the play button the video area becomes black, the video control buttons switch to pause instead of play, etc, but the slider doesnt move. GUI is still responsive but no graphics content is displayed

when reloading the video, the tracker correctly displays previously found positions and everything works fine.

I tested moving the focus from VM window to some my browser in windows, wait for a short time and go back to the VM.

30 seconds: freezes (tested 2 times)
25 seconds: freezes (tested 4 times)
20 seconds: still works (tested 3 times)
15 seconds: stll works (tested 2 times)

all tests were consistent.

any idea?

tracking multiple points fails

I created two points (on the same frame)

tracker seems to properly track both points for only one frame, then second point gets lost

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.