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
#!/bin/sh | |
for var in video0_2018-10-18 video0_2018-10-19 video0_2018-10-20 video0_2018-10-21 video0_2018-10-22 | |
do | |
docker run --runtime=nvidia --rm -v /mnt:/data sensevideo /opt/algorithm/build/cli --input /data/src/${var}.mp4 --output /data/dst/${var}.mp4 --log /data/dst/${var}.txt & | |
done |
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
#!/bin/bash | |
EXT=$1 | |
OUTFILENAME=$2 | |
TXTFILE=filelist.txt | |
ls -d ./*.${EXT} | sed 's/^/file /' > $TXTFILE | |
ffmpeg -f concat -safe 0 -i $TXTFILE -c copy ../$2 > /dev/null 2>&1 </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
FROM ubuntu:18.04 | |
USER root | |
ENV INSTALLDIR /opt/intel/openvino | |
ARG DOWNLOAD_LINK=http://registrationcenter-download.intel.com/akdlm/irc_nas/16345/l_openvino_toolkit_p_2020.1.023.tgz | |
WORKDIR / | |
RUN useradd -ms /bin/bash openvino && \ | |
chown openvino -R /home/openvino |
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
name: "MOBILENET" | |
layer { | |
name: "train-data" | |
type: "Data" | |
top: "data" | |
top: "label" | |
transform_param { | |
mirror: true | |
crop_size: 224 | |
} |
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
name: "MOBILENET_V2" | |
layer { | |
name: "train-data" | |
type: "Data" | |
top: "data" | |
top: "label" | |
transform_param { | |
mirror: true | |
crop_size: 224 | |
} |
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
#/bin/bash | |
PROG="VLC_STARTER" | |
IP="" | |
ID="" | |
PASS="" | |
export DISPLAY=:0 | |
if [ "$1" = "" ]; then | |
echo "Usage: $0 [RGB|THERMO] boot" | |
exit 1 | |
fi |
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
#!/usr/bin/env python3 | |
import sys | |
import gi | |
import argparse | |
import pathlib | |
parser = argparse.ArgumentParser(description='Create a RTSP stream from a video file') | |
parser.add_argument('-f', '--file') | |
parser.add_argument('-p', '--port', default='554') |
OlderNewer