| Printable Version of Topic
Click here to view this topic in its original format |
| Unofficial VirtualDub Support Forums > VirtualDub Filters and Filter Development > Color Tracking And Centering For Virtualdub |
| Posted by: videocrack Apr 21 2011, 10:40 PM |
| Hi all! as I've already indicated in another thread, I have programmed a tool for tracking and centering a single object of a specified color. You can download the software on my homepage http://videocrack.npage.de/ (go to centertracker -> download centertracker v1.2) I hope you can run the program without having to install additional Software (except for VirtualDub and AviSynth). If not plz let me know. Currently there's no documentation available but it should be self-explanatory for the most part. If you have questions plz ask and I'll try to help. Of course this is a new prog and therefore there may be bugs in it. Also, it's my first Windows program ever here are two sample videos: http://www.youtube.com/watch?v=2jJw7-Siles http://www.youtube.com/watch?v=OO9W_oJhUCQ the prog creates an AVS file which you have to run with VirtualDub. As this tool is mainly meant for centering objects there can still be shaking. But Deshaker will take care of that if needed! Cheers Stephan edit: here are two new videos made with the new centertracker version (will be available soon for d/l): ball stabilized: http://www.youtube.com/watch?v=nrUNPTSagJ4 helicopter stabilized: http://www.youtube.com/watch?v=Z7IFlxnp5Mw * just found out the 72 kB file doesn't run on other computers (need to include some dll) ... but I'm working on it. Gonna be a few MB in the end edit 2: solved. Upload 2morrow edit 3: uploaded (see link on top) edit 4: uploaded v1.3, tutorial video here: http://www.youtube.com/watch?v=4gFAKYaj_58 |
| Posted by: videocrack May 3 2011, 04:29 PM |
| the program now comes with contour tracking and object recognition: object recognition/ tracking video: http://www.youtube.com/watch?v=t4n5JxR77TA plz feel free to ask questions or report any bugs Cheers edit 10.05.11 be sure to d/l the http://videocrack.npage.de/get_file.php?id=16908017&vnr=158831 , now with full mouse control |
| Posted by: videocrack May 26 2011, 05:45 AM |
| just FYI. currently working on an additional option to stabilize on backgrounds. Besides object/ color/ contour tracking this will complete the software, of course finetuning of the stabilizer will need time. From the number of downloads I can see that there's a good interest in the software. Feedback is welcome. Cheers Stephan |
| Posted by: evropej May 26 2011, 04:47 PM |
| Nice work. I will give this a try tonight and see how well it works on videos from an airshow which deshaker has a had time deshaking. |
| Posted by: videocrack May 26 2011, 07:56 PM |
| if there are multiple planes in your vid centertracker may also have a hard time unless it is only one plane or one of the planes looks different in color/ shape. This is why I'm also trying to add a stabilize option to the program like in Deshaker. I've made some progress today but currently background stabilization is far from being as good as with Deshaker (the issue is the changing scenes). I've had some fruitful discussions with Gunnar and he gave me some useful hints. Also a number of other people provide useful info on the net. I can imagine numerous approaches to solve the prob ... only question is which one is best. Btw, if you use Deshaker sometimes it's good to run it several times. I had a helicopter where I ran it 5 times to enhance stabilization. Later on I also tried it with Centertracker with similar results. if you have any questions/ suggestions jlmk, thx for testing it! Cheers Stephan edit: cancelled stabilizing on background. Why invent the wheel anew? lol |
| Posted by: videocrack Dec 30 2011, 06:12 PM |
| there's now a new version available (scroll to bottom for newest version): http://videocrack.npage.de/get_file.php?id=19283355&vnr=900096 I've added a new tracking mode (brightness) and wing beat compensation for videos with a flying bird. Now it's also possible to limit the search area to reduce influence of noise and to speed up processing a bit. Here's a first example video (with lots of noise though, need a better camera with more pixels http://www.youtube.com/watch?v=YwuBHo4i2G4 wing beat compensation does not work for all phases of the bird flight. Especially when you see it from the side it's very difficult to program IF conditions that identify 'up' and 'down' correctly. I hope this tool is of use to people. Please let me know about bugs and suggestions are welcome also. *Next I plan to include a 'detect zoom' option for the template mode as the function cvMatchTemplate does not work properly if the object gets bigger or smaller. I had experimented with zoom and rotation before and in principle it works but the method I used for detection so far is VERY slow and often inaccurate due to 'noise'. So I'll attempt a different approach. Hopefully I'll figure something out Cheers Stephan * edit: just had an idea how to easily avoid this problem. Template matching should be rotation and zoom invariant and even invariant to small changes in version 1.6.1 which I'll upload soon. here's version 1.6.1: http://videocrack.npage.de/get_file.php?id=19317410&vnr=342363 example video: http://www.youtube.com/watch?v=bdws75OruAQ |