2016

Version 8 (Gary Bradski, 2016-03-01 07:11 pm)

1 1
h1. 2016  OpenCV Meeting notes for the year 2016
2 1
3 1
Template is at http://code.opencv.org/projects/opencv/wiki/Template
4 1
http://code.opencv.org/help/wiki_syntax
5 1
6 1
[[Meeting_notes]]
7 1
8 1
{{>toc}}
9 1
10 1
11 1
<pre>
12 1
      <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
13 1
</pre>
14 1
15 7 Gary Bradski
h2. 2016-02-02
16 7 Gary Bradski
17 7 Gary Bradski
h3. _*Agenda*_
18 7 Gary Bradski
19 8 Gary Bradski
 * SLAM
20 8 Gary Bradski
 * GSoC
21 8 Gary Bradski
 * Optimization
22 8 Gary Bradski
 * NUML
23 8 Gary Bradski
 * 3.1 is out
24 8 Gary Bradski
 * CVPR
25 7 Gary Bradski
26 1
h3. *_Minutes_*
27 1
28 8 Gary Bradski
 * GSoC
29 8 Gary Bradski
 ** "Timeline":https://developers.google.com/open-source/gsoc/timeline?hl=en
30 8 Gary Bradski
 * SLAM
31 8 Gary Bradski
 ** NVidia http://blogs.nvidia.com/blog/2015/11/17/stereolabs-jetson-tx1/
32 8 Gary Bradski
 ** "Marc":https://www.inf.ethz.ch/personal/marc.pollefeys/
33 8 Gary Bradski
 ** "The Future of Real-Time SLAM 2015":http://wp.doc.ic.ac.uk/thefutureofslam/programme/
34 8 Gary Bradski
 ** "Deep Learning vs SLAM":http://www.computervisionblog.com/2016/01/why-slam-matters-future-of-real-time.html
35 8 Gary Bradski
 ** "Google and Movidius":http://www.embedded-vision.com/industry-analysis/press-releases/google-and-movidius-work-together-enhance-deep-learning-capabilitie
36 8 Gary Bradski
 ** Smart camera
37 8 Gary Bradski
 * Optimization
38 8 Gary Bradski
 ** Vadim writing slides
39 8 Gary Bradski
 ** OpenCV HAL (Hardware Acceleration Layer) has DFT now
40 8 Gary Bradski
 *** Complete HAL by Feb/March. Part of OpenCV 3.2
41 8 Gary Bradski
 ** "C++14":https://groups.google.com/a/isocpp.org/forum/#!forum/sg14
42 8 Gary Bradski
 * NUML
43 8 Gary Bradski
 ** NUML compiler to NUML (parser done)
44 8 Gary Bradski
 ** Improving the generated C code
45 8 Gary Bradski
 * Intern
46 8 Gary Bradski
 ** Python samples => tests
47 8 Gary Bradski
 ** Also more samples
48 8 Gary Bradski
 * OpenCV 3.1 is out
49 8 Gary Bradski
 * CVPR
50 8 Gary Bradski
 ** Need to concentrate on "People's Choice Best Paper"
51 8 Gary Bradski
 ** "Site":http://cvpr2016.thecvf.com/
52 7 Gary Bradski
53 7 Gary Bradski
h3. *_Reports_*
54 7 Gary Bradski
55 1
 * . Vadim
56 7 Gary Bradski
57 8 Gary Bradski
*OpenCV:*
58 1
59 8 Gary Bradski
* OpenCV 3.1 has been released. The announce is here: http://opencv.org/opencv-3-1.html.
60 8 Gary Bradski
* Immediately after the release we continue our work on OpenCV:
61 8 Gary Bradski
* Maksim has prepared PR (https://github.com/Itseez/opencv/pull/5846) with some important improvements and fixes from 3.x backported to 2.4.x, most notably fast cvRound() etc. for ARM. People say, the faster round speeds up some code by 20% and even more than that.
62 8 Gary Bradski
* Alexander has updated binary compatibility checker, so that it will check modifications in OpenCV API since 3.1.
63 8 Gary Bradski
64 8 Gary Bradski
*OpenCV Plans:*
65 8 Gary Bradski
* Continue expanding OpenCV HAL
66 8 Gary Bradski
67 8 Gary Bradski
*Numl:*
68 8 Gary Bradski
69 8 Gary Bradski
          because of the release preparations, there is little progress on numl, but it's non-zero still:
70 8 Gary Bradski
71 8 Gary Bradski
*numl:*
72 8 Gary Bradski
# Extended pattern matching to almost match StandardML/OCaml capabilities.
73 8 Gary Bradski
# Added special constructions for list comprehensions and list literals that are more compact than before.
74 8 Gary Bradski
# numlyacc. Started conversion of BSD-licensed ml-yacc from SML-NJ/mlton to numl. ~30% is complete. sml2nl is used to do the initial conversion sml=>numl, after which the code is annotated with types and some small corrections are made.
75 8 Gary Bradski
76 8 Gary Bradski
*Numl Plans:*
77 8 Gary Bradski
* Finish numlyacc, test the pair numllex + numlyacc.
78 8 Gary Bradski
* add basic OOP capabilities. This is another item in progress.
79 8 Gary Bradski
* write some slides and initial documentation for the language and the standard library
80 8 Gary Bradski
* grow the standard library.
81 8 Gary Bradski
82 8 Gary Bradski
*Misc:*
83 8 Gary Bradski
*Vadim, Alexander will be on vacation starting from the next week.
84 7 Gary Bradski
85 7 Gary Bradski
h3. *_Action Items_*
86 7 Gary Bradski
87 7 Gary Bradski
*Gary*
88 7 Gary Bradski
89 7 Gary Bradski
 * . 
90 7 Gary Bradski
91 7 Gary Bradski
*Vincent*
92 7 Gary Bradski
93 7 Gary Bradski
 * . 
94 7 Gary Bradski
95 7 Gary Bradski
*Vadim*
96 7 Gary Bradski
97 7 Gary Bradski
 * . 
98 7 Gary Bradski
99 7 Gary Bradski
*Grace*
100 7 Gary Bradski
101 7 Gary Bradski
 * . 
102 7 Gary Bradski
103 7 Gary Bradski
104 7 Gary Bradski
<pre>
105 7 Gary Bradski
      <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
106 7 Gary Bradski
</pre>
107 7 Gary Bradski
108 4 Gary Bradski
h2. 2016-01-26
109 4 Gary Bradski
110 4 Gary Bradski
h3. _*Agenda*_
111 4 Gary Bradski
112 6 Gary Bradski
 * GSoC gear up
113 6 Gary Bradski
 * Hardware Acceleration of vision
114 6 Gary Bradski
 * Economic ideas
115 6 Gary Bradski
 *Hardware acceleration layer HAL
116 6 Gary Bradski
 * Final payments for mentors and for contest need to go out
117 1
118 6 Gary Bradski
119 4 Gary Bradski
h3. *_Minutes_*
120 1
121 1
 * New summer of code, Feb 8 "See Timelene":https://developers.google.com/open-source/gsoc/timeline
122 6 Gary Bradski
 * Economic ideas for OpenCV ... 
123 6 Gary Bradski
 ** OpenCV has been brought current on all tax issues (yeah!)
124 1
 * NUML
125 5 Gary Bradski
 ** Performance is almost at C level, a few problems, but produces large C files (single C source) when optimization is turned on -O2 or -O3
126 1
 ** See report below
127 1
 ** Month to 2 months
128 6 Gary Bradski
 ** 1 month to version 1, then
129 6 Gary Bradski
 *** try wrapping some of opencv
130 6 Gary Bradski
 *** try wrapping some of tensorflow
131 6 Gary Bradski
 * Hardware acceleration layer (HAL)
132 6 Gary Bradski
 ** OpenCV has been improving its layer
133 6 Gary Bradski
 ** "OpenVX":https://www.khronos.org/openvx/ (starting to grow, "Imagination Pass":https://globenewswire.com/news-release/2016/01/06/799884/0/en/PowerVR-GPUs-From-Imagination-Pass-OpenVX-Conformance-With-Khronos.html
134 5 Gary Bradski
 * Industrial vision apps "Datalogic":http://www.datalogic.com/eng/products/industrial-automation/machine-vision-pc-16.html , "Cognex":http://www.cognex.com/
135 4 Gary Bradski
136 4 Gary Bradski
h3. *_Reports_*
137 4 Gary Bradski
138 4 Gary Bradski
 * . Vadim
139 4 Gary Bradski
140 4 Gary Bradski
*OpenCV:*
141 4 Gary Bradski
142 4 Gary Bradski
    After NY holidays we resumed the work on OpenCV. The approximate OpenCV 3.2 release time is end of May; before that we will do hackathon. Since it will be before GSoC 2016, not much new functionality should be expected. The major new features will be more or less complete HAL along with many bug fixes found in 3.0/3.1. We also continuously improve our continuous integration infrastructure. Along those lines, we've done the following during the 2 past weeks:
143 4 Gary Bradski
144 4 Gary Bradski
* - build fixes: world with CUDA / precompiled headers for world / include only available modules (via opencv2/opencv.hpp) / python detection issue on Ubuntu 14.04 / fix OSX framework build with contrib
145 4 Gary Bradski
* - buildbot infrastructure: 2016 copyright / limit (100) number of stored builds&logs / fix iOS nightly build / fix python library path for ARM
146 4 Gary Bradski
* - prepared proposal for OpenCV add-ons: this is quite important feature, requested by Vincent and other guys. The idea is to let users to build their own modules (or opencv_contrib modules) without rebuilding opencv itself. Alexander Alekhin has prepared the proposal on how to implement this feature.
147 4 Gary Bradski
* - OpenCV HAL. The 1D DFT API has been finalized and implemented. The first tests showed noticeable speed degradation, so we spend some more time to fix those issues and now the performance is more or less the same as it was before. 
148 4 Gary Bradski
* - There is test build and test run of OpenCV with coverage turned on. We plan to put it to the buildbot and get the test coverage information on regular basis as we did it in Willow Garage times.
149 4 Gary Bradski
* - ~10 PRs have been reviewed.
150 4 Gary Bradski
* 
151 4 Gary Bradski
  - Vlad Sovrasov joined our team as intern, he is working on converting some of the Python samples to tests, so we will have additional number of tests and besides we will check quality of Python bindings. So far he created 4 new tests
152 4 Gary Bradski
153 4 Gary Bradski
*OpenCV Plans:*
154 4 Gary Bradski
* - continue Python samples => tests transformation
155 4 Gary Bradski
* - add the coverage builder
156 4 Gary Bradski
* - add 2D DFT HAL API, then proceed with filtering functions
157 4 Gary Bradski
158 4 Gary Bradski
*Numl:*
159 4 Gary Bradski
160 4 Gary Bradski
  Basically we are now working on rewriting numl compiler in numl, which should greatly improve compile time (.nl=>.c) and also serve as a decent regression test.
161 4 Gary Bradski
* numlyacc parser generator tool is ready. It was able to reproduce it's own grammar parser. numlyacc takes ~6000 lines of code in numl and it's translated to 95000 lines of code in C. The generated C source takes ~3-4 minutes to compile with -O2 optimization (which reduces down to ~10-20 seconds with -O1). Obviously, we will need to split such huge files into smaller ones.
162 4 Gary Bradski
* The work on converting numl lexical scanner and the parser to numllex and numlyacc is started.
163 4 Gary Bradski
* The C code generator has been improved to produce smaller .c files without loosing efficiency (there is quite the opposite effect, in fact). In particular, 1 week ago numlyacc output took ~130000 lines of code in C, now it takes ~95000.
164 4 Gary Bradski
* Prepared some slides summarizing numl progress over the year: https://docs.google.com/presentation/d/1YmFCkvoo5qwtDAd70xyWpIazMFEWExz7aeZ2P4v2m40/edit#slide=id.p3
165 4 Gary Bradski
* There is the first draft of the output C language AST data structure. In the current compiler C code generator is very sophisticated single-pass procedure. We plan to move to the structured representation of C code and then make a few passes over it. It should help to further improve quality of the output code.
166 4 Gary Bradski
167 4 Gary Bradski
*Numl Plans:*
168 4 Gary Bradski
* *[done!]* Finish numlyacc, test the pair numllex + numlyacc.
169 4 Gary Bradski
* convert numl parser to numl, then proceed with type checker, k-normalization and optimizers of the k-form.
170 4 Gary Bradski
* add basic OOP capabilities. This is another item in progress.
171 4 Gary Bradski
* write some slides and initial documentation for the language and the standard library
172 4 Gary Bradski
* grow the standard library.
173 4 Gary Bradski
174 4 Gary Bradski
175 4 Gary Bradski
176 4 Gary Bradski
177 4 Gary Bradski
178 4 Gary Bradski
h3. *_Action Items_*
179 4 Gary Bradski
180 4 Gary Bradski
*Gary*
181 4 Gary Bradski
182 4 Gary Bradski
 * get out GSOC mentor payments
183 4 Gary Bradski
184 1
*Vincent*
185 4 Gary Bradski
186 5 Gary Bradski
 * Talk about NUML
187 4 Gary Bradski
188 4 Gary Bradski
*Vadim*
189 4 Gary Bradski
190 4 Gary Bradski
 * Have Sergey send Gary US account info
191 4 Gary Bradski
192 4 Gary Bradski
*Grace*
193 4 Gary Bradski
194 4 Gary Bradski
 * . 
195 4 Gary Bradski
196 4 Gary Bradski
197 4 Gary Bradski
<pre>
198 4 Gary Bradski
      <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
199 4 Gary Bradski
</pre>
200 4 Gary Bradski
201 3 Gary Bradski
h2. 2016-01-19
202 3 Gary Bradski
203 3 Gary Bradski
h3. _*Agenda*_
204 3 Gary Bradski
205 3 Gary Bradski
 * Taxes
206 3 Gary Bradski
 * OpenCV 3.1 progress
207 3 Gary Bradski
208 3 Gary Bradski
h3. *_Minutes_*
209 3 Gary Bradski
210 3 Gary Bradski
 * Paid OpenCV.org's taxes (yes we have taxes because not all income was paid out in the same year)
211 3 Gary Bradski
 * OpenCV
212 3 Gary Bradski
 ** Pulled in 20 pull requests
213 3 Gary Bradski
 ** We are extending the Hardware Acceleration Layer (HAL) -- an API that HW manufacturers can come under and speed up OpenCV
214 3 Gary Bradski
 *** Did the complex ones first
215 3 Gary Bradski
 *** Simpler ones next
216 3 Gary Bradski
 ** These comply with but go beyond OpenVX (it is 40 functions), but we will cover many more functions
217 3 Gary Bradski
 *** FFT, larger data types (beyond 8 bits)
218 3 Gary Bradski
 *** We will allow direct calls later for even more acceleration
219 3 Gary Bradski
 * NUML
220 3 Gary Bradski
 ** NUML compiler is being converted to NUML (port of YACC tool is now in NUML) 
221 3 Gary Bradski
 *** Parser is complicated, 500 states, but automatically generated 
222 3 Gary Bradski
 *** Parser is general, can be used for other functions, macros
223 3 Gary Bradski
 * Vincent in town for two weeks from France
224 3 Gary Bradski
 ** Meet with OpenCV, Willow and ROS people
225 3 Gary Bradski
 ** There will be official ARM support, current build bot already tests against ARM (Linux, but not Android)
226 3 Gary Bradski
 *** This will expand the ARM user population by quite a bit
227 3 Gary Bradski
 ** Reading up on SYCL (part of Chronos2, higher level than OpenCL)
228 3 Gary Bradski
 * OSI wants us to change our logo :-(  
229 3 Gary Bradski
 ** Rather than fight, we're probably going to redesign it
230 3 Gary Bradski
 ** Itseez has a professional designer and/or we could have a contest, but that may lead to conflict problems
231 3 Gary Bradski
232 3 Gary Bradski
h3. *_Reports_*
233 3 Gary Bradski
234 3 Gary Bradski
 * . Vadim
235 3 Gary Bradski
236 3 Gary Bradski
237 3 Gary Bradski
238 3 Gary Bradski
h3. *_Action Items_*
239 3 Gary Bradski
240 3 Gary Bradski
*Gary*
241 3 Gary Bradski
242 3 Gary Bradski
 * . 
243 3 Gary Bradski
244 3 Gary Bradski
*Vincent*
245 3 Gary Bradski
246 3 Gary Bradski
 * . 
247 3 Gary Bradski
248 3 Gary Bradski
*Vadim*
249 3 Gary Bradski
250 3 Gary Bradski
 * . 
251 3 Gary Bradski
252 3 Gary Bradski
*Grace*
253 3 Gary Bradski
254 3 Gary Bradski
 * . 
255 3 Gary Bradski
256 3 Gary Bradski
257 3 Gary Bradski
<pre>
258 3 Gary Bradski
      <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
259 3 Gary Bradski
</pre>
260 3 Gary Bradski
261 3 Gary Bradski
h2. 2016-01-12
262 1
263 1
h3. _*Agenda*_
264 1
265 2 Gary Bradski
 * New year
266 1
267 1
h3. *_Minutes_*
268 1
269 2 Gary Bradski
 * Maxime extending HAL (Hardware Acceleration Layer) 
270 2 Gary Bradski
 ** Fixed API, so OpenCV can be easily accelerated w/o needing any customization
271 2 Gary Bradski
 * Bug reports and pull requests for 3.0 and 3.1
272 2 Gary Bradski
 ** Working on
273 2 Gary Bradski
 * NUML
274 2 Gary Bradski
 ** NUML compiler converted from C to NUML
275 2 Gary Bradski
 *** 3 parts, 30K lines. If 30K lines compile and work, it's  a good sign of stability
276 2 Gary Bradski
 *** Already some bugs fixed
277 2 Gary Bradski
 *** Smaller footprint to get started
278 2 Gary Bradski
 ** NUML => C bootstrap. So can port to new platform easily
279 2 Gary Bradski
 ** Advantages: 
280 2 Gary Bradski
 *** Safe language is safe, can't go out of bounds. 
281 2 Gary Bradski
 *** parallel for is embedded
282 2 Gary Bradski
 *** matlab kind of productivity, but optimized C run speed
283 2 Gary Bradski
 **** NUML 20-50x faster than Python
284 2 Gary Bradski
 *** types are checked at compile time. No number to string adds for example
285 2 Gary Bradski
 *** Compile speed at speed of C compiler (NUML byte code to C) Bottleneck if C compiler
286 2 Gary Bradski
 *** 1000 lines of NUML => 10Ks of C code
287 2 Gary Bradski
 ** Working on this conversion, then tutorial slides
288 2 Gary Bradski
 *** Can write code in text editor, type NUML and then
289 2 Gary Bradski
 *** Notebooks
290 1
291 1
h3. *_Reports_*
292 1
293 1
 * . Vadim
294 1
295 1
296 1
297 1
h3. *_Action Items_*
298 1
299 1
*Gary*
300 1
301 1
 * . 
302 1
303 1
*Vincent*
304 1
305 1
 * . 
306 1
307 1
*Vadim*
308 1
309 1
 * . 
310 1
311 1
*Grace*
312 1
313 1
 * . 
314 1
315 1
316 1
<pre>
317 1
      <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
318 1
</pre>
319 1
320 1
321 1
322 1
323 1
[[Meeting_notes]]