Skip to content

Commit 1e28484

Browse files
committed
fix: update doc
1 parent 07cc9f1 commit 1e28484

40 files changed

+124
-215
lines changed

docs/AbstractAugmenter.html

Lines changed: 56 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ <h4 class="name" id="read"><span class="type-signature"></span>read<span class="
190190
<p>Augment images and return the result in a pipeable format</p>
191191
<p>Can be used with different input format :</p>
192192
<ul>
193-
<li>Using String or array of strings will be considered as filenames</li>
193+
<li>Using <Images> or array will be considered as images</li>
194194
<li>Full input format is {images: <Images>, boxes: [[[x1, y1, w1, h1]]], points:[[[x1, y1]]] }</li>
195195
</ul>
196196
</div>
@@ -237,12 +237,6 @@ <h5>Parameters:</h5>
237237
<span class="param-type"><a href="global.html#AugmenterFormat">AugmenterFormat</a></span>
238238
|
239239

240-
<span class="param-type">String</span>
241-
|
242-
243-
<span class="param-type">Array.&lt;String></span>
244-
|
245-
246240
<span class="param-type"><a href="global.html#Images">Images</a></span>
247241

248242

@@ -253,7 +247,7 @@ <h5>Parameters:</h5>
253247

254248

255249

256-
<td class="description last"><p>{images, points}</p></td>
250+
<td class="description last"></td>
257251
</tr>
258252

259253

@@ -321,7 +315,7 @@ <h5>Returns:</h5>
321315

322316

323317
<div class="param-desc">
324-
<p>the output is pipeable into other augmenters</p>
318+
<p>the output is pipeable into other augmenters (format is {images, points, boxes})</p>
325319
</div>
326320

327321

@@ -350,15 +344,15 @@ <h5>Returns:</h5>
350344

351345

352346

353-
<h4 class="name" id="toGrid"><span class="type-signature"></span>toGrid<span class="signature">(runOpts)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
347+
<h4 class="name" id="toGrid"><span class="type-signature"></span>toGrid<span class="signature">(runOpts)</span><span class="type-signature"> &rarr; {Promise.&lt;<a href="global.html#AugmenterFormat">AugmenterFormat</a>>}</span></h4>
354348

355349

356350

357351

358352

359353

360354
<div class="description">
361-
<p>Augment images</p>
355+
<p>Get a grid image</p>
362356
</div>
363357

364358

@@ -419,7 +413,53 @@ <h5>Parameters:</h5>
419413

420414

421415

422-
<td class="description last"><p>{images, points}</p></td>
416+
<td class="description last"><p>{images}</p></td>
417+
</tr>
418+
419+
420+
421+
<tr>
422+
423+
<td class="name"><code>gridOptions.gridShape</code></td>
424+
425+
426+
<td class="type">
427+
428+
429+
<span class="param-type">Array.&lt;Number></span>
430+
431+
432+
433+
</td>
434+
435+
436+
437+
438+
439+
<td class="description last"><p><code>[n,m]</code> create a grid of n images per row, and m rows</p></td>
440+
</tr>
441+
442+
443+
444+
<tr>
445+
446+
<td class="name"><code>gridOptions.imageShape</code></td>
447+
448+
449+
<td class="type">
450+
451+
452+
<span class="param-type">Array.&lt;Number></span>
453+
454+
455+
456+
</td>
457+
458+
459+
460+
461+
462+
<td class="description last"><p><code>[w,h]</code> each image in the grid is reshaped to [w,h] size</p></td>
423463
</tr>
424464

425465

@@ -460,7 +500,7 @@ <h5>Parameters:</h5>
460500

461501
<dt class="tag-source">Source:</dt>
462502
<dd class="tag-source"><ul class="dummy"><li>
463-
<a href="abstract.js.html">abstract.js</a>, <a href="abstract.js.html#line85">line 85</a>
503+
<a href="abstract.js.html">abstract.js</a>, <a href="abstract.js.html#line83">line 83</a>
464504
</li></ul></dd>
465505

466506

@@ -487,7 +527,7 @@ <h5>Returns:</h5>
487527

488528

489529
<div class="param-desc">
490-
<p>the output is pipeable into other augmenters</p>
530+
<p>grid a {images} object with only one grid image</p>
491531
</div>
492532

493533

@@ -498,7 +538,7 @@ <h5>Returns:</h5>
498538
</dt>
499539
<dd>
500540

501-
<span class="param-type">Promise</span>
541+
<span class="param-type">Promise.&lt;<a href="global.html#AugmenterFormat">AugmenterFormat</a>></span>
502542

503543

504544
</dd>
@@ -532,7 +572,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbstractA
532572
<br class="clear">
533573

534574
<footer>
535-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Mar 28 2019 18:26:11 GMT+0100 (CET)
575+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Mar 29 2019 19:17:25 GMT+0100 (CET)
536576
</footer>
537577

538578
<script> prettyPrint(); </script>

docs/AddAugmenter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbstractA
220220
<br class="clear">
221221

222222
<footer>
223-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Mar 28 2019 18:26:11 GMT+0100 (CET)
223+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Mar 29 2019 19:17:25 GMT+0100 (CET)
224224
</footer>
225225

226226
<script> prettyPrint(); </script>

docs/AddWeightedAugmenter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbstractA
321321
<br class="clear">
322322

323323
<footer>
324-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Mar 28 2019 18:26:11 GMT+0100 (CET)
324+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Mar 29 2019 19:17:25 GMT+0100 (CET)
325325
</footer>
326326

327327
<script> prettyPrint(); </script>

docs/AdditiveGaussianNoiseAugmenter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbstractA
422422
<br class="clear">
423423

424424
<footer>
425-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Mar 28 2019 18:26:11 GMT+0100 (CET)
425+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Mar 29 2019 19:17:25 GMT+0100 (CET)
426426
</footer>
427427

428428
<script> prettyPrint(); </script>

docs/AdditiveNoiseAugmenter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbstractA
424424
<br class="clear">
425425

426426
<footer>
427-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Mar 28 2019 18:26:11 GMT+0100 (CET)
427+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Mar 29 2019 19:17:25 GMT+0100 (CET)
428428
</footer>
429429

430430
<script> prettyPrint(); </script>

docs/AdditivePoissonNoiseAugmenter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbstractA
375375
<br class="clear">
376376

377377
<footer>
378-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Mar 28 2019 18:26:11 GMT+0100 (CET)
378+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Mar 29 2019 19:17:25 GMT+0100 (CET)
379379
</footer>
380380

381381
<script> prettyPrint(); </script>

docs/AffineTransformAugmenter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbstractA
539539
<br class="clear">
540540

541541
<footer>
542-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Mar 28 2019 18:26:11 GMT+0100 (CET)
542+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Mar 29 2019 19:17:25 GMT+0100 (CET)
543543
</footer>
544544

545545
<script> prettyPrint(); </script>

docs/BackgroundAugmenter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbstractA
270270
<br class="clear">
271271

272272
<footer>
273-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Mar 28 2019 18:26:11 GMT+0100 (CET)
273+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Mar 29 2019 19:17:25 GMT+0100 (CET)
274274
</footer>
275275

276276
<script> prettyPrint(); </script>

docs/BlurAugmenter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbstractA
274274
<br class="clear">
275275

276276
<footer>
277-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Mar 28 2019 18:26:11 GMT+0100 (CET)
277+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Mar 29 2019 19:17:25 GMT+0100 (CET)
278278
</footer>
279279

280280
<script> prettyPrint(); </script>

docs/CropAugmenter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbstractA
292292
<br class="clear">
293293

294294
<footer>
295-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Mar 28 2019 18:26:11 GMT+0100 (CET)
295+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Mar 29 2019 19:17:25 GMT+0100 (CET)
296296
</footer>
297297

298298
<script> prettyPrint(); </script>

0 commit comments

Comments
 (0)