public class ReadAnnotationFromFile extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<ImageLabelAnnotation> |
readAssumeExists(Path path,
OperationContext context) |
static Optional<ImageLabelAnnotation> |
readCheckExists(Path path,
OperationContext context) |
public static Optional<ImageLabelAnnotation> readCheckExists(Path path, OperationContext context) throws InputReadFailedException
InputReadFailedException
public static Optional<ImageLabelAnnotation> readAssumeExists(Path path, OperationContext context) throws InputReadFailedException
InputReadFailedException
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.