News for hackers. Stuff that matters.
Re:Source for Predator Object Tracking (OpenCV) by wladimir on Tuesday April 05, 2011 @01:13PM (#2411764)
He already released it, and once you release something under GPL you can't take it back. You can stop hosting it, but someone else is free to develop further on it.
Re:Source for Predator Object Tracking (OpenCV) by SandB0x on Tuesday April 05, 2011 @01:34PM (#2411855)
Even so, I'm not sure this is a polite thing to do. I think it would be nice to respect the author's wishes for the moment:

We have received hundreds of emails asking for the source code ranging from practitioners, students, researchers up to top companies. The range of proposed projects is exciting and it shows that TLD is ready to push the current technology forward. This shows that we have created something "bigger" than originally expected and therefore we are going to postpone the release of our source code until announced otherwise. Thank you for understanding.

http://info.ee.surrey.ac.uk/Personal/Z.Kalal/tld.html

However as most of the tracking code is in Matlab - i.e. you can't just port this to your phone - I don't think the author has a great deal to lose here. If someone wants to re-implement the algorithms they may well need his expertise. (Edit: Looking at the code in more detail SammoJ may well be right, and this paragraph may be wrong.)

In fact, Henrik Abelsson may have more to lose if this is seen as poor etiquette, but I'm speculating here.

Re:Source for Predator Object Tracking (OpenCV) by SammoJ on Tuesday April 05, 2011 @02:20PM (#2412072)
Translating MATLAB -> C isn't too bad and could be done without any domain knowledge. Just remember the pesky 1 start for MATLAB arrays... Having a quick glance through the code I haven't seen any major reliance on MATLAB built-ins. Also "most of the tracking code is in MATLAB" is false. The tracking builds upon the Lucas-Kanade tracker in lk.cpp which uses OpenCVs implementation. I'd estimate a couple of full days of work tops to re-write in C.

Qualifications: I have had to speed up (i.e. rewrite in C) a lot of complex MATLAB code.

Re:Source for Predator Object Tracking (OpenCV) by newhouseb on Tuesday April 05, 2011 @02:26PM (#2412091)
The fun part is converting all the Matlab functions that call LAPACK/BLAS into direct bindings to said libraries. That stuff is so dense (although I guess if you're used to it, it's not so bad).
Re:Source for Predator Object Tracking (OpenCV) by icandoitbetter on Tuesday April 05, 2011 @08:30PM (#2413412)
Is anyone seriously considering porting this to C? I'm thinking of doing this myself, as I'm really interested in applying the algorithm, but I don't have a lot of experience in this kind of thing.
Re:Source for Predator Object Tracking (OpenCV) by liuliu on Tuesday April 05, 2011 @08:52PM (#2413458)
I am thinking of porting his code to ccv (http://github.com/liuliu/ccv). Unfortunately, his code is released under GPLv2, and ccv is BSD licensed. I have sent email to him in order to obtain further permission.
Re:Source for Predator Object Tracking (OpenCV) by windsurfer on Tuesday April 05, 2011 @11:36PM (#2413817)
Could you release a GPLv2 CCV library for the time being?
Re:Source for Predator Object Tracking (OpenCV) by maak on Wednesday April 06, 2011 @03:53AM (#2414278)
I'm also looking into porting it (probably to c++)
Re:Source for Predator Object Tracking (OpenCV) by abelsson on Tuesday April 05, 2011 @04:43PM (#2412629)
I did think about the ethics of posting it or not, and yes, it is a difficult issue, but ultimately decided that since the original author had willfully licensed and distributed the source code under the GPL the choice to allow distribution of that version had already been made.
Re:Source for Predator Object Tracking (OpenCV) by helwr on Tuesday April 05, 2011 @05:11PM (#2412759)
Thanks, Henrik
Re:Source for Predator Object Tracking (OpenCV) by reemrevnivek on Tuesday April 05, 2011 @07:30PM (#2413240)
OK, so we've got abelsson, helwr, and Zdenek all aware of what's going on here. What happened?

helwr, how do you have instant notification of this stuff?

abelsson, how did you get the source code? Did you email him early, get the GPLv2'ed source, and he later thought better of it?

Zdenek Kalal/ekalic/zk00006, are you reading this somewhere? Do you know or support the actions of these guys?

Regardless of abelsson's right (legally and ethically) to do this, I'd like to know the circumstances of this release before I use something that the author doesn't want used.

Re:Source for Predator Object Tracking (OpenCV) by abelsson on Wednesday April 06, 2011 @02:14AM (#2414104)
I was more or less a random passerby. The source zip was posted on his website and I download the file because I found the project somewhat interesting and wanted to examine it. This was before he removed the link to the source.

I have been in communication with Zdenek Kalal this morning however and he has requested that I delete the github repo for the time being, which I agreed to do after hearing his reasoning. Though hopefully it'll be back up soon with an official repository - that seems to be his intention, so I am willing to be patient and wait for a bit for him to sort out and set up a real project.

Re:Source for Predator Object Tracking (OpenCV) by helwr on Wednesday April 06, 2011 @02:59AM (#2414184)
I picked up the original link on Google alert when Zdenek's Youtube video was at 90k views, posted on HN, day later it is at 267k and all over the web. The demo has the strongest wow factor I've seen since Thrun's talk: http://www.youtube.com/watch?v=TDqzyd7fDRc

I especially loved the excitement of Czechs: http://twitter.com/#search?q=Algoritmus%20%C4%8Desk%C3%A9ho%... Respekt!

And the source.. the source can be made better.

Re:Source for Predator Object Tracking (OpenCV) by mrleinad on Tuesday April 05, 2011 @10:52PM (#2413730)
Even so, I'm not sure this is a polite thing to do.

It was also not a polite thing to do to be selfish and remove the source code link and the GPLv2 message that it would be handed over to whomever asked for it.

Re:Source for Predator Object Tracking (OpenCV) by kragen on Tuesday April 05, 2011 @02:02PM (#2411995)
Thank you for posting that link! I didn't know the background.

You probably could get Octave running on rooted Android without too much pain.

Re:Source for Predator Object Tracking (OpenCV) by Tycho on Tuesday April 05, 2011 @01:33PM (#2411846)
My bet is this won't do what the video was showing. I'd love to be contradicted.
Re:Source for Predator Object Tracking (OpenCV) by elitrium on Wednesday April 06, 2011 @03:12AM (#2414210)
It does (works amazingly), why don't you download the compiled demo and see for yourself? =) -- http://info.ee.surrey.ac.uk/Personal/Z.Kalal/tld.html