diff --git a/src/main/java/ai/nets/samj/EfficientSamJ.java b/src/main/java/ai/nets/samj/EfficientSamJ.java index 3d7bcee..41ecb70 100644 --- a/src/main/java/ai/nets/samj/EfficientSamJ.java +++ b/src/main/java/ai/nets/samj/EfficientSamJ.java @@ -557,6 +557,11 @@ public List processPoints(List pointsList, List pointsNeg throws IOException, RuntimeException, InterruptedException{ return processPoints(pointsList, pointsNegList, true); } + public List processPoints(List pointsList, List pointsNegList, + boolean returnAll, int[] zoomedAreaCoords) + throws IOException, RuntimeException, InterruptedException{ + return null; + } /** * Method used that runs EfficientSAM using a list of points as the prompt. This method also accepts another @@ -764,7 +769,7 @@ void sendCropAsNp() { code += "])" + System.lineSeparator(); code += "input_h = im.shape[0]" + System.lineSeparator(); code += "input_w = im.shape[1]" + System.lineSeparator(); - code += "np.save('/home/carlos/git/cropped.npy', im)" + System.lineSeparator(); + //code += "np.save('/home/carlos/git/cropped.npy', im)" + System.lineSeparator(); code += "globals()['input_h'] = input_h" + System.lineSeparator(); code += "globals()['input_w'] = input_w" + System.lineSeparator(); code += "im = torch.from_numpy(np.transpose(im.astype('float32'), (2, 0, 1)))" + System.lineSeparator();