Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run pipeline on test video #14

Closed
aryarm opened this issue Oct 26, 2018 · 6 comments
Closed

run pipeline on test video #14

aryarm opened this issue Oct 26, 2018 · 6 comments
Assignees
Labels

Comments

@aryarm
Copy link
Member

aryarm commented Oct 26, 2018

see if you can just run the tracking part (no need to split)

potential issues: clear background

play around with matlab tracking settings to see whether we can improve tracking
ex: reduce number of times ants can disappear but still be tracked
ex: edit blob size threshold so that we can distinguish ants in the foreground (from the background)

@aryarm aryarm self-assigned this Oct 26, 2018
@mdonaldsonmatasci
Copy link
Member

Not bounding box but blob size threshold. Is the tracked object large enough to be an ant in the foreground?

@aryarm
Copy link
Member Author

aryarm commented Oct 26, 2018

ah ok I've fixed the issue above

@aryarm
Copy link
Member Author

aryarm commented Nov 2, 2018

test 1 results

ants seem to be tracked pretty well, even when they appear as small as in the test video.
in fact, matlab seems to be capable of tracking ants much smaller than this. it often mistakenly tracked the shadows of ants against the sides of the box (which are much smaller than the ants themselves)
unfortunately, ants underneath the bridge were also tracked

test 1 next steps and potential fixes

cropping out the bridge will prevent matlab from tracking the ant shadows
as for ants that travel underneath the bridge, perhaps we could teach matlab what the shape of the bridge is? that way, it could identify when an ant is in one of the "holes" in the bridge and thus, make a decision about whether that ant is on the bridge or underneath it? this might even be possible with python alone using opencv polyfill to outline the bridge. for example, if we have the locations of ants in every frame, we can ask how many times the ants appear in a hole and calculate some sort of ratio for hole / not-hole appearance. the ants that are actually on the bridge will have a much lower hole / not-hold ratio

@aryarm
Copy link
Member Author

aryarm commented Nov 9, 2018

new plan: test a single segment of the bridge and manually verify that counts are correct

@aryarm
Copy link
Member Author

aryarm commented Dec 11, 2018

other problems identified

  • pipeline missed ants that walked very fast
  • pipeline could not make full tracks for ants that meet
  • pipeline sometimes loses track of ants unexpectedly

@aryarm aryarm closed this as completed Apr 26, 2019
@aryarm
Copy link
Member Author

aryarm commented Apr 26, 2019

The work for this issue was continued in #18, so I'm closing it for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants