GSoC2013OpenCVApplication

Version 21 (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 19 Gary Bradski
OpenCV is now supported by a non-profit organization: OpenCV.org. It has over 10M 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 20 Gary Bradski
h3. Tags?
18 20 Gary Bradski
19 20 Gary Bradski
OpenCV, Computer Vision, Machine Learning, Image Processing, Computational Photography, Fun
20 20 Gary Bradski
21 1
h3. URL?
22 1
23 5 Gary Bradski
http://opencv.org/
24 1
25 1
h3. License?
26 1
27 1
New and Simplified BSD
28 1
29 1
h3. Backup Admin?
30 1
31 1
Vadim.Pisarevsky
32 1
33 1
h3. Ideas Page?
34 1
35 5 Gary Bradski
http://code.opencv.org/projects/gsoc2013/wiki
36 1
37 1
h3. IRC channel?
38 1
39 1
<pre>
40 1
#opencv on freenode
41 1
</pre>
42 1
43 1
h3. Mailing list?
44 1
45 1
http://tech.groups.yahoo.com/group/OpenCV/
46 1
47 20 Gary Bradski
h3. Feed URL?
48 20 Gary Bradski
49 20 Gary Bradski
http://opencv.org/feed
50 20 Gary Bradski
51 20 Gary Bradski
h3. Google+?
52 20 Gary Bradski
53 20 Gary Bradski
https://plus.google.com/u/1/+OpencvOrg/posts
54 20 Gary Bradski
55 20 Gary Bradski
h3. Twitter?
56 20 Gary Bradski
57 20 Gary Bradski
https://twitter.com/opencvlibrary
58 20 Gary Bradski
59 20 Gary Bradski
h3. Blog?
60 20 Gary Bradski
61 20 Gary Bradski
http://opencv.org/
62 20 Gary Bradski
63 20 Gary Bradski
h3. Facebook?
64 20 Gary Bradski
65 20 Gary Bradski
https://www.facebook.com/opencvlibrary
66 20 Gary Bradski
67 1
h3. Why participate?
68 1
69 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:
70 1
71 1
* getting a solid port of OpenCV to iOS, 
72 1
* developing a QT based graphical interface, the old GUI was decidedly limited and stale
73 1
* creating an automatic interface to PASCAL VOC http://pascallin.ecs.soton.ac.uk/challenges/VOC/ (the main computer vision object recognition challenge) 
74 1
* coding up a long time winning classifier in PASCAL VOC: Latent SVM
75 1
* features and support for feature tracking
76 1
* A set of tutorials
77 1
* A set of python examples
78 1
79 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.
80 1
81 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.
82 1
83 21 Gary Bradski
h3. Vetran: Past summer of code, If so, challenges?
84 15 Gary Bradski
85 15 Gary Bradski
veteran history
86 15 Gary Bradski
87 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:
88 21 Gary Bradski
http://code.opencv.org/projects/opencv/wiki/GSoC_2015
89 15 Gary Bradski
90 21 Gary Bradski
We do surprisingly well to meeting our top objectives each year. Contributions are listed in our change log:
91 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.
92 15 Gary Bradski
93 21 Gary Bradski
I co-founded a company with one of my past GSoC students (Ethan Rublee) and sold that company to Google. He's now a part of Google! Project Replicant (robotics).
94 15 Gary Bradski
95 21 Gary Bradski
Google has tended to grant us many slots, 15 last year, all passed, see below.
96 15 Gary Bradski
97 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.
98 1
99 1
100 1
101 21 Gary Bradski
*VETERAN HISTORY:*
102 1
OpenCV (C++) has been involved in GSoC for 5 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.
103 1
104 21 Gary Bradski
*GSOC 14 HIGHLIGHTS:*
105 21 Gary Bradski
This was our most productive year ever. For a student to pass, they must complete an accepted Pull request to our repository. The code is now available in OpenCV. From the Change Log:
106 21 Gary Bradski
107 21 Gary Bradski
Our new release OpenCV 3.0 and its contribution repository feature a lot of new functionality created by our GSoC students last year, namely:
108 21 Gary Bradski
* Text detection and recognition by Lluis Gomez and Stefano Fabri
109 21 Gary Bradski
* HDR by Fedor Morozov
110 21 Gary Bradski
* Smart segmentation and edge-aware filters by Vitaly Lyudvichenko, Yuri Gitman, Alexander Shishkov and Alexander Mordvintsev
111 21 Gary Bradski
* Car detection using Waldboost, ACF by Vlad Shakhuro and Nikita Manovich
112 21 Gary Bradski
* TLD tracker and several common-use optimization algorithms by Alex Leontiev
113 21 Gary Bradski
* RGBD module by Vincent Rabaud and associated students
114 21 Gary Bradski
* Line Segment Detector by Daniel Angelov along with custom calibration
115 21 Gary Bradski
* Many useful Computational Photography algorithms by Siddharth Kherada
116 21 Gary Bradski
* Long-term tracking + saliency-based improvements (tracking module) by Antonella Cascitelli and Francesco Puja
117 21 Gary Bradski
* Another good pose estimation algorithm and the tutorial on pose estimation by Edgar Riba and Alexander Shishkov
118 21 Gary Bradski
* Line descriptors and matchers by Biagio Montesano and Manuele Tamburrano
119 21 Gary Bradski
120 21 Gary Bradski
*_2014 PASS/FAIL RATES_*
121 21 Gary Bradski
We had 15 students this year, all 15 passed (100% complete, a first!)
122 21 Gary Bradski
123 21 Gary Bradski
*GSOC 13 HIGHLIGHTS:*
124 16 Gary Bradski
* Abidrahmank Did a great job on building out the OpenCV-Python interface. This is rock solid now.
125 16 Gary Bradski
* Oli Wilkie did great Android development example code
126 1
* Hilton Bristow did a great foundation and start to a fully compliant Matlab interface for OpenCV
127 16 Gary Bradski
* Di YangPb segmentation works and fairly fast
128 16 Gary Bradski
* Daniel Angelov Line Segment Detection. Maybe the most useful contribution this year.
129 1
* Juan Perez Rua, Shape context descriptor
130 16 Gary Bradski
* Ozan Tonkal 3D visualizer. We use this a lot
131 16 Gary Bradski
* Luise Bigorda Text detection in scenes. Great. 
132 16 Gary Bradski
* Antonella Cascitelli, long term tracking optical flow API.
133 18 Gary Bradski
134 21 Gary Bradski
*_2013 PASS/FAIL RATES_*
135 16 Gary Bradski
We had 14 people this year (plus one more we paid ourselves) and failed 3.
136 1
137 6 Gary Bradski
138 21 Gary Bradski
*GSOC 12 HIGHLIGHTS:*
139 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 
140 6 Gary Bradski
http://docs.opencv.org/doc/tutorials/ios/table_of_content_ios/table_of_content_ios.html
141 6 Gary Bradski
They made a cool tutorial for it:
142 1
gsoc2012:source:/ios/trunk/doc/CVPR2012_OpenCV4IOS_Tutorial.pdf
143 6 Gary Bradski
144 6 Gary Bradski
Python was a big success for '12. The interface was improved and the student, Alexander Mordvintsev, wrote several key code examples
145 1
https://github.com/Itseez/opencv/tree/master/samples/python2 
146 6 Gary Bradski
147 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): 
148 1
https://github.com/Itseez/opencv/tree/master/data/lbpcascades
149 6 Gary Bradski
150 6 Gary Bradski
People have been asking for better computational photography support. Victor Passichenko  implemented a non-local means denoising algorithm 
151 1
http://docs.opencv.org/trunk/modules/photo/doc/denoising.html
152 1
153 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).
154 6 Gary Bradski
https://github.com/Itseez/opencv/tree/master/samples/cpp/simpleflow_demo.cpp
155 1
156 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.
157 1
158 1
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:
159 1
http://docs.opencv.org/doc/tutorials/tutorials.html 
160 6 Gary Bradski
161 21 Gary Bradski
_*2012 PASS/FAIL RATES*_
162 1
We were allocated 12 students, 10 passed. 
163 6 Gary Bradski
164 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. 
165 6 Gary Bradski
166 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.  
167 21 Gary Bradski
168 21 Gary Bradski
169 1
170 7 Gary Bradski
h3. Ideas page?
171 1
172 7 Gary Bradski
We have a page at http://code.opencv.org/projects/gsoc2013/wiki
173 1
174 1
+*Summary:*+
175 1
176 1
*Contact info:*
177 1
* Please provide:
178 1
** Your name
179 1
** A phone number
180 1
** An email address where we can reach you for daily communication.
181 1
*** If you have a website that discusses your research, work and/or coding, let us know.
182 1
183 1
*Requirements:*
184 1
185 1
* We are looking for people who have strong programming backgrounds, there is no time to "learn on the job".  
186 1
** Most of the positions will require advanced ability and experience in *C++* and/or *Python*. 
187 1
*** Exception might be for help working on the website itself
188 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. 
189 1
190 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.
191 1
192 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
193 1
194 1
*Sample Code:*
195 1
196 1
** With your application: *Please send in some sample code that you are proud of and are prepared to answer questions on.*
197 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.
198 1
199 1
*Courses Taken:*
200 1
201 1
List the courses that you have taken in:
202 1
** Math
203 1
** Computer programming, especially:
204 1
** Programming languages
205 1
** Data structures
206 1
** Web programming
207 1
** Data base
208 1
** Computer vision
209 1
** Engineering
210 1
h2. Work Experience 
211 1
212 1
* List any work experience that you've had in 
213 1
** software development and/or in 
214 1
** computer vision.
215 1
216 1
*Open Source Experience:*
217 1
218 1
* If you have already contributed to other open source projects, please tell us what it was and when you did this.
219 1
220 1
*Which project you are interested in and and why you want to do it:*
221 1
222 1
* Please tell us which of the project ideas you are interested and why you want to work on that one.
223 1
* If you have your __own idea__, please describe it clearly and provide a timeline of progress towards that goal.
224 1
225 1
*References:*
226 1
227 1
* Please list 2 or 3 academic or programming work references.
228 1
229 1
h3. Mentor selection criterion?
230 1
231 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.
232 1
233 8 Gary Bradski
(2) All mentors have extensive computer vision AND coding background.
234 8 Gary Bradski
235 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.
236 8 Gary Bradski
237 1
h3. Disappearing students?
238 1
239 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:
240 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.
241 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.
242 1
243 1
244 8 Gary Bradski
h3. Disappearing Mentors?
245 8 Gary Bradski
246 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. 
247 12 Gary Bradski
-- Last year we had several such mentors who were not needed.
248 8 Gary Bradski
249 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.
250 8 Gary Bradski
251 1
h3. Steps for interaction?
252 1
253 13 Gary Bradski
These techniques were used in 2010 - 2013 and worked well, so we'll use them again:
254 1
255 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).
256 13 Gary Bradski
We will set up a 2x daily twitter feed for all the summer's development projects.
257 1
258 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.
259 1
260 13 Gary Bradski
We hope to set up projects with 3 goals: 
261 1
262 13 Gary Bradski
(1) Quick and turn around (within a few weeks they should have a baseline accomplishment), this will be followed by 
263 8 Gary Bradski
264 13 Gary Bradski
(2) the main, reasonable summer goal, but there will also be 
265 13 Gary Bradski
266 13 Gary Bradski
(3) a more comprehensive "stretch goal" that we will encourage them to complete, getting feedback and feature requests from the community.
267 13 Gary Bradski
268 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)
269 13 Gary Bradski
-- The best students may become interns at mentor's work places (which has happened 5 times now).
270 1
271 9 Gary Bradski
h3. Encourage students to keep contributing/stick to their projects.
272 9 Gary Bradski
273 14 Gary Bradski
Right after the project, the student can, almost always, still add documentation, tutorials, test code.
274 9 Gary Bradski
275 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.
276 9 Gary Bradski
277 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.
278 1
279 14 Gary Bradski
These are often smaller side projects that can keep the student involved. 
280 1
281 14 Gary Bradski
For the medium to longer term:
282 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.
283 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.
284 9 Gary Bradski
285 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.
286 14 Gary Bradski
287 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.
288 9 Gary Bradski
289 9 Gary Bradski
290 1
h3. New organization with someone to vouch for us?
291 1
292 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. 
293 1
294 1
h3. Vouch for younger orgs?
295 1
296 9 Gary Bradski
zxing
297 9 Gary Bradski
298 1
----
299 10 Gary Bradski
300 10 Gary Bradski
"Back":http://code.opencv.org/projects/gsoc2013/wiki