Package util
Class AnnotationData
java.lang.Object
util.AnnotationData
Annotation Data handler responsible for collecting and saving the annotated data
Singleton because we only want one instance of this, at a time.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAnnotation
(String path, double middlePointX, double middlePointY, double boundingBoxWidth, double boundingBoxHeight) boolean
deleteAnnotation
(String path) Function to delete the Annotation of one Imagejavafx.scene.shape.Rectangle
getAnnotation
(String path) getAnnotationEntry
(String path) static AnnotationData
-
Method Details
-
addAnnotation
public void addAnnotation(String path, double middlePointX, double middlePointY, double boundingBoxWidth, double boundingBoxHeight) -
getAnnotation
-
deleteAnnotation
Function to delete the Annotation of one Image- Parameters:
path
- Image path (Key for the Map)- Returns:
-
getInstance
-
getAnnotations
-
getAnnotationEntry
-