SkalskiP
a8c44cfaff
ready for merge
2024-05-10 15:36:44 +02:00
pre-commit-ci[bot]
3d0c3d9182
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-05-10 13:08:35 +00:00
SkalskiP
2364abf481
small error message update + few more test cases for merge_data
2024-05-10 15:08:18 +02:00
Linas Kondrackis
01f7eb5be6
Retain type info by not excluding empty detections
2024-05-09 18:19:51 +03:00
Linas Kondrackis
8c58ebe30d
Roll back flex-merge on data, merge when key missing
2024-05-09 17:06:51 +03:00
Linas Kondrackis
7bb94ce966
Detections.merge merges None and []
...
* Detections.merge is much friendlier now. If there's a None
or an empty array, it will merge it happily rather than
complaining that everything needs to be either None or [].
* Data merge follows suit.
2024-05-07 17:30:12 +03:00
Linas Kondrackis
fb49be8197
Tests for the new merge function
2024-05-07 16:09:05 +03:00
pre-commit-ci[bot]
dc5f841bae
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-03-28 13:06:47 +00:00
SkalskiP
64eef66b54
get_data_item unit tests
2024-03-28 14:04:21 +01:00
Onuralp SEZER
56825423dc
fix: 🐞 update PolygonZone test and update traffic-analysis depricated codes are updated
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2024-03-02 03:25:59 +03:00
Onuralp SEZER
f55ef90716
Merge pull request #819 from AdonaiVera/allowing_serialise_detections_json
...
New function [JSONSink] - Allowing to serialise Detections to a JSON file
2024-03-01 03:23:46 +03:00
Adonai Vera
d9496316bc
remove the json output after finish the unit test
2024-03-01 03:14:42 +03:00
Adonai Vera
4509608a5d
Apply documentation, unit test with mutliple scenarios, and improvement
2024-03-01 03:14:35 +03:00
Levi Vasconcelos
cb46751c9a
reviews: use test_utils.mock_detections
2024-02-26 17:41:10 -03:00
Levi Vasconcelos
5e7463dc73
reviews: removing test for deprecation
2024-02-26 17:41:10 -03:00
Levi Vasconcelos
9b50c92ec0
pre-commit on tests
2024-02-26 17:41:10 -03:00
Levi Vasconcelos
7ebbcd6c8e
add polygon_zone unit tests
2024-02-26 17:41:10 -03:00
SkalskiP
824a9140b6
tests fixed
2024-02-07 09:59:58 +01:00
pre-commit-ci[bot]
aaf3621841
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-02-03 03:10:29 +00:00
Adonai Vera
6a9c013949
Added nms for segmentation algorithm, added unit test, added init, added withnms conditional depends if contains mask
2024-02-02 21:33:15 -05:00
pre-commit-ci[bot]
b1034fe139
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-02-01 23:08:57 +00:00
Adonai Vera
e899b428ca
Fix length of the line
2024-02-01 18:07:24 -05:00
pre-commit-ci[bot]
aba5c0a07b
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-02-01 22:56:02 +00:00
Adonai Vera
788bc317fa
Improvements in thread #818 : documentation, handle unit test, improvements pattern directory
2024-02-01 17:53:15 -05:00
pre-commit-ci[bot]
91260bdfc9
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-01-31 17:11:18 +00:00
Adonai Vera
4ec353f5c2
Apply format
2024-01-31 12:10:56 -05:00
pre-commit-ci[bot]
fd00bd4ba2
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-01-31 16:41:57 +00:00
Adonai Vera
12568336ba
Applied feedback from SkalskiP in PR #818
2024-01-31 11:39:05 -05:00
pre-commit-ci[bot]
6128576ea1
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-01-18 16:06:10 +00:00
SkalskiP
5f04836917
calculate_region_of_interest_limits and is_point_in_limits methods added.
2024-01-18 13:36:47 +01:00
SkalskiP
f4d2f2a900
use CLASS_NAME_DATA_FIELD data constant over 'class_name' string
2024-01-03 07:22:48 +01:00
pre-commit-ci[bot]
d35f1888f9
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-01-02 20:02:04 +00:00
SkalskiP
706ff0fd46
initial update of process_roboflow_result function
2024-01-02 21:00:17 +01:00
pre-commit-ci[bot]
51694819e3
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-01-02 14:05:34 +00:00
SkalskiP
ced9f35b6e
initial Detections.__getitem__ implementation
2024-01-02 15:05:20 +01:00
pre-commit-ci[bot]
e75e527925
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-12-29 17:24:37 +00:00
SkalskiP
5984d3374c
better Detections.merge validation
2023-12-29 18:24:24 +01:00
SkalskiP
099d36011d
better Detections.merge docs + more Detections.merge tests
2023-12-29 16:53:41 +01:00
pre-commit-ci[bot]
ea21a75135
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-12-29 15:37:49 +00:00
SkalskiP
95e2ad6d52
refactor of core.py; moving utils to utils.py
2023-12-29 16:36:54 +01:00
SkalskiP
9be71da888
handle one more edge case in Detections.merge logic
2023-12-29 16:15:36 +01:00
pre-commit-ci[bot]
27eb823809
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-12-29 14:05:21 +00:00
SkalskiP
efed23f64e
Detections.merge updated and tested
2023-12-29 15:05:07 +01:00
SkalskiP
ea6439b8fd
Detections.__eq__ updated and tested
2023-12-28 17:52:25 +01:00
pre-commit-ci[bot]
f2031d53d6
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-12-28 15:03:47 +00:00
SkalskiP
f3f545d893
simplifying Detections.__eq__ method
2023-12-28 15:58:51 +01:00
pre-commit-ci[bot]
a530b2ba5e
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-12-06 11:20:43 +00:00
SkalskiP
7cbf16be8a
Add scale_boxes function to detection utils
...
Added a new function scale_boxes to the detection utilities in order to scale the dimensions of bounding boxes. This function accepts bounding boxes and a scaling factor as input and returns the scaled bounding boxes. It can enlarge or shrink the input bounding boxes based on the value of the passed factor. The function was also documented in the utils.md file and necessary tests were added to assure its correctness.
2023-12-06 12:16:22 +01:00
SkalskiP
7750856c18
Fix method names and improve code formatting
...
Renamed methods to improve clarity. `get_anchor_coordinates` changed to `get_anchors_coordinates` and `calculate_centroids` changed to `calculate_masks_centroids`. Indentation for method arguments was adjusted in `core.py` and other files for better readability. Functionality remains the same, these changes are meant to improve code maintainability and readability.
2023-11-16 15:23:55 +01:00
pre-commit-ci[bot]
72ab46687f
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-16 12:59:16 +00:00