-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
alpegon
committed
Apr 1, 2019
1 parent
46552aa
commit 8abb262
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
|
||
echo "SCRIPT: Invoked classify_image.py. File available in $SCAR_INPUT_FILE" | ||
FILE_NAME=`basename $SCAR_INPUT_FILE` | ||
OUTPUT_FILE=$SCAR_OUTPUT_FOLDER/$FILE_NAME | ||
python2 /opt/plant-classification-theano/classify_image.py "$SCAR_INPUT_FILE" -o "$OUTPUT_FILE" | ||
echo "SCRIPT: Invoked classify_image.py. File available in $INPUT_FILE_PATH" | ||
FILE_NAME=`basename $INPUT_FILE_PATH` | ||
OUTPUT_FILE=$TMP_OUTPUT_DIR/$FILE_NAME | ||
python2 /opt/plant-classification-theano/classify_image.py "$INPUT_FILE_PATH" -o "$OUTPUT_FILE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#! /bin/sh | ||
|
||
echo "SCRIPT: Splitting video file $SCAR_INPUT_FILE in images and storing them in $SCAR_OUTPUT_FOLDER. One image taken each second" | ||
ffmpeg -loglevel info -nostats -i $SCAR_INPUT_FILE -q:v 1 -vf fps=1 $SCAR_OUTPUT_FOLDER/out%03d.jpg < /dev/null | ||
echo "SCRIPT: Splitting video file $INPUT_FILE_PATH in images and storing them in $TMP_OUTPUT_DIR. One image taken each second" | ||
ffmpeg -loglevel info -nostats -i $INPUT_FILE_PATH -q:v 1 -vf fps=1 $TMP_OUTPUT_DIR/out%03d.jpg < /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters