When adding a source segmentation including table data using (add_source_to_dataset), the table is required to have bb_min_* and bb_max_* columns, although their presence shouldn't be strictly required.
The column checking happens here:
|
expected_column_names = { |
|
"label_id", |
|
"anchor_x", "anchor_y", |
|
"bb_min_x", "bb_min_y", |
|
"bb_max_x", "bb_max_y", |
|
} |
and in the validation code here:
|
default_columns = [ |
|
"label_id", "anchor_x", "anchor_y", |
|
"bb_min_x", "bb_min_y", "bb_max_x", "bb_max_y" |
|
] |
When adding a source segmentation including table data using (
add_source_to_dataset), the table is required to havebb_min_*andbb_max_*columns, although their presence shouldn't be strictly required.The column checking happens here:
mobie-utils-python/mobie/tables/default_table.py
Lines 17 to 22 in d02ca53
and in the validation code here:
mobie-utils-python/mobie/validation/tables.py
Lines 74 to 77 in 0e2a5fd