Skip to content

Commit 5673c96

Browse files
committed
Restructure util scripts
1 parent a58eb95 commit 5673c96

File tree

14 files changed

+28
-0
lines changed

14 files changed

+28
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@ opencamera-extended-firebase-adminsdk-yv5yz-e33a8ce5c1.json
3131

3232
*.csv
3333

34+
**/*.png
35+
**/*.zip
36+
**/*.mp4
37+
**/*.tif
38+
3439
*.mp4
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

utils/match.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
# Copyright 2021 Mobile Robotics Lab. at Skoltech
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
set -eo
17+
18+
# Split two videos to frames
19+
./extract.sh "$1" 1
20+
./extract.sh "$2" 2
21+
22+
# Find matching frames
23+
python ./get_match.py
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)