Paras Shah
commited on
Commit
·
c758a23
1
Parent(s):
d5a5fe2
Small beautification changes
Browse files
app.py
CHANGED
@@ -135,7 +135,7 @@ st.markdown(
|
|
135 |
"squared distances between each point and the circle's circumference. "
|
136 |
"<b>Levenberg-Marquardt Optimization</b> is used to fit models "
|
137 |
"(like circles) to point cloud data by minimizing the error between "
|
138 |
-
"the model and the actual points.</div>",
|
139 |
unsafe_allow_html=True
|
140 |
)
|
141 |
|
|
|
135 |
"squared distances between each point and the circle's circumference. "
|
136 |
"<b>Levenberg-Marquardt Optimization</b> is used to fit models "
|
137 |
"(like circles) to point cloud data by minimizing the error between "
|
138 |
+
"the model and the actual points.</div><br>",
|
139 |
unsafe_allow_html=True
|
140 |
)
|
141 |
|
utils.py
CHANGED
@@ -4,10 +4,10 @@ from scipy.spatial import ConvexHull
|
|
4 |
from scipy.optimize import least_squares
|
5 |
|
6 |
CLASSES = [
|
7 |
-
'
|
8 |
-
'
|
9 |
-
'
|
10 |
-
'
|
11 |
]
|
12 |
|
13 |
def fit_circle(x, y):
|
|
|
4 |
from scipy.optimize import least_squares
|
5 |
|
6 |
CLASSES = [
|
7 |
+
'Betula pendula',
|
8 |
+
'Fagus sylvatica',
|
9 |
+
'Picea abies',
|
10 |
+
'Pinus sylvestris'
|
11 |
]
|
12 |
|
13 |
def fit_circle(x, y):
|