2015-01-25 09:15:54 -0600 | commented answer | Tracking of object not accurate enough Still haven't received any constructive coding help unfortunately.. |
2015-01-23 14:08:45 -0600 | received badge | ● Enthusiast |
2015-01-20 04:20:55 -0600 | commented answer | Tracking of object not accurate enough Thanks for your answer. Your suggestions make sense. However, would you be able to help me further by providing example code of how you would use hierarchies, running some type of feature descriptor, using the ROI filtering etc. I am still pretty new to opencv and am struggling to find the right sources myself. Thanks! |
2015-01-19 03:16:33 -0600 | commented question | Tracking of object not accurate enough Thanks for your comment. Can you be a bit more specific? I.e. what do you suggest I implement? Thanks. |
2015-01-18 09:18:25 -0600 | received badge | ● Student (source) |
2015-01-18 08:47:56 -0600 | asked a question | Tracking of object not accurate enough In short, I am trying to track a fish in a 30min video (see screenshot below for an example). I set-up everything to tracking should be as easy as possible. I recorded a video with python with settings to create an almost blank video with only the fish having a dark shape.
I have written a script in python using opencv to track the fish using various methods including background subtraction, blurring, dilation, and tresholding. However, even with the very low bg noise videos I still can't track the fish 100% of the time without also tracking noise. Without background subtraction tracking of the fish is 100% but it also tracks some darker areas in the tank, and with background subtraction it somehow keeps on having trouble tracking the fish all the time but now doesn't track the background noise. I hope somebody with more experience on this can help me with this. I thought with the clear video it shouldn't be too hard to do. A section of the 30min video can be found at http://mudfooted.com/testvid.mov if you'd like to try and this is my latest script: (more) |