Loading object_detection/Backend.java→src/main/java/object_detection/Backend.java +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ package object_detection; import static spark.Spark.*; public class Backend { public static void main(String[] args) { get("/hello", (req, res) -> "Hello World"); post("/completion", (req, res) -> true); } } object_detection/ObjectDetectionServer.java→src/main/java/object_detection/ObjectDetectionServer.java +0 −0 File moved. View file object_detection/ObjectDetector.java→src/main/java/object_detection/ObjectDetector.java +7 −3 Original line number Diff line number Diff line package object_detection; import com.jmatio.io.*; import com.jmatio.types.*; import java.io.IOException; public class ObjectDetector { static ObjectSet os; public static void run(){ public static void run() throws IOException { System.out.println("Running object detection"); ObjectDetector.main(null); } public static void main(String[] args){ public static void main(String[] args) throws IOException { /* infinite loop of running system: 1) Get new info from system Loading @@ -20,6 +21,9 @@ public class ObjectDetector { 3) Push new update to database if necessary */ MatFileReader mf = new MatFileReader("./extractedPoints.mat"); System.out.println(mf); // create objectset os = new ObjectSet(); Loading object_detection/ObjectSet.java→src/main/java/object_detection/ObjectSet.java +0 −0 File moved. View file object_detection/Point.java→src/main/java/object_detection/Point.java +0 −0 File moved. View file Loading
object_detection/Backend.java→src/main/java/object_detection/Backend.java +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ package object_detection; import static spark.Spark.*; public class Backend { public static void main(String[] args) { get("/hello", (req, res) -> "Hello World"); post("/completion", (req, res) -> true); } }
object_detection/ObjectDetectionServer.java→src/main/java/object_detection/ObjectDetectionServer.java +0 −0 File moved. View file
object_detection/ObjectDetector.java→src/main/java/object_detection/ObjectDetector.java +7 −3 Original line number Diff line number Diff line package object_detection; import com.jmatio.io.*; import com.jmatio.types.*; import java.io.IOException; public class ObjectDetector { static ObjectSet os; public static void run(){ public static void run() throws IOException { System.out.println("Running object detection"); ObjectDetector.main(null); } public static void main(String[] args){ public static void main(String[] args) throws IOException { /* infinite loop of running system: 1) Get new info from system Loading @@ -20,6 +21,9 @@ public class ObjectDetector { 3) Push new update to database if necessary */ MatFileReader mf = new MatFileReader("./extractedPoints.mat"); System.out.println(mf); // create objectset os = new ObjectSet(); Loading
object_detection/ObjectSet.java→src/main/java/object_detection/ObjectSet.java +0 −0 File moved. View file