Commit ed87c2a
Split detections (#539)
* compute cone during seq creation
* round values
* drop seq with cones
* create alerts
* add overlap from triangulation pr
* new alerts strat
* missing init
* missings deps
* use preset variable
* updates routes
* update poetry
* update loc
* error management
* fix on seq case
* use started_at and last_seens_at
* clean output
* missing READ
* add test
* fix style
* test overlap
* mypy
* ruff on test overlap
* import issue
* fix style
* fix deletions to respect fk
* cast
* recompyte alerts after seq annotation
* fix alert update
* style
* style
* adapt test
* ruff on test
* add tests on detections
* increase test on seq
* ruff
* limit lat and lon
* rename fonction
* rename to sequence_azimuth
* rename sequence camera azimuth
* add AlertBase
* adapt e2e
* new headers
* header fix
* header fix
* add triangulation test
* drop dupicate
* imprrove test for label_sequence
* style
* add seq delete test
* fix(api): resolve merge conflict and fix router
* style
* test(api): add test coverage for organization deletion of alerts and alert sequences
* put back old delete
* style org
* style test
* fix test org
* reduce complexity
* style
* use pose_id
* style
* adapt test
* split seq based on bbox
* adapt test
* prevent UnboundLocalError
* fix mypy client
* complete client
* style
* ruff
* rename camera_azimuth
* fix test
* client/
* fix test
* reorder router
* srtyle
* mypy
* fix merge error in unitest
* ruff fix
* check to use the pose azimuth
* split bboxes
* allow cam to get pose
* allow camera to manage poses
* add split detections test
* increase test on client
* increase coverage on create det
* fix codacy warning adding if
* increase coverage
* simplify
* bboxes to bbox in db field and endpoints read
* added correct constraints on bbox and other_bboxes length
---------
Co-authored-by: fe51 <[email protected]>1 parent 345c9b2 commit ed87c2a
File tree
18 files changed
+1215
-176
lines changed- client
- pyroclient
- tests
- scripts
- src
- app
- api/api_v1/endpoints
- core
- crud
- schemas
- services
- tests
- endpoints
- services
18 files changed
+1215
-176
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
183 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
184 | 202 | | |
185 | 203 | | |
186 | 204 | | |
187 | 205 | | |
188 | 206 | | |
189 | 207 | | |
190 | 208 | | |
191 | | - | |
| 209 | + | |
192 | 210 | | |
193 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
194 | 214 | | |
195 | 215 | | |
196 | 216 | | |
| |||
203 | 223 | | |
204 | 224 | | |
205 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
206 | 229 | | |
207 | 230 | | |
208 | 231 | | |
| |||
296 | 319 | | |
297 | 320 | | |
298 | 321 | | |
299 | | - | |
300 | 322 | | |
301 | | - | |
| 323 | + | |
302 | 324 | | |
303 | 325 | | |
304 | 326 | | |
305 | 327 | | |
306 | 328 | | |
307 | 329 | | |
308 | | - | |
| 330 | + | |
309 | 331 | | |
310 | 332 | | |
311 | 333 | | |
312 | | - | |
313 | 334 | | |
314 | | - | |
| 335 | + | |
315 | 336 | | |
316 | 337 | | |
317 | 338 | | |
318 | 339 | | |
319 | 340 | | |
320 | 341 | | |
321 | | - | |
322 | | - | |
| 342 | + | |
323 | 343 | | |
324 | 344 | | |
325 | | - | |
326 | | - | |
| 345 | + | |
327 | 346 | | |
328 | 347 | | |
329 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
47 | 49 | | |
48 | | - | |
49 | | - | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
52 | 69 | | |
53 | 70 | | |
54 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
28 | 55 | | |
29 | | - | |
| 56 | + | |
30 | 57 | | |
31 | 58 | | |
32 | 59 | | |
| |||
37 | 64 | | |
38 | 65 | | |
39 | 66 | | |
40 | | - | |
| 67 | + | |
41 | 68 | | |
42 | | - | |
43 | | - | |
| 69 | + | |
| 70 | + | |
44 | 71 | | |
45 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
46 | 77 | | |
47 | | - | |
| 78 | + | |
48 | 79 | | |
49 | 80 | | |
50 | 81 | | |
| |||
81 | 112 | | |
82 | 113 | | |
83 | 114 | | |
84 | | - | |
| 115 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
152 | | - | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments