Update
This commit is contained in:
parent
6a2449c5cd
commit
046b78cb87
3 changed files with 23 additions and 19 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Reference in a new issue