Loading run_object_detection.sh +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
run_object_detection.sh +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading