File size: 1,972 Bytes
168a19a
 
 
 
 
08e30e2
 
 
168a19a
 
 
 
 
 
f6a3464
 
 
 
 
168a19a
 
 
 
 
 
 
 
199999f
 
6cacf5d
168a19a
 
 
6cacf5d
168a19a
 
 
 
 
 
 
 
199999f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# MidcurveNN
Midcurve by Neural Networks

![Midcurve](https://github.com/yogeshhk/MidcurveNN/blob/master/TalksPublications/images/IMG-20191008-WA0001.jpg)

---
license: apache-2.0
---

## Description
- Goal: Given a 2D closed shape (closed polygon) find its midcurve (polyline, closed or open)
- Input: set of points or set of connected lines, non-intersecting, simple, convex, closed polygon 
- Output: another set of points or set of connected lines, open/branched polygons possible

## ToDos
- Based on code at https://github.com/yogeshhk/MidcurveNN/tree/master/src/simpleencoderdecoder prepare Trainer class to train model using dataset uploaded here. Push model here
- Prepare Gradio demo space here as well as inferencing API which takes profile image and generates midcurve image


## Publications/Talks
- Vixra paper MidcurveNN: Encoder-Decoder Neural Network for Computing Midcurve of a Thin Polygon, viXra.org e-Print archive, viXra:1904.0429 http://vixra.org/abs/1904.0429 
- ODSC proposal https://confengine.com/odsc-india-2019/proposal/10090/midcurvenn-encoder-decoder-neural-network-for-computing-midcurve-of-a-thin-polygon
- CAD Conference 2021, Barcelona, pages 223-225 http://www.cad-conference.net/files/CAD21/CAD21_223-225.pdf
- CAD & Applications 2022 Journal paper 19(6) http://www.cad-journal.net/files/vol_19/CAD_19(6)_2022_1154-1161.pdf
- Google Developers Dev Library https://devlibrary.withgoogle.com/products/ml/repos/yogeshhk-MidcurveNN

## Citation

```
@article{MidcurveNN,
  doi = {https://doi.org/10.14733/cadaps.2022.1154-1161},
  url = {https://www.cad-journal.net/files/vol_19/CAD_19(6)_2022_1154-1161.pdf},
  author = {Kulkarni, Yogesh H.},
  keywords = {Midcurve, Encoder-Decoder, Neural Network},
  title = {MidcurveNN: Neural Network for Computing Midcurve of a Thin Polygon},
  publisher = {CAD Solutions, LLC},
  journal={Computer-Aided Design & Applications},
  volume={19},
  issue={6},
  pages={1154-1161},
  year = {2022}
}
```