chore: remove outdated and personal scripts

This commit is contained in:
tian 2026-07-21 10:25:16 +08:00
parent 17b0ecefc3
commit 137ad71953
4 changed files with 0 additions and 1265 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
@echo off
chcp 65001 >nul
"C:\Users\Tellme\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-8.0.1-full_build\bin\ffmpeg.exe" -re -stream_loop -1 -i C:\Users\Tellme\Pictures\人脸库\reg_008_unk_011_多人_正面_黑色鞋_白色鞋_1.mp4 -c copy -rtsp_transport tcp -f rtsp rtsp://10.0.0.49:8554/cam

View File

@ -1,56 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
usage() {
cat <<'EOF'
Usage: run_on_board.sh --host <ip> --user <name> --build-dir <dir>
Copies build artifacts (pass the install directory for best results) to the RK3588 board and runs sanity commands.
EOF
}
HOST=""
USER="root"
BUILD_DIR="build/rk3588"
while [[ $# -gt 0 ]]; do
case "$1" in
--host)
HOST="$2"; shift 2;;
--user)
USER="$2"; shift 2;;
--build-dir)
BUILD_DIR="$2"; shift 2;;
-h|--help)
usage; exit 0;;
*)
echo "Unknown arg: $1" >&2
usage; exit 1;;
esac
done
if [[ -z "$HOST" ]]; then
echo "--host is required" >&2
exit 1
fi
ARTIFACT_DIR="$BUILD_DIR"
if [[ ! -d "$ARTIFACT_DIR" ]]; then
echo "Build directory $ARTIFACT_DIR not found" >&2
exit 1
fi
REMOTE_DIR="/tmp/safesight_media"
scp -r "$ARTIFACT_DIR" "$USER@$HOST:$REMOTE_DIR"
ssh "$USER@$HOST" <<EOF
set -e
cd $REMOTE_DIR
echo "--- Running media-server --version ---"
./media-server --version || true
echo "--- Running mpp_decode_demo (dry-run) ---"
./mpp_decode_demo || true
echo "--- Running rknn_infer_demo (dry-run) ---"
./rknn_infer_demo || true
EOF