This commit is contained in:
Jordon Brooks 2023-08-17 00:00:19 +01:00
parent 6a2449c5cd
commit 046b78cb87
3 changed files with 23 additions and 19 deletions

View file

@ -10,6 +10,12 @@ from tensorflow.keras import backend as K
from globalVars import HEIGHT, NUM_PRESET_SPEEDS, WIDTH
def scale_crf(crf):
return crf / 51
def scale_speed_preset(speed):
return speed / NUM_PRESET_SPEEDS
def extract_edge_features(frame):
"""