utilities
ModuleSource
Utilities used for managing the data of the annotation results.
Functions
| Member | |
|---|---|
| get_data_item | Get an annotation item by its unique ID. | 
| get_data_item_with_default | Get an annotation item by its unique ID with a default value provided. | 
| get_data_items | Get one or several annotation items by exactly matching the comment. | 
| get_data_items_by_regex | Get one or several annotation items by matching the comment with a regular expression. | 
| get_all_ids | Get the list of all IDs in the annotation data. The returne IDs are ordered as the order of the items in data. | 
| get_all_comments | Get the set of all comments in the annotation data. The returned comments are unordered. | 
| compare_anno_marks | Compare whether two annotation marks are equivalent or not. | 
| sanitize_data_item | Perform the full sanitization on an annotation item. | 
| sanitize_data | Perform the full sanitization on the annotation data. | 
| sanitize_scale | Perform the sanitization on the annotated image scaling factor. |