Coretex
|
Public Member Functions | |
AnnotatedImageSampleData | load (self) |
bool | saveAnnotation (self, CoretexImageAnnotation coretexAnnotation) |
Public Member Functions inherited from coretex.coretex.sample.local_sample.LocalSample | |
str | path (self) |
str | zipPath (self) |
bool | download (self, bool ignoreCache=False) |
Public Member Functions inherited from coretex.coretex.sample.sample.Sample | |
None | unzip (self, bool ignoreCache=False) |
Path | joinPath (self, Union[Path, str] other) |
Public Member Functions inherited from coretex.coretex.sample.image_sample.image_sample_data.AnnotatedImageSampleData | |
np.ndarray | extractSegmentationMask (self, ImageDatasetClasses classes) |
Represents the local Image Sample object\n Contains basic properties and functionality for local image Sample classes\n The class has several methods that allow users to access and manipulate local image data and annotations
Definition at line 29 of file local_image_sample.py.
AnnotatedImageSampleData coretex.coretex.sample.image_sample.local_image_sample.LocalImageSample.load | ( | self | ) |
Loads image and its annotation if it exists Returns ------- AnnotatedImageSampleData -> image data and annotation in Coretex.ai format
Reimplemented from coretex.coretex.sample.local_sample.LocalSample.
Definition at line 38 of file local_image_sample.py.
bool coretex.coretex.sample.image_sample.local_image_sample.LocalImageSample.saveAnnotation | ( | self, | |
CoretexImageAnnotation | coretexAnnotation | ||
) |
Updates annotation for the image Returns ------- bool -> returns True if successful, False otherwise
Reimplemented in coretex.coretex.sample.image_sample.image_sample.ImageSample.
Definition at line 49 of file local_image_sample.py.