Abhinav-hf commited on
Commit
b338f2d
·
verified ·
1 Parent(s): b570e1b

Update Backend/OCR/Dynamic/VideoOCR.py

Browse files
Files changed (1) hide show
  1. Backend/OCR/Dynamic/VideoOCR.py +1 -1
Backend/OCR/Dynamic/VideoOCR.py CHANGED
@@ -277,7 +277,7 @@ def gradio_video_ocr_processing(video_file):
277
 
278
  # Step 1: Frame similarity detection
279
  print("[DEBUG] Detecting non-similar frames.")
280
- non_similar_frames,frame_diff_video_path = frame_similarity_detection(input_video_path)
281
 
282
  # Step 2: OCR processing and saving the results
283
  cap = cv2.VideoCapture(input_video_path)
 
277
 
278
  # Step 1: Frame similarity detection
279
  print("[DEBUG] Detecting non-similar frames.")
280
+ non_similar_frames = frame_similarity_detection(input_video_path)
281
 
282
  # Step 2: OCR processing and saving the results
283
  cap = cv2.VideoCapture(input_video_path)