Commit cc6a059
authored
New stuff (#9)
* fix: update Google Drive file ID for model download
* fix: update run function to return empty arrays on error
* refactor: update Config class to use Path for input and output settings
* fix: convert output_dir and model_path to string in detection method
* fix: convert input_image to string before loading in run function
* fix: update write_json function to use Any type for content parameter
* fix: simplify line coefficient computation in LeastSquaresSolution
* fix: update drawing import to use LineDrawing for line visualization
* fix: update import statement for euclidean_distance in Line class
* fix: return float type for euclidean_distance function result
* fix: ensure boolean type for good_alignment in find_detections return value
* refactor: remove unused detection methods and related code1 parent d45fd51 commit cc6a059
File tree
21 files changed
+34
-2173
lines changed- tree-disk-api/src/config
- tree-disk-pith
- src/treediskpith
- detection
- geometry
- optimization
- processing
- utils
- visualization
- tests
21 files changed
+34
-2173
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 39 | + | |
44 | 40 | | |
45 | 41 | | |
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
49 | 45 | | |
50 | | - | |
51 | | - | |
52 | 46 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 47 | + | |
56 | 48 | | |
57 | 49 | | |
58 | 50 | | |
| |||
63 | 55 | | |
64 | 56 | | |
65 | 57 | | |
66 | | - | |
67 | 58 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 59 | | |
73 | 60 | | |
74 | 61 | | |
| |||
88 | 75 | | |
89 | 76 | | |
90 | 77 | | |
91 | | - | |
| 78 | + | |
92 | 79 | | |
93 | | - | |
| 80 | + | |
94 | 81 | | |
95 | 82 | | |
96 | | - | |
| 83 | + | |
97 | 84 | | |
98 | 85 | | |
99 | 86 | | |
100 | 87 | | |
101 | | - | |
| 88 | + | |
102 | 89 | | |
103 | 90 | | |
104 | 91 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 20 | | |
28 | 21 | | |
29 | 22 | | |
30 | 23 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 24 | + | |
43 | 25 | | |
44 | 26 | | |
45 | 27 | | |
| |||
62 | 44 | | |
63 | 45 | | |
64 | 46 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 47 | | |
71 | 48 | | |
72 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 23 | | |
30 | 24 | | |
31 | | - | |
| 25 | + | |
32 | 26 | | |
33 | 27 | | |
34 | 28 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
39 | 32 | | |
40 | 33 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 34 | | |
46 | 35 | | |
47 | 36 | | |
| |||
60 | 49 | | |
61 | 50 | | |
62 | 51 | | |
63 | | - | |
64 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
65 | 56 | | |
66 | 57 | | |
67 | 58 | | |
| |||
72 | 63 | | |
73 | 64 | | |
74 | 65 | | |
75 | | - | |
| 66 | + | |
76 | 67 | | |
77 | 68 | | |
78 | 69 | | |
79 | 70 | | |
80 | | - | |
| 71 | + | |
81 | 72 | | |
82 | 73 | | |
83 | 74 | | |
| |||
92 | 83 | | |
93 | 84 | | |
94 | 85 | | |
95 | | - | |
| 86 | + | |
96 | 87 | | |
97 | 88 | | |
98 | 89 | | |
| |||
124 | 115 | | |
125 | 116 | | |
126 | 117 | | |
127 | | - | |
128 | | - | |
129 | 118 | | |
130 | 119 | | |
131 | 120 | | |
132 | 121 | | |
133 | 122 | | |
134 | 123 | | |
135 | | - | |
| 124 | + | |
136 | 125 | | |
137 | 126 | | |
138 | 127 | | |
| |||
151 | 140 | | |
152 | 141 | | |
153 | 142 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 143 | + | |
159 | 144 | | |
160 | 145 | | |
161 | 146 | | |
| |||
186 | 171 | | |
187 | 172 | | |
188 | 173 | | |
189 | | - | |
190 | 174 | | |
191 | | - | |
192 | 175 | | |
193 | 176 | | |
194 | 177 | | |
Lines changed: 0 additions & 7 deletions
This file was deleted.
0 commit comments