Browse Source

fix wrong var name.

lyc8503 4 years ago
parent
commit
6247562457
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend_refactor/service/video_analyzer.py

+ 1 - 1
backend_refactor/service/video_analyzer.py

@@ -376,7 +376,7 @@ class StandingLongJumpVideoAnalyzer(BaseVideoAnalyzer):
             if i.endswith(".npy"):
                 data = np.load(frames_dir + i)[0]
                 result_side = analyse_npy_side_jump(data)  # Analyze each frame
-                result[int(i.replace(".jpg.npy", ""))] = result_side  # Get the frame number to store the result
+                result[int(i.replace(".npy", ""))] = result_side  # Get the frame number to store the result
         return ignore_data_jump(result)