Added comments

This commit is contained in:
Jordon Brooks 2023-08-13 17:46:14 +01:00
parent c157549fe4
commit b02503dca8
3 changed files with 47 additions and 24 deletions

View file

@ -52,4 +52,4 @@ def preprocess_frame(frame):
combined_feature = np.stack([edge_feature, histogram_feature_image], axis=-1)
compressed_frame = frame / 255.0 # Assuming the frame is uint8, scale to [0, 1]
return combined_feature, compressed_frame
return compressed_frame