-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added annotated image option * integrated in main_2024 * added cli option * added window closing * fixed unit tests * fixed image annotation and modified test cases * converted unit tests to use bounding boxes * added device to predict arg * added annotated image option * integrated in main_2024 * added cli option * added window closing * fixed unit tests * fixed image annotation and modified test cases * converted unit tests to use bounding boxes * added device to predict arg * remove annotated image from function return * added hardcoded values for testing target detection * Changed tests to use absolute error tolerance, Added checks for number of detections, Changed variable names * edited paths to use pathlib * Fixed tests to use detections and time object * fixed path errors in build * Offloaded fixture setup to a separate function and added comments * Cleaned up test_detect_target and generate_expected * Fixed formatting * Fixed renamed variables * Changed tolerance * fixed create detections * Set tolerance to 0 and fixed formatting * Changed formatting mostly multiline * Final formatting changes, Updated test_detect_target_worker to use detections and time * Some refactoring of main_2024 and final formatting changes
- Loading branch information
Showing
10 changed files
with
243 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule common
updated
14 files
+0 −44 | .github/workflows/run-tests.yml | |
+0 −0 | camera/__init__.py | |
+3 −6 | camera/test_camera.py | |
+0 −0 | comms/__init__.py | |
+4 −6 | comms/receive.py | |
+6 −9 | comms/test_tx.py | |
+5 −7 | comms/transmit.py | |
+0 −0 | kml/__init__.py | |
+7 −10 | kml/modules/waypoints_to_kml.py | |
+14 −19 | kml/test_waypoints_to_kml.py | |
+0 −0 | mavlink/__init__.py | |
+1 −1 | mavlink/test_flight_controller.py | |
+0 −0 | qr/__init__.py | |
+8 −11 | qr/test_qr.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
9.213867187500000000e-01 5.000000000000000000e+00 1.518750000000000000e+01 2.286562500000000000e+02 8.083125000000000000e+02 7.484062500000000000e+02 | ||
8.930664062500000000e-01 0.000000000000000000e+00 6.674062500000000000e+02 3.898125000000000000e+02 8.091562500000000000e+02 8.783437500000000000e+02 | ||
8.867187500000000000e-01 0.000000000000000000e+00 4.978125000000000000e+01 4.016250000000000000e+02 2.444765625000000000e+02 9.019687500000000000e+02 | ||
8.779296875000000000e-01 0.000000000000000000e+00 2.223281250000000000e+02 4.083750000000000000e+02 3.455156250000000000e+02 8.606250000000000000e+02 | ||
6.113281250000000000e-01 0.000000000000000000e+00 1.582031250000000000e-01 5.509687500000000000e+02 6.517968750000000000e+01 8.690625000000000000e+02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
8.896484375000000000e-01 0.000000000000000000e+00 7.480000000000000000e+02 4.150000000000000000e+01 1.140000000000000000e+03 7.130000000000000000e+02 | ||
8.847656250000000000e-01 0.000000000000000000e+00 1.450000000000000000e+02 2.000000000000000000e+02 1.108000000000000000e+03 7.130000000000000000e+02 | ||
7.167968750000000000e-01 2.700000000000000000e+01 4.375000000000000000e+02 4.347500000000000000e+02 5.300000000000000000e+02 7.170000000000000000e+02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.