Iskaj commited on
Commit
6715214
1 Parent(s): c1aa7a2

add documentation to config.py

Browse files
Files changed (1) hide show
  1. config.py +8 -2
config.py CHANGED
@@ -1,9 +1,15 @@
1
  import tempfile
2
 
 
3
  VIDEO_DIRECTORY = tempfile.gettempdir()
4
- # VIDEO_DIRECTORY = './data/'
5
 
 
 
6
  FPS = 5
 
 
7
  MIN_DISTANCE = 4
8
- MAX_DISTANCE = 50 # Used to be 30
 
 
9
  ROLLING_WINDOW_SIZE = 10
 
1
  import tempfile
2
 
3
+ # Create a temporary directory where all the videos get stored
4
  VIDEO_DIRECTORY = tempfile.gettempdir()
 
5
 
6
+ # Frames per second, only take 5 frames per second to speed up processing.
7
+ # Quite standard for video processing applications.
8
  FPS = 5
9
+
10
+ # Min and maximum distance between hashes when searching the videos for matches.
11
  MIN_DISTANCE = 4
12
+ MAX_DISTANCE = 50
13
+
14
+ # Rolling window size that is used when calculating the mode of the distances between the videos.
15
  ROLLING_WINDOW_SIZE = 10