Commit 226c52f8 authored by Nafis A Abeer's avatar Nafis A Abeer
Browse files

Update run_object_detection.sh

parent 8a18ff9b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9,8 +9,8 @@ use_yolo_detector() {
    cp $POM_FILE "${POM_FILE}.bak"

    # Replace the main class to use YOLODetector
    # sed -i 's|<exec.mainClass>object_detection.ObjectDetector</exec.mainClass>|<exec.mainClass>yolo.YOLODetector</exec.mainClass>|g' $POM_FILE
    sed -i 's|<exec.mainClass>object_detection.ObjectDetector</exec.mainClass>|<exec.mainClass>object_detection.ObjectDetector</exec.mainClass>|g' $POM_FILE
    sed -i 's|<exec.mainClass>object_detection.ObjectDetector</exec.mainClass>|<exec.mainClass>yolo.YOLODetector</exec.mainClass>|g' $POM_FILE

}

# Function to restore the original POM file