-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support for Loading Video file #6
Comments
It would be better if you at least post patches on gist ( https://gist.github.com/ ) and link them here. The standard way to contribute projects on github is to fork them ( http://help.github.com/fork-a-repo/ ). |
Thanks gionn, I am very new to this git stuff and did not know where to put it. ^^' |
Hey there, Indeed, I have manually change all the .m files according to the .diff file. Thank you in advance |
if you run the demo as usual matlab should ask you to open a videofile. any videofile supported by the matlab videoreader will work. :) |
Do you mean run the demo by launching run_tld.m in matlab? Also do I need the " Image acquisition toolbox" for make it work? |
yes, exactly. hmm... the matlab reference doesn't really say to which toolbox the video function belong. i only tested it on 2011b. maybe you have a outdated version? |
Yep R2010a But, strangely, when I launch run_tld, nobody ask me anything... May you send me your modified m file (or maybe your whole "TLD_opensource") ? sebastien.ballesta #at# isc.cnrs.fr |
I tried to apply the patch out of the programs rootfolder (the same in which run_TLD.m can be found), but i get some errors: marh@mypc:/zk00006-OpenTLD-8a6934d> patch -i tldvideofile.diff patching file img_get.m Hunk #1 FAILED at 18. 1 out of 1 hunk FAILED -- saving rejects to file img_get.m.rej patching file run_TLD.m patching file tldInitFirstFrame.m Hunk #1 FAILED at 22. 1 out of 1 hunk FAILED -- saving rejects to file tldInitFirstFrame.m.rej patching file tldInitSource.m patch unexpectedly ends in middle of line Hunk #1 FAILED at 16. 1 out of 1 hunk FAILED -- saving rejects to file tldInitSource.m.rej Any ideas? |
hmm.... maybe opentld has changed a little since i created the patch. regards On Tue, May 17, 2011 at 6:19 PM, marh
|
nice! i applied the changes manually, and it works beautifully. i just have to make sure to give it an approved file type, and it works great :). nice patch! |
Ghost is a deleted account now... Is there still code to load a video directly? |
I modified the example code to be able to load videofiles directly in Matlab.
Hope anyone else finds this helpful, so I include the diff here: https://gist.github.com/922938
The text was updated successfully, but these errors were encountered: