GSoC2013OpenCVApplication

Version 17 (Gary Bradski, 2015-02-10 10:29 pm)

1 13 Gary Bradski
h1. GSoC OpenCV Application
2 1
3 1
h3. Org ID?
4 1
5 1
OpenCV
6 1
7 1
h3. Org name?
8 1
9 1
Open Source Computer Vision Library (OpenCV)
10 1
11 1
h3. Description?
12 1
13 2 Gary Bradski
The Open Source Computer Vision Library (OpenCV) is a comprehensive computer vision library and machine learning (over 2500 functions) written in C++ and C with additional Python and Java interfaces. It officially supports Linux, Mac OS, Windows, Android and iOS. OpenCV has specific optimizations for SSE instructions, CUDA and especially Tegra. 
14 2 Gary Bradski
15 4 Gary Bradski
OpenCV is now supported by a non-profit organization: OpenCV.org. It has an active user group of 55 thousand members and over 6M downloads. OpenCV has uses from gesture recognition, Android and iPhone vision apps on up to medical, robotics, mine safety and Google Streetview.
16 1
17 1
h3. URL?
18 1
19 5 Gary Bradski
http://opencv.org/
20 1
21 1
h3. License?
22 1
23 1
New and Simplified BSD
24 1
25 1
h3. Backup Admin?
26 1
27 1
Vadim.Pisarevsky
28 1
29 1
h3. Ideas Page?
30 1
31 5 Gary Bradski
http://code.opencv.org/projects/gsoc2013/wiki
32 1
33 1
h3. IRC channel?
34 1
35 1
<pre>
36 1
#opencv on freenode
37 1
</pre>
38 1
39 1
h3. Mailing list?
40 1
41 1
http://tech.groups.yahoo.com/group/OpenCV/
42 1
43 1
h3. Why participate?
44 1
45 1
OpenCV has several full time contractors working on robotic applications and another paid group working on CUDA. However, the scope of the library is much larger and GSoC interns were invaluable last year in addressing other critical areas:
46 1
47 1
* getting a solid port of OpenCV to iOS, 
48 1
* developing a QT based graphical interface, the old GUI was decidedly limited and stale
49 1
* creating an automatic interface to PASCAL VOC http://pascallin.ecs.soton.ac.uk/challenges/VOC/ (the main computer vision object recognition challenge) 
50 1
* coding up a long time winning classifier in PASCAL VOC: Latent SVM
51 1
* features and support for feature tracking
52 1
* A set of tutorials
53 1
* A set of python examples
54 1
55 1
All the above things were out of scope of the paid work and had substantial impact on OpenCV, especially making it work with Mobile. In addition, 3 of the interns are now regular contributors. 2 more are occasional contributors.
56 1
57 1
Thus, why we are applying: We want to bring in a new generation of contributors and also to fill out areas where to don't have active development. We hope to gain pretty much a repeat of last year: Filling out new areas, perhaps co-authoring new papers and getting new regular contributors.
58 1
59 1
h3. Past summer of code, If so, challenges?
60 1
61 15 Gary Bradski
veteran history
62 15 Gary Bradski
63 15 Gary Bradski
OpenCV has been involved in GSoC every year since 2010. The past idea pages are listed at the bottom of the current ideas list:
64 15 Gary Bradski
http://code.opencv.org/projects/opencv/wiki/GSoC_2014
65 15 Gary Bradski
66 15 Gary Bradski
We do surprisingly well to meeting our top objectives each year. We've only recently become systematic about listing contributions derived from GSoC (so some of the old ones are missed), but you can see them going all the way back in our change log:
67 15 Gary Bradski
http://code.opencv.org/projects/opencv/wiki/ChangeLog  Note that some major milestones such as Android and iOS port derived from GSoC.
68 15 Gary Bradski
69 15 Gary Bradski
Google has tended to grant us many slots, 14 last year (and we paid for a 15th slot … who begged us after reject, he turned out *very* well in computational photography). We get 1 to 3 dropouts every year. On the other hand, our proportion of super stars is ever greater, at 4 last year. 
70 15 Gary Bradski
71 15 Gary Bradski
I co-founded a company with one of my past GSoC students and sold that company to … Google. He's now a part of Google.
72 15 Gary Bradski
73 15 Gary Bradski
Our biggest challenge is students who look very good on paper but not in practice. They misrepresent their coding or project skills in particular. Those are most at risk of dropping or failing out. This year we are going to have some Google hangout coding interviews. Simple ones since even simple interviews can filter much of this out.
74 15 Gary Bradski
75 15 Gary Bradski
76 15 Gary Bradski
77 6 Gary Bradski
VETERAN HISTORY:
78 16 Gary Bradski
OpenCV (C++) has been involved in GSoC for 4 years now. It has been an amazing help to us. It generated our ports to Android, IOS and initialized our Python and Java interfaces.  It has vastly improved our sample code base and added some very key algorithms such as image denoising, image stitching and camera stabilization. A very popular addition (I use it every time I code) is a QT backend for viewing images. This came from GSOC 2010, Yannick Verdie.
79 16 Gary Bradski
80 17 Gary Bradski
GSOC 13 HIGHLIGHTS:
81 16 Gary Bradski
* Abidrahmank Did a great job on building out the OpenCV-Python interface. This is rock solid now.
82 16 Gary Bradski
* Oli Wilkie did great Android development example code
83 16 Gary Bradski
* Hilton Bristow did a great foundation and start to a fully compliant Matlab interface for OpenCV
84 16 Gary Bradski
* Di YangPb segmentation works and fairly fast
85 16 Gary Bradski
* Daniel Angelov Line Segment Detection. Maybe the most useful contribution this year.
86 16 Gary Bradski
* Juan Perez Rua, Shape context descriptor
87 16 Gary Bradski
* Ozan Tonkal 3D visualizer. We use this a lot
88 16 Gary Bradski
* Luise Bigorda Text detection in scenes. Great. 
89 16 Gary Bradski
* Antonella Cascitelli, long term tracking optical flow API.
90 16 Gary Bradski
91 16 Gary Bradski
92 16 Gary Bradski
Eduard Feicho and Charu Hans, have written detailed tutorials on how to add OpenCV to your iOS app, please, check http://docs.opencv.org/doc/tutorials/ios/table_of_content_ios/table_of_content_ios.html.
93 16 Gary Bradski
94 16 Gary Bradski
This is the biggest news in 2.4.4 - we've got full-featured OpenCV Java bindings on a desktop, not only Android! In fact you can use any JVM language, including functional Java or handy Groovy. Big thanks to Eric Christiansen for the contribution! Check the tutorial for details and code samples.
95 16 Gary Bradski
96 1
97 6 Gary Bradski
GSOC 12 HIGHLIGHTS:
98 6 Gary Bradski
An offical iOS port was added to OpenCV. Eduard Feicho and Charu Hans improved the port and created detailed tutorials on how to add OpenCV to an iOS app 
99 6 Gary Bradski
http://docs.opencv.org/doc/tutorials/ios/table_of_content_ios/table_of_content_ios.html
100 6 Gary Bradski
They made a cool tutorial for it:
101 6 Gary Bradski
gsoc2012:source:/ios/trunk/doc/CVPR2012_OpenCV4IOS_Tutorial.pdf
102 1
103 6 Gary Bradski
Python was a big success for '12. The interface was improved and the student, Alexander Mordvintsev, wrote several key code examples
104 6 Gary Bradski
https://github.com/Itseez/opencv/tree/master/samples/python2 
105 1
106 6 Gary Bradski
OpenCV has a lot of machine learning algorithms. Many people want to use these "out of the box", so in the course of working on new feature types for our cascade classifier, Attila Novak, pre-trained it on two new classes.  The algorithm is extensively used for frontal face, he added profile faces. And, silverware detectors (for a robot project): 
107 6 Gary Bradski
https://github.com/Itseez/opencv/tree/master/data/lbpcascades
108 1
109 6 Gary Bradski
People have been asking for better computational photography support. Victor Passichenko  implemented a non-local means denoising algorithm 
110 6 Gary Bradski
http://docs.opencv.org/trunk/modules/photo/doc/denoising.html
111 1
112 6 Gary Bradski
For movie effects and VR, we've been wanting a dense optical flow algorithm for a long time. Yuri Zemlyansky implemented "simple flow" (it's not so simple, but it is dense -- assigns motion vectors to every point in a reasonable way).
113 6 Gary Bradski
https://github.com/Itseez/opencv/tree/master/samples/cpp/simpleflow_demo.cpp
114 1
115 6 Gary Bradski
OpenCV has been dying for SLAM and SfM (basically 3D reconstruction code) for years. It's a hard project to get right, it's not in yet, but Srimalj made good progress and we'll probably combine this with Google's own libmv this year.
116 1
117 6 Gary Bradski
Finally, no one student, but we kicked off a tutorial section 2 years ago and many students have contributed since. We'd now like each student to end their work with a tutorial example of how to use what they coded ... which ensures that it actually does get used.  Tutorials have grown quite a bit and past students have continued to add tutorials:
118 6 Gary Bradski
http://docs.opencv.org/doc/tutorials/tutorials.html 
119 1
120 6 Gary Bradski
PASS/FAIL RATES
121 6 Gary Bradski
We were allocated 12 students, 10 passed. 
122 6 Gary Bradski
123 6 Gary Bradski
The failures were in: Active Appearance Models, and Fast Linear Program Solver.  Our library is computer vision and machine learning. Many things border on active research, many algorithms have complex mathematical underpinnings. Some students look capable of performing these tasks "on paper" and with code samples but simply aren't. 
124 6 Gary Bradski
125 6 Gary Bradski
Mentors try to help but sometimes the student just stops responding. Sometimes we suspect they have multiple jobs and may just be overwhelmed or have other priorities. We often have the best results from people who are pushing code at us well before the start and/or whose thesis area covers what we want implemented. We'll try to vet more closely based on these criteria, but we always seem to get about this rate of fall off.  
126 1
127 7 Gary Bradski
h3. Ideas page?
128 1
129 7 Gary Bradski
We have a page at http://code.opencv.org/projects/gsoc2013/wiki
130 1
131 1
+*Summary:*+
132 1
133 1
*Contact info:*
134 1
* Please provide:
135 1
** Your name
136 1
** A phone number
137 1
** An email address where we can reach you for daily communication.
138 1
*** If you have a website that discusses your research, work and/or coding, let us know.
139 1
140 1
*Requirements:*
141 1
142 1
* We are looking for people who have strong programming backgrounds, there is no time to "learn on the job".  
143 1
** Most of the positions will require advanced ability and experience in *C++* and/or *Python*. 
144 1
*** Exception might be for help working on the website itself
145 1
** Most of the projects require knowledge of computer vision techniques. If so, your application will not be accepted if you don't have such experience. These will be stated on the projects ideas page. 
146 1
147 1
Again, you must meet the requirements -- it is not enough to "want" to work on computer vision, we have limited time and so we need people who already have the necessary background. If you lack this background, spend the next year getting the background and apply then, we intend to be back for GSoC 2013.
148 1
149 1
Students will be expected to ''meet'' with their mentors by email, skype or google chat once a week and to twitter at least 2x/day on their current coding activities
150 1
151 1
*Sample Code:*
152 1
153 1
** With your application: *Please send in some sample code that you are proud of and are prepared to answer questions on.*
154 1
** If you have other useful skills such as experience with code optimization, or knowledge of SSE, MMX, CUDA or especially development experience on Android or iPhone let us know.
155 1
156 1
*Courses Taken:*
157 1
158 1
List the courses that you have taken in:
159 1
** Math
160 1
** Computer programming, especially:
161 1
** Programming languages
162 1
** Data structures
163 1
** Web programming
164 1
** Data base
165 1
** Computer vision
166 1
** Engineering
167 1
h2. Work Experience 
168 1
169 1
* List any work experience that you've had in 
170 1
** software development and/or in 
171 1
** computer vision.
172 1
173 1
*Open Source Experience:*
174 1
175 1
* If you have already contributed to other open source projects, please tell us what it was and when you did this.
176 1
177 1
*Which project you are interested in and and why you want to do it:*
178 1
179 1
* Please tell us which of the project ideas you are interested and why you want to work on that one.
180 1
* If you have your __own idea__, please describe it clearly and provide a timeline of progress towards that goal.
181 1
182 1
*References:*
183 1
184 1
* Please list 2 or 3 academic or programming work references.
185 1
186 1
h3. Mentor selection criterion?
187 1
188 8 Gary Bradski
1) All mentors but one are known developers of OpenCV. We also allow Professors to mentor since they have great experience in student-mentor interactions.
189 1
190 8 Gary Bradski
(2) All mentors have extensive computer vision AND coding background.
191 8 Gary Bradski
192 8 Gary Bradski
(3) All mentors are people who have had interns or students to manage, either in companies, academic settings or research groups. If we have a particularly high performing and social student, we would let them mentor also because they have recently seen things from the other side.
193 8 Gary Bradski
194 1
h3. Disappearing students?
195 1
196 1
* We will try to prevent this by having mentors keep regular contact via skype meetings 1/week, twitter and email, but if it happens:
197 1
* We will post the orphaned project to our user group and offer a some of the mentor compensation (~$200) to someone who completes the project.
198 11 Gary Bradski
* Something we've now learned, that we will "interview" potential students with a google hangout simple coding test. Most of our problems have been from students who represented to us that they could program but could not/had never done a project at all. We will now try to weed that out.
199 1
200 1
201 8 Gary Bradski
h3. Disappearing Mentors?
202 8 Gary Bradski
203 12 Gary Bradski
(1) We will have back up mentors on hand. We have a pool of mentors already who are busy and so don't want to promise to be mentors but who are willing to serve as a backup. 
204 12 Gary Bradski
-- Last year we had several such mentors who were not needed.
205 8 Gary Bradski
206 12 Gary Bradski
(2) The admins are the back up of last resort. Both of us have extensive mentoring experience, both have already mentored up to 3 GSoC students at a time.
207 8 Gary Bradski
208 1
h3. Steps for interaction?
209 1
210 13 Gary Bradski
These techniques were used in 2010 - 2013 and worked well, so we'll use them again:
211 1
212 13 Gary Bradski
Before the project, we will encourage them to post a detailed project plan to the user group (also socially committing them to complete).
213 13 Gary Bradski
We will set up a 2x daily twitter feed for all the summer's development projects.
214 1
215 13 Gary Bradski
We ask they put project results up on a youtube channel that will be posted to the large user group. This provides positive reinforcement and feedback.
216 1
217 13 Gary Bradski
We hope to set up projects with 3 goals: 
218 1
219 13 Gary Bradski
(1) Quick and turn around (within a few weeks they should have a baseline accomplishment), this will be followed by 
220 8 Gary Bradski
221 13 Gary Bradski
(2) the main, reasonable summer goal, but there will also be 
222 13 Gary Bradski
223 13 Gary Bradski
(3) a more comprehensive "stretch goal" that we will encourage them to complete, getting feedback and feature requests from the community.
224 13 Gary Bradski
225 13 Gary Bradski
For the more advanced projects, we try to write a paper with the students (in the past we have an ICCV, ACCV and CVPR submissions)
226 13 Gary Bradski
-- The best students may become interns at mentor's work places (which has happened 5 times now).
227 1
228 9 Gary Bradski
h3. Encourage students to keep contributing/stick to their projects.
229 9 Gary Bradski
230 14 Gary Bradski
Right after the project, the student can, almost always, still add documentation, tutorials, test code.
231 9 Gary Bradski
232 14 Gary Bradski
As above, for advanced projects, we like to see if we can publish joint papers together, a win-win for students and for us and a strong incentive for students to stay involved. Our ICCV paper "ORB: An efficient alternative to SIFT or SURF", is one such example -- highest cited paper from that whole conference.
233 9 Gary Bradski
234 14 Gary Bradski
In 2013, we also hired one student contributor for an independent internship by OpenCV itself. Since some money is coming in, we hope to do more of this.
235 1
236 14 Gary Bradski
These are often smaller side projects that can keep the student involved. 
237 1
238 14 Gary Bradski
For the medium to longer term:
239 14 Gary Bradski
OpenCV will be fully refactored into small, independent modules by summer coding season. This means it will be easier to add new modules.
240 14 Gary Bradski
One place we've seen this already is in the continued growth of the tutorial section where its easy for student's to do something bit sized.
241 9 Gary Bradski
242 14 Gary Bradski
OpenCV is now on GIT which, again, makes it easy to do minor (or extensive) submissions. But small tweaks are easier for students to keep contributing to. We now have many pull requests and many of these from former students, often when they show up in some new workplace.
243 14 Gary Bradski
244 14 Gary Bradski
The new thing from 2013 that worked well and will be continued is a  "Youtube blog". I think having their work publicly visible is a big reinforcement.
245 9 Gary Bradski
246 9 Gary Bradski
247 1
h3. New organization with someone to vouch for us?
248 1
249 1
No, we're an established org, 2010 and 2011.  Still, talk to Jean-Yves Bouguet "Jean-Yves Bouguet" <jyb atthat google>,  in the streetview group for a view.  Or talk to Sebastian Thrun "Sebastian Thrun" <thrun atthat google>, head of GoogleX who knows me (Gary Bradski) well. 
250 1
251 1
h3. Vouch for younger orgs?
252 1
253 9 Gary Bradski
zxing
254 9 Gary Bradski
255 1
----
256 10 Gary Bradski
257 10 Gary Bradski
"Back":http://code.opencv.org/projects/gsoc2013/wiki