GithubHelp home page GithubHelp logo

Support for Loading Video file about opentld HOT 11 OPEN

zk00006 avatar zk00006 commented on July 29, 2024
Support for Loading Video file

from opentld.

Comments (11)

gionn avatar gionn commented on July 29, 2024

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/ ).

from opentld.

 avatar commented on July 29, 2024

Thanks gionn, I am very new to this git stuff and did not know where to put it. ^^'

from opentld.

Sballest avatar Sballest commented on July 29, 2024

Hey there,
Could you explain a little bit more how to use your "patch"

Indeed, I have manually change all the .m files according to the .diff file.
And I don't know how to make the TLD able to read videos.

Thank you in advance

from opentld.

 avatar commented on July 29, 2024

if you run the demo as usual matlab should ask you to open a videofile. any videofile supported by the matlab videoreader will work. :)

from opentld.

Sballest avatar Sballest commented on July 29, 2024

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?

from opentld.

 avatar commented on July 29, 2024

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?

from opentld.

Sballest avatar Sballest commented on July 29, 2024

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

from opentld.

marh avatar marh commented on July 29, 2024

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?

from opentld.

 avatar commented on July 29, 2024

hmm.... maybe opentld has changed a little since i created the patch.
try applying the changes manually, it's just a couple of lines. :)

regards
Hideki

On Tue, May 17, 2011 at 6:19 PM, marh
[email protected]
wrote:

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?

Reply to this email directly or view it on GitHub:
#6 (comment)

from opentld.

stellamarie avatar stellamarie commented on July 29, 2024

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!

from opentld.

compiaffe avatar compiaffe commented on July 29, 2024

Ghost is a deleted account now... Is there still code to load a video directly?

from opentld.

Related Issues (20)

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.