![]() |
Coretex
|
Public Member Functions | |
bool | saveAnnotation (self, CoretexImageAnnotation coretexAnnotation) |
None | saveMetadata (self, Dict[str, Any] metadata) |
![]() | |
Path | path (self) |
Path | zipPath (self) |
Path | downloadPath (self) |
bool | modifiedSinceLastDownload (self) |
None | decrypt (self, bool ignoreCache=False) |
None | download (self, bool decrypt=True, bool ignoreCache=False) |
None | unzip (self, bool ignoreCache=False) |
![]() | |
Path | joinPath (self, Union[Path, str] other) |
![]() | |
np.ndarray | extractSegmentationMask (self, ImageDatasetClasses classes) |
![]() | |
AnnotatedImageSampleData | load (self) |
Dict[str, Any] | loadMetadata (self) |
![]() | |
Path | path (self) |
Path | zipPath (self) |
None | download (self, bool decrypt=True, bool ignoreCache=False) |
Represents the generic image sample\n Contains basic properties and functionality for all image sample classes\n The class has several methods that allow users to access and manipulate image data and annotations, as well as to create new image samples
Definition at line 27 of file image_sample.py.
bool coretex.entities.sample.image_sample.image_sample.ImageSample.saveAnnotation | ( | self, | |
CoretexImageAnnotation | coretexAnnotation | ||
) |
Updates annotation for the image Returns ------- bool -> returns True if successful, False otherwise
Reimplemented from coretex.entities.sample.image_sample.local_image_sample.LocalImageSample.
Definition at line 39 of file image_sample.py.
None coretex.entities.sample.image_sample.image_sample.ImageSample.saveMetadata | ( | self, | |
Dict[str, Any] | metadata | ||
) |
Saves a json object as metadata for the sample Parameters ---------- metadata : dict[str, Any] Json object containing sample metadata
Reimplemented from coretex.entities.sample.image_sample.local_image_sample.LocalImageSample.
Definition at line 65 of file image_sample.py.